3

With all the supply talk going on I wanted to verify the active supply on my new node I got. What is the best way to "run the numbers" I am running a raspiblitz node.

1 Answer 1

4

To verify the supply, you have to compute the theoretical maximum issuance based on the block subsidy schedule. Then you can use the gettxoutsetinfo RPC which will output the total amount of Bitcoin in the UTXO set in a field named total_amount. Lastly you check that the amount in the UTXO set is less than or equal to the theoretical maximum issuance.

4
  • Thanks. I am running a raspberry pi 4 and this seems to always time out when I try gettxoutsetinfo. Is there any guidance and what i should try differently? Aug 17, 2020 at 17:03
  • You can remove the bitcoin-cli timeout by using -rpcclienttimeout=0 option.
    – Andrew Chow
    Aug 17, 2020 at 17:57
  • 1
    Thanks having issues with that... trying bitcoin-cli -rpcuser=user -rpcpassword=password -rpcclienttimeout=0 Getting too few params ( need at least command ). Aug 17, 2020 at 19:31
  • 1
    You still need to have gettxoutsetinfo in your bitcoin-cli command. So you would have something like bitcoin-cli -rpcclienttimeout=0 gettxoutsetinfo (rpcuser and rpcpassword usually aren't required, bitcoin-cli reads them from the datadir).
    – Andrew Chow
    Aug 17, 2020 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.