You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge bitcoin#21525: [Bundle 4.5/n] Followup fixups to bundle 4
693414d node/ifaces: ChainImpl: Use an accessor for ChainMan (Carl Dong)
98c4e25 node/ifaces: NodeImpl: Use an accessor for ChainMan (Carl Dong)
7e8b5ee validation: Make BlockManager::LookupBlockIndex const (Carl Dong)
88aead2 node: Avoid potential UB by asserting assumptions (Carl Dong)
1dd8ed7 net_processing: Move comments to declarations (Carl Dong)
07156eb node/coinstats: Replace #include with fwd-declaration (Carl Dong)
7b8e976 miner: Add chainstate member to BlockAssembler (Carl Dong)
e62067e Revert "miner: Pass in chainstate to BlockAssembler::CreateNewBlock" (Carl Dong)
eede064 Revert "scripted-diff: Invoke CreateNewBlock with chainstate" (Carl Dong)
0c1b2bc Revert "miner: Remove old CreateNewBlock w/o chainstate param" (Carl Dong)
Pull request description:
Chronological history of this changeset:
1. Bundle 4 (bitcoin#21270) got merged
2. Posthumous reviews were posted
3. These changes were prepended in bundle 5
4. More reviews were added in bundle 5
5. Someone suggested that we split the prepended changes up to another PR
6. This is that PR
In the future, I will just do posthumous review changes in another PR instead. I apologize for the confusion.
Addresses posthumous reviews on bundle 4:
- From jnewbery:
- bitcoin#21270 (comment)
- I didn't fix this one, but I added a `TODO` comment so that we don't lost track of it
- bitcoin#21270 (comment)
- bitcoin#21270 (comment)
- bitcoin#21270 (comment)
- bitcoin#21270 (comment)
- From MarcoFalke:
- bitcoin#21270 (comment)
- bitcoin#21270 (comment)
- bitcoin#21270 (comment)
- bitcoin#21270 (comment)
Addresses reviews on bundle 5:
- Checking chainman existence before locking cs_main
- MarcoFalke
- bitcoin#21391 (comment)
- bitcoin#21391 (comment)
- Appropriate locking, usage of chainman, and control flow in `src/node/interfaces.cpp`
- MarcoFalke
- bitcoin#21391 (comment)
- jnewbery
- bitcoin#21391 (comment)
- bitcoin#21391 (comment)
- ryanofsky
- bitcoin#21391 (comment)
- Style/comment formatting changes
- jnewbery
- bitcoin#21391 (comment)
- bitcoin#21391 (comment)
- Making LookupBlockIndex const
- jnewbery
- bitcoin#21391 (comment)
ACKs for top commit:
MarcoFalke:
review ACK 693414d 🛐
ryanofsky:
Code review ACK 693414d. I reviewed this previously as part of bitcoin#21391. I am a fan of the increasingly complicated bundle numbering, and kind of hope there in the next round there is some way we can get bundles 5.333333 and 5.666667!
jamesob:
ACK 693414d ([`jamesob/ackr/21525.1.dongcarl.bundle_4_5_n_followup_f`](https://github.com/jamesob/bitcoin/tree/ackr/21525.1.dongcarl.bundle_4_5_n_followup_f))
Tree-SHA512: 9bdc199f70400d01764e1bd03c25bdb6cff26dcef60e4ca3b649baf8d017a2dfc1f058099067962b4b6ccd32d078002b1389d733039f4c337558cb70324c0ee3
0 commit comments