Move CMerkleBlock and CPartialMerkleTree to their own file#5181
Move CMerkleBlock and CPartialMerkleTree to their own file#5181laanwj merged 1 commit intobitcoin:masterfrom
Conversation
src/merkleblock.cpp
Outdated
There was a problem hiding this comment.
Can we move out of main instead of duplicating it? Other files need this too and could drop their dependency on main.h (bitcoin-tx.cpp for ex).
There was a problem hiding this comment.
Oops, that was a test, didnt mean to leave that duplication in there...anyway, yea, it should be moved out.
|
Verified move-only other than the necessary header changes and the MAX_BLOCK_SIZE change I nagged about. |
src/merkleblock.h
Outdated
There was a problem hiding this comment.
Can you keep the header include and ordering policy please.
|
I moved MAX_BLOCK_SIZE to core/block.h, though in a separate commit, merger can chose to include that or not based on random coin flip (as long as its fair based on bitcoin block hashes). |
|
utACK, and verified e057989f92af63ef336f6620ebe77ea8c9255f9a move-only. |
b0e2c63 to
c3fa863
Compare
|
Rebased, squashed. |
c3fa863 to
afd4b94
Compare
afd4b94 Move CMerkleBlock and CPartialMerkleTree to their own file (Matt Corallo)
Code move only.