Bitcoin Forum
May 26, 2024, 03:29:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: listunspent gives empty set [ ]  (Read 189 times)
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
December 05, 2019, 03:14:59 AM
 #1

*Testnet BTC Core Wallet*

getbalance says I have over 0.01 tBTC, but listunspent gives me the empty set: [ ].

What's going on?

nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5635


Self-proclaimed Genius


View Profile
December 05, 2019, 04:12:46 AM
 #2

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".

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NeuroticFish
Legendary
*
Offline Offline

Activity: 3682
Merit: 6406


Looking for campaign manager? Contact icopress!


View Profile
December 05, 2019, 08:45:37 AM
Merited by hugeblack (1), tbct_mt2 (1)
 #3

This difference can happen even if it's fully synced, but there are still 0 confirmations for the funds. For reference:

By default listunspent uses 1 confirmation and getbalance uses 0 confirmations.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
McMurdo (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 3


View Profile
December 08, 2019, 01:23:42 AM
 #4

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.



OcTradism
Hero Member
*****
Offline Offline

Activity: 1750
Merit: 806



View Profile WWW
December 11, 2019, 02:52:11 AM
 #5

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.
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.
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.

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!