LearnBitcoin

Bitcoin Dev Archive 2015

LockUnspent not working, bug?

2 messages, 30 Jul 2015. Started by Ian Treibick.

Ian Treibick, Micha Bailey

Permalink Original thread on gnusha.org

Ian Treibick permalink original

My first post to the list, not sure this is the right place, let me know if it is better to open an issue on GitHub.

This is occurring on OS X with Satoshi 0.11.0, the TXID and vout belong to the wallet:

command: lockunspent true "[ { \"txid\": \"fd697746c67f68a206bb7377fd40f35d146cc5821883e4c4b6cbf82b48e62a13\", \"vout\": 1 } ]" output: true command: listlockunspent Output: [ ]

Additionally after locking the TX with lockunspent I am able to spend it from the wallet.

Cheers,

Ian

Micha Bailey in reply to Ian Treibick permalink original

RTFM: `help lockunspent`. The boolean parameter is whether or not the UTXO should be available.

On Thu, Jul 30, 2015 at 11:43 PM, Ian Treibick via bitcoin-dev < bitcoin-dev@lists•linuxfoundation•org> wrote:

Quoted text (28 lines)
> My first post to the list, not sure this is the right place, let me know
> if it is better to open an issue on GitHub.
>
> This is occurring on OS X with Satoshi 0.11.0, the TXID and vout belong to
> the wallet:
>
> command: lockunspent true "[ { \"txid\":
> \"fd697746c67f68a206bb7377fd40f35d146cc5821883e4c4b6cbf82b48e62a13\",
> \"vout\": 1 } ]"
> output: true
> command: listlockunspent
> Output:
> [
> ]
>
> Additionally after locking the TX with lockunspent I am able to spend it
> from the wallet.
>
> Cheers,
>
> Ian
>
> _______________________________________________
> bitcoin-dev mailing list
> bitcoin-dev@lists•linuxfoundation•org
> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
>
>