Title: listunspent gives empty set [ ] Post by: McMurdo on December 05, 2019, 03:14:59 AM *Testnet BTC Core Wallet*
getbalance says I have over 0.01 tBTC, but listunspent gives me the empty set: [ ]. What's going on? Title: Re: listunspent gives empty set [ ] Post by: nc50lc on December 05, 2019, 04:12:46 AM Is it in the latest version?
Is the node fully synced? For now; Try the GUI, view your unspent outputs from coin control feature: Settings->Options->Wallet tab, tick "enable coin control features"; Go back to the main window, in the "Send" tab, click "inputs". Title: Re: listunspent gives empty set [ ] Post by: NeuroticFish on December 05, 2019, 08:45:37 AM This difference can happen even if it's fully synced, but there are still 0 confirmations for the funds. For reference:
Quote from: https://github.com/bitcoin/bitcoin/issues/15290 By default listunspent uses 1 confirmation and getbalance uses 0 confirmations. Title: Re: listunspent gives empty set [ ] Post by: McMurdo on December 08, 2019, 01:23:42 AM Is it in the latest version? Is the node fully synced? For now; Try the GUI, view your unspent outputs from coin control feature: Settings->Options->Wallet tab, tick "enable coin control features"; Go back to the main window, in the "Send" tab, click "inputs". Node is latest version, fully synced, pruned. It just get's weirder: in bitcoin-qt -testnet it shows available balance of 0.01 tBTC, but in Send > Inputs, there is nothing, quantity = 0, amount = 0. Title: Re: listunspent gives empty set [ ] Post by: OcTradism on December 11, 2019, 02:52:11 AM Node is latest version, fully synced, pruned. Do you try it with the mainnet, not testnet? Balance on test net has no real-world value so I think it is likely a possible reason.It just get's weirder: in bitcoin-qt -testnet it shows available balance of 0.01 tBTC, but in Send > Inputs, there is nothing, quantity = 0, amount = 0. Quote from: bitcoin.org https://bitcoin.org/en/glossary/testnet Definition A global testing environment in which developers can obtain and spend satoshis that have no real-world value on a network that is very similar to the Bitcoin mainnet. |