refactor: Do not pass chain params to CheckForStaleTipAndEvictPeers twice #19914

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2009-netNo2ChainParams changing 3 files +15 −17
  1. MarcoFalke commented at 5:56 AM on September 8, 2020: member

    PeerManager already keeps a reference to the chain params as a member variable. No need to pass it in once again as a function parameter.

  2. Do not pass chain params to CheckForStaleTipAndEvictPeers twice fa7e407b50
  3. DrahtBot added the label P2P on Sep 8, 2020
  4. DrahtBot added the label Refactoring on Sep 8, 2020
  5. naumenkogs commented at 6:52 AM on September 8, 2020: member

    utACK fa7e407b504bc60c77341f02636ed9d6a4b53d79

  6. promag commented at 7:07 AM on September 8, 2020: member

    Code review fa7e407b504bc60c77341f02636ed9d6a4b53d79.

  7. jnewbery commented at 7:56 AM on September 8, 2020: member

    code review ACK fa7e407b504bc60c77341f02636ed9d6a4b53d79

  8. epson121 commented at 1:33 PM on September 8, 2020: none

    Code review ACK fa7e407b504bc60c77341f02636ed9d6a4b53d79

  9. MarcoFalke merged this on Sep 8, 2020
  10. MarcoFalke closed this on Sep 8, 2020

  11. MarcoFalke deleted the branch on Sep 8, 2020
  12. Fabcien referenced this in commit 5bc1e2c854 on Sep 28, 2021
  13. DrahtBot locked this on Feb 15, 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-17 06:14 UTC

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