Why outputs' spendable and solvable are false?

1

1

I noticed a transaction whose spendable and solvable are both false, what does this mean and why?

 {
    "txid": "c940241a0ef626e865e2004bc120536fb7868d510115e923c76d5e658a97f6d5",
    "vout": 0,
    "address": "mnbFFLXUqTPBweLm6w1GA2ZAJQbrTndEGC",
    "account": "",
    "scriptPubKey": "76a9144d98b2350032c849ac6e6e7ad0eb88e00fd7fbff88ac",
    "amount": 1.10000000,
    "confirmations": 132,
    "spendable": false,
    "solvable": false
},

Is this means this utxo is invalid somehow so cannot spend it?

Also, this is on testnet.

fluter

Posted 2017-11-22T03:28:03.330

Reputation: 197

Could you tell us how you produced this output? That doesn't look like a transaction to me, but rather like a transaction output with some added data.Murch 2017-11-22T03:36:11.080

sorry my bad word, i meant utxo, not entire transaction. I used bitcoin-cli.exe -conf="${pwd}\bitcoin-testnet.conf" -testnet listunspent to list outputs in my local testnet node.fluter 2017-11-22T03:52:11.857

i do not see anything strange with it. you can spend it with a private key of mnbFF...amaclin 2017-11-22T04:30:44.750

Answers

4

The listunspent rpc call returns all unspent transaction outputs (UTXOs) tracked by this wallet. This includes the UTXOs that can be spent by this wallet, but also UTXOs that belong to watch-only addresses tracked by this wallet.

When spendable is false, this wallet does not have the private key to spend the UTXO. This is e.g. the case for watch-only addresses.

When solvable is false, the wallet does not know how to spend the UTXO, regardless of whether it has the corresponding private keys.

Murch

Posted 2017-11-22T03:28:03.330

Reputation: 41 609

Spendable being false is implied by solvable being false. So perhaps he does have the private key, but not the necessary redeemscript?Pieter Wuille 2017-11-25T23:53:48.893

Is there possible the case that spendable is true and solvable is false? Just out of curiosity.fluter 2017-11-26T01:30:08.073