Fix calculation of number of bound sockets to use #9253

pull TheBlueMatt wants to merge 1 commits into bitcoin:master from TheBlueMatt:2016-11-nbind changing 1 files +3 −1
  1. TheBlueMatt commented at 2:56 AM on December 1, 2016: contributor

    Pulled this out of #9243 because it is a logically separate change.

  2. Fix calculation of number of bound sockets to use 9e1f46821d
  3. TheBlueMatt cross-referenced this on Dec 1, 2016 from issue Clean up mapArgs and mapMultiArgs Usage by TheBlueMatt
  4. fanquake added the label Bug on Dec 1, 2016
  5. fanquake added the label Needs backport on Dec 1, 2016
  6. sipa commented at 6:36 AM on December 1, 2016: member

    utACK 9e1f46821d5bb69e2cbf25738eefa7c6cb99c838

  7. paveljanik commented at 7:18 AM on December 1, 2016: contributor

    What is returned by mapMultiArgs.at("-bind").size() if !mapMultiArgs.count("-bind")? Do we need the condition at all? Edit: answering to myself: std::out_of_range exception is thrown.

  8. sipa commented at 7:21 AM on December 1, 2016: member

    @paveljanik It would raise an exception. Using [] instead would result in adding "-bind" as a key to the map.

  9. paveljanik commented at 7:24 AM on December 1, 2016: contributor

    ACK 9e1f468

  10. jonasschnelli commented at 7:44 AM on December 1, 2016: contributor

    utACK 9e1f46821d5bb69e2cbf25738eefa7c6cb99c838

  11. gmaxwell commented at 10:52 AM on December 1, 2016: contributor

    utACK

  12. instagibbs commented at 4:56 PM on December 1, 2016: member

    utACK 9e1f46821d5bb69e2cbf25738eefa7c6cb99c838

  13. morcos commented at 8:59 PM on December 1, 2016: member

    utACK @laanwj ready for merge

  14. sipa merged this on Dec 1, 2016
  15. sipa closed this on Dec 1, 2016

  16. sipa referenced this in commit c1a5227684 on Dec 1, 2016
  17. luke-jr referenced this in commit 28d0f224fd on Dec 2, 2016
  18. laanwj added the label P2P on Dec 19, 2016
  19. laanwj removed the label Needs backport on Sep 5, 2017
  20. codablock referenced this in commit 0fe5659211 on Jan 16, 2018
  21. codablock referenced this in commit ae526a19fc on Jan 16, 2018
  22. codablock referenced this in commit 180e379e2d on Jan 17, 2018
  23. lateminer referenced this in commit 39e1d793ce on Oct 24, 2018
  24. andvgal referenced this in commit e555586024 on Jan 6, 2019
  25. CryptoCentric referenced this in commit 9a095848bf on Feb 25, 2019
  26. bitcoin locked this on Sep 8, 2021

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-05-20 06:55 UTC