i think so. the power function is a bit complicated
Login to reply
Replies (2)
blockchains require determinism and that means writing custom functions to do the math on them usually. you can't use floating point numbers because they have inconsistent outputs (1 bit different is a fork)
so what would that logic look like with a power law?
it turns out my dad was actually interested in bitcoin and wanted to know what the logic for the halving was the other day. i just plugged it into AI and found the following function.
the last line is the "bitwise right shift"--
nSubsidy >>= halvings;
new CS/math term for me. Perhaps also the source of the Bitwise ETF branding?
------------
int64_t GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
{
int halvings = nHeight / consensusParams.nSubsidyHalvingInterval;
// Initial subsidy is 50 BTC (in satoshis: 50 * 100,000,000)
int64_t nSubsidy = 50 * COIN;
// Right-shift subsidy by number of halvings
nSubsidy >>= halvings;
return nSubsidy;
}
----------------
in a universe that had a power law subsidy shift, maybe bitcoin could have attracted CD-ladder investors instead of gamblers and men and women of loose morals and questionable habits.
kinda like jesus going back in time and spending more time among the religious elite Sanhedrin and less among the fishermen and gadabouts.