Hello nostr:npub1lhl049hety0hlyx0ffkrzccgyefj58cdr9dqtjd7cczf2dekhrus9knzjs! How do you get the number of sats left to mine? I get a different number.

$ bitcoin-cli gettxoutsetinfo muhash 864551

{

"height": 864551,

"bestblock": "0000000000000000000016f7033bf77aeb8c97da12a809e89beb17d204091af9",

"txouts": 185160056,

"bogosize": 14327789970,

"muhash": "1b1f688e38ce4e3163d48505eb6000d2c509a8cb7cb5b4a208c526280791340a",

"total_amount": 19764005.48978667,

"total_unspendable_amount": 219.51021333,

"block_info": {

"prevout_spent": 2413.29280321,

"coinbase": 3.16793672,

"new_outputs_ex_coinbase": 2413.24986649,

"unspendable": 0.00000000,

"unspendables": {

"genesis_block": 0.00000000,

"bip30": 0.00000000,

"scripts": 0.00000000,

"unclaimed_rewards": 0.00000000

}

}

}

So let's say the total_amount is t and in sats (i.e. without the decimal point). The total that will ever be mined is f = 2099999997690000 - do we agree on this? Now when I subtract t from f…

nostr:note12ek5j4rq55cvh2ajdpxxcmpeqtxptjzjztda8r2mjnedu293v9tssn0mkk

Reply to this note

Please Login to reply.

Discussion

No replies yet.