reddcoin-project / reddcoin-3.10

Reddcoin: the digital social currency
http://www.reddcoin.com
MIT License
287 stars 114 forks source link

Check splitup between header and block #72

Open MathyV opened 9 years ago

MathyV commented 9 years ago

Can not merge out of the box:

f457347053029d6a0248036a1ffeb7127108fd6d 942b33a19d3aa96326acc044c1834c48beff777c

MathyV commented 9 years ago

834e46e847188df513b8b57ab30fe9940f2b2dd0

MathyV commented 9 years ago

d754f34e8d470d5d89e2bc31ff1ab60ae5889266

MathyV commented 9 years ago

7a9e0b6460037b72376af293dc87acafe4fca831 18e72167ddfeaea95253b62994c6d64b55b35005

MathyV commented 9 years ago

Merged: f457347053029d6a0248036a1ffeb7127108fd6d

Stuck with 942b33a because CBlockIndex contains information from transactions, which we might be able to remove but is quite some more work. First the initializer with CBlock needs to be changed to an initializer with CBlockHeader.

CBlockIndex writes out duplicate information to the disk (prevoutStake and nStakeTime), they should be replaced by function calls. This will likely invalidate existing disk images so an upgrade path needs to be foreseen.

MathyV commented 9 years ago

43005cffa394afde08a80b28ac52f7821c96d841 a0dbe433bdb3f22be639fbb675c371277fba6d80

MathyV commented 9 years ago

145d5be896db4e8fda17039bed26100e38fae2f0 8a41e1edd4d31d08b7360d7e5964c1c40a7aa1b6

MathyV commented 9 years ago

e8b5f0d549b1b76611c7374bed9ceec7d09fa847