Only include undo.h from main.cpp #5111
pull jtimon wants to merge 5 commits into bitcoin:master from jtimon:core2 changing 7 files +104 −110-
jtimon commented at 6:30 am on October 21, 2014: contributorBuilt on top of #5100. coins.o doesn’t need to depend on undo.h (Decouple CCoins from CTxInUndo) miner.o neither (Decouple miner.o from CTxUndo) Finally, CBlockUndo can be moved from main.h to undo.h if it is first decoupled from CDiskBlockPos.
-
jtimon force-pushed on Oct 21, 2014
-
laanwj added the label Improvement on Oct 22, 2014
-
jtimon force-pushed on Oct 23, 2014
-
jtimon force-pushed on Oct 27, 2014
-
jtimon renamed this:
Decouple CCoins from CTxInUndo
Only include undo.h from main.cpp
on Oct 27, 2014 -
jtimon force-pushed on Oct 28, 2014
-
jtimon commented at 1:33 pm on October 28, 2014: contributorRebased to make it more readable.
-
sipa commented at 3:40 pm on October 29, 2014: memberutACK!
-
jtimon force-pushed on Oct 30, 2014
-
jtimon commented at 12:11 pm on October 30, 2014: contributorNits addressed.
-
sipa commented at 1:35 pm on November 4, 2014: memberNeeds rebase.
-
jtimon force-pushed on Nov 5, 2014
-
jtimon commented at 10:42 am on November 5, 2014: contributorRebased and squashed the commits solving the nits.
-
sipa commented at 2:08 pm on November 18, 2014: memberutACK still
-
jtimon force-pushed on Nov 21, 2014
-
jtimon commented at 2:47 pm on November 21, 2014: contributorNeeded rebase for the doxygen comments.
-
jtimon force-pushed on Dec 2, 2014
-
in src/main.cpp: in 3e5c96b106 outdated
1508+ CHashWriter hasher(SER_GETHASH, PROTOCOL_VERSION); 1509+ hasher << hashBlock; 1510+ hasher << blockundo; 1511+ fileout << hasher.GetHash(); 1512+ 1513+ // Flush stdio buffers and commit to disk before returning
sipa commented at 11:11 pm on December 2, 2014:This part was removed in head.jtimon force-pushed on Dec 2, 2014jtimon commented at 11:40 pm on December 2, 2014: contributorSorry, mistake rebasing…jtimon force-pushed on Dec 9, 2014jtimon commented at 3:29 pm on December 9, 2014: contributorRebasedjtimon force-pushed on Dec 9, 2014Decouple CCoins from CTxInUndo c444c620c6Decouple miner.o and txmempool.o from CTxUndo d7621ccf9dDecouple CBlockUndo from CDiskBlockPos e035c6a737MOVEONLY: CBlockUndo from main.h to undo.h 937ba572d0Move UndoWriteToDisk() and UndoReadFromDisk() to anon namespace 87fb31086djtimon force-pushed on Dec 27, 2014jtimon commented at 3:03 pm on December 27, 2014: contributorRebased again. Like miner.cpp, txmempool.cpp was now also unnecessarily coupled with CTxUndo.jgarzik commented at 11:49 am on December 31, 2014: contributorACKjgarzik merged this on Dec 31, 2014jgarzik closed this on Dec 31, 2014
jgarzik referenced this in commit aa5c0d34b7 on Dec 31, 2014furszy referenced this in commit 128978d45b on Jul 16, 2020MarcoFalke locked this on Sep 8, 2021Labels
Refactoring
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 15:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 15:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me