refactor: address ProcessNewBlock comments from #21713 #22106

pull fanquake wants to merge 2 commits into bitcoin:master from fanquake:fixup_21713 changing 3 files +24 −24
  1. fanquake commented at 6:40 AM on May 31, 2021: member

    Addresses some post-merge comments from #21713. Also makes ChainstateManager::ProcessNewBlock take a const reference argument, as it was asked why it was not the case in that PR.

  2. validation: change ProcessNewBlock() to take a CBlock reference
    Update ProcessNewBlock arguments to newer style.
    610151f5b0
  3. net: cleanup newly added PeerManagerImpl::ProcessNewBlock
    Addresses some post-merge comments.
    e12f287498
  4. fanquake added the label Refactoring on May 31, 2021
  5. DrahtBot commented at 6:22 PM on May 31, 2021: member

    <!--e57a25ab6845829454e8d69fc972939a-->

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    <!--174a7506f384e20aa4161008e828411d-->

    Conflicts

    Reviewers, this pull request conflicts with the following ones:

    • #21789 (refactor: Remove ::Params() global from CChainState by MarcoFalke)
    • #15545 ([doc] explain why CheckBlock() is called before AcceptBlock by Sjors)

    If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

  6. MarcoFalke renamed this:
    refactor: address comments from #21713
    refactor: address ProcessNewBlock comments from #21713
    on May 31, 2021
  7. jnewbery commented at 10:16 AM on June 1, 2021: member

    Code review ACK e12f287498e5836bb5e32de5abaef02f3d20d868

  8. MarcoFalke commented at 12:50 PM on June 1, 2021: member

    review ACK e12f287498e5836bb5e32de5abaef02f3d20d868 🚚

    <details><summary>Show signature and timestamp</summary>

    Signature:

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA512
    
    review ACK e12f287498e5836bb5e32de5abaef02f3d20d868 🚚
    -----BEGIN PGP SIGNATURE-----
    
    iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
    pUjbbwv/f3gtjvOiXRfl3oaQojPLkHsCq3B+TADbd81DytodoOZ3xSqtVEHfnZUq
    30VaUo12RofbBraJOip1s6+QEy4Gz9spswoOkLJyYS6KWeYO3BmfeLoqbb0lvTNW
    yAM0eSMZkscT0wffnuHXK78nnyBYkoz4diqXDCbWbJW9AMxjqPXyyLTMYLhjSvmK
    dS7xeY4Bn3c4w4IBAjfWhJtwdFyT6n6AWJ+qdb9lcfYtJCld4vArQOCuJnkLSSFF
    JvJ2S1f9yn8Gv8mrVj5dym5D8HMFDpy9CF5zOGghNnr7NCaHtDgRzmwLHl55Fgmo
    pe3v8dbXJS6TrUBAEx+56NBie/4bcpicXUnUNzmHXACkqnEVFZaxqKsqlvkBwtlA
    FmIRizu0cRp1+VbxV7ayVroLW2lYyFoM3GTcxR1RjQ9ROc92X2SULoygZ8Wer93I
    M/hZz3CfvqA0gpdjYYXEkUTA+f/ObDcgvNfJthWmPLETJr+SP/rK43kZL1XUWkyJ
    BWiVctLp
    =3Gsc
    -----END PGP SIGNATURE-----
    

    Timestamp of file with hash 255a7c247e72e0962c5ba151d9d3856b681f7a9a57afa1d6891c1fc23ddacbef -

    </details>

  9. fanquake merged this on Jun 2, 2021
  10. fanquake closed this on Jun 2, 2021

  11. fanquake deleted the branch on Jun 2, 2021
  12. sidhujag referenced this in commit 7b8dd30fd9 on Jun 3, 2021
  13. gwillen referenced this in commit 69d1898e00 on Jun 1, 2022
  14. DrahtBot locked this on Aug 16, 2022

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: 2026-04-22 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me