Test case for gettxoutsetinfo:
I thought I would go ahead and test this one since it is not only complicated but a niche so don't worry about testing this - this is being tested against PROD, and additionally the whole spirit of testing this is to share the output so everyone understands the goal and the individual metric values:
11:42:38

gettxoutsetinfo
11:42:39

{
"height": 250328,
"bestblock": "f8e3a36b5c2de06a10a9265eec0a72740181e41e16392eecca15003c3a514242",
"transactions": 144649,
"txouts": 259170,
"hash_serialized_2": "9036c608936bb0c2058c0b77572912b9abeb18c6f1a56c78a2590b0f986ba910",
"disk_size": 16386437,
"total_burned": 427732727.97300991,
"total_dac": 154.00000000,
"total_amount": 2531215507.95220432,
"total_circulating_money_supply": 2531215507.95220432,
"percent_emitted": 0.4867722128865385,
"emission_target_dec_2021": 2847218800,
"avg_emissions_per_day": 1881944,
"estimated_emissions_as_of_dec_2021": 2963787359.206602,
"budgetary_health_pct_dec_2021": 1.040941201711158,
"future_whale_stake_liabilities": 129578868.206602,
"total_supply_plus_liabilities": 2660794375.206602
}
Background: Over the last two years we somehow emitted a little bit of a high emission (we are overbudget by 150MM) and its hard to pin it on one specific thing, probably just simply our GSC emissions to PODC were slightly too high overall. Anyway being very cognizant of balancing the budget, this tool gives us the means to take in the reigns and make our budget match the emission target by Dec 2021.
Our target emissions, see the line "emission_target_dec_2021" 2,847,218,800 : That line matches our emission schedule in our wiki document ( // Emission target, Dec 2021:
https://wiki.biblepay.org/Emission_Schedule_2020), so that is what Im referring to.
First, the plain vanilla money supply figure, see "total_amount": 2531215507.95220432, that figure shows how many coins are circulating from BBP, but, it already deducts BURNED coins, because those are not circulating. Those coins were burned through DWS (whale staking).
So the most important new row of data that we added and need is what is the actual circulating plus future whale stake liabilities?
"total_supply_plus_liabilities": 2660794375.206602. This row shows that although we burned " "total_burned": 427732727.97300991," in whale stakes, we actually paid 297MM in whale stakes out already (known because out of burned 427MM, and future_whale_stake_liablities: 129.57MM, therefore Burned minus future equals paid).
This means that we have an actual circulating money supply of 266.07MM right now. Now we move on to synthesizing the future estimated emission, moving ahead in days (10 months into the future) at 1,881,944 emission per day, trying to see what we theoretically will have emitted on our target date of Dec-2021: "estimated_emissions_as_of_dec_2021": 2963787359.206602,. This means that if things go as they are currently going, we will be overbudget by 120MM as of Dec 2020. However remember that APM is currently "on", so things are not nearly as bad as they appear because our emissions are actually 90% less per day with APM on, so we are moving on a fast track to a square balanced budget.
The point is this gives us an excellent tool to check the hearbeat to make sure progress is being made. I believe if we watch this closely, we will see the 120MM gap drop by about 900K per day until we have a balanced budget. We should see the "budgetary_health_pct", which is a pct showing how far overbudget we estimate we are (we are 4.09% overbudget in the future). We want to see this reach 1.0% at Christmas this year.
Is this all clear or did I overcomplicate this?