dtr-org / unit-e

A digital currency for a new era of decentralized trust
https://unit-e.io
MIT License
45 stars 15 forks source link

Extract header size as a local constant #807

Closed scravy closed 5 years ago

scravy commented 5 years ago

Extracting this constant makes it easier to change the size of the header in the future (for example when we remove the nonce field once we got rid of PoW, or in case of us adding the commits merkle hash, or removing segwit merkle tree again, should that ever be necessary).

Signed-off-by: Julian Fleischer julian@thirdhash.com

scravy commented 5 years ago

@kostyantyn @Gnappuraz up for grabs

Gnappuraz commented 5 years ago

Taking this cause is an easy one.

Gnappuraz commented 5 years ago

Had to force push because Mergeable and DCO got stuck.