Post
Topic
Board Development & Technical Discussion
Re: Cold signing a transaction using bitcoin-qt
by
oshirowanen
on 14/06/2014, 19:08:26 UTC
Say I want to spend some testnet coins associated with n4EmA9R4VmxLnxu9G8yZMDxvBBha8bUtEQ. I need to know which outputs can be spent and to get a list of unspent outputs with at least 1 and at most 9999999 confirmations:

Code:
./bitcoind listunspent 1 9999999 '["n4EmA9R4VmxLnxu9G8yZMDxvBBha8bUtEQ"']

[{
  "txid": "77d35b87d1ad549011b66dbb06ec7b6d84b06325ee9c18cf6f3467e9b7a7bda2",
  "vout": 0,
  "address": "n4EmA9R4VmxLnxu9G8yZMDxvBBha8bUtEQ",
  "account": "",
  "scriptPubKey": "76a914f93af105187d21ed6adfa5d71bfada7d7324e53c88ac",
  "amount": 1.90978096,
  "confirmations": 233
}]

I want to send testnet bitcoin from mvNAGP5nNef6MHfB6Tcu426MJboBqrwJZV which has 0.57 TBTC http://tbtc.blockr.io/address/info/mvNAGP5nNef6MHfB6Tcu426MJboBqrwJZV.  This is a public key for cold storage wallet.

So if I run listunspent, all I get is:

Code:
listunspent 1 9999999 '["mvNAGP5nNef6MHfB6Tcu426MJboBqrwJZV"']
[
]

Why is that?

I get the same result from both hot and cold wallets via bitcoin core.