bitcoin-cli listunspent returns empty JSON #15290

issue fscemama opened this issue on January 30, 2019
  1. fscemama commented at 10:26 AM on January 30, 2019: none

    Hi, Using Bitcoin Core RPC client version v0.17.0.1-g1476554d3b1db5352c0de1de7524864d4bce3aac bitcoin-cli listunspent returns no transaction.

    root# bitcoin-cli -rpcwallet="" listunspent [ ] root# bitcoin-cli -rpcwallet="" getbalance 5.05538705

    Sometimes it works, sometimes not. Any help would be appreciated. Regards,

  2. promag commented at 12:29 PM on January 30, 2019: member

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

  3. fscemama commented at 12:39 PM on January 30, 2019: none

    That's right. Agreed, this can't be seen as a bug.

    I don't want to waste your time, but how can a raw transaction be sent with no unspents ? sendtoaddress works even with no listed unspent.

    Thanks in advance.


    Fabrice SCEMAMA EFFITEK SSII - http://www.effitek.fr Tour Onyx, 10 rue Vandrezanne, 75013 Paris fscemama@effitek.fr mailto:fscemama@effitek.fr - Tel. : 06 65 50 29 92

    Le 30/01/2019 à 13:30, João Barbosa a écrit :

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

    — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitcoin/bitcoin/issues/15290#issuecomment-458926561, or mute the thread https://github.com/notifications/unsubscribe-auth/As_ZIghdzQ1YXKr1VPEmV3KTc5-20YPcks5vIZBlgaJpZM4aZ5TH.

  4. fscemama closed this on Jan 30, 2019

  5. fscemama commented at 12:59 PM on January 30, 2019: none

    Sorry for opening !

  6. promag commented at 1:28 PM on January 30, 2019: member

    Because sendtoaddress uses 0 confirmations.

  7. DrahtBot locked this on Dec 16, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me