BTCPrivate / BitcoinPrivate-legacy

Bitcoin Private is a Bitcoin and Zclassic fork which uses ZK-SNARK technology for privacy and fungibility.
Other
285 stars 132 forks source link

Block reward changes #203

Open mattpass opened 5 years ago

mattpass commented 5 years ago

Tweaks need to be made to the block rewards and we're informed it's within the GetBlockSubsidy function, which should be here:

https://github.com/BTCPrivate/BitcoinPrivate/blob/6c8ed84c5185fa522b57e08d1494bab2020da39a/src/main.cpp#L1419-L1454

mattpass commented 5 years ago

Notes courtesy of Littlefoot also:

Halving interval i think is in https://github.com/BTCPrivate/BitcoinPrivate/blob/master/src/chainparams.cpp#L311 and so is the diff bomb

Looks like this would have to be changed before any merge too https://github.com/michaelotis/BitcoinPrivate/commit/1f0262b717f57a892daae9adb7b7224753c16d53

mattpass commented 5 years ago

I have been advised and so noting it here that we should perform lengthy calculations on the block reward change to be sure it’s properly set up to coincide with lifetime supply.

bigdaveakers commented 5 years ago

What are the "tweaks" that are required? What are the block rewards being changed to?

bigdaveakers commented 5 years ago

I now wish I had never asked!!!!