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.
Asked
Active
Viewed 639 times
1 Answers
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.
Ava Chow
- 70,382
- 5
- 81
- 161
bitcoin-clitimeout by using-rpcclienttimeout=0option. – Ava Chow Aug 17 '20 at 17:57Getting too few params ( need at least command ).
– Trying_hard Aug 17 '20 at 19:31gettxoutsetinfoin yourbitcoin-clicommand. So you would have something likebitcoin-cli -rpcclienttimeout=0 gettxoutsetinfo(rpcuser and rpcpassword usually aren't required,bitcoin-clireads them from the datadir). – Ava Chow Aug 17 '20 at 22:03