Whenever a block is received, log the sender's IP and the current time #966

pull luke-jr wants to merge 1 commits into bitcoin:master from luke-jr:log_block_sender_and_time changing 1 files +2 −2
  1. luke-jr commented at 12:27 AM on March 21, 2012: member

    No description provided.

  2. Whenever a block is received, log the sender's IP and the current time 41cb872bbc
  3. gmaxwell commented at 12:32 AM on March 21, 2012: contributor

    Nak. :(

    Logging IPs of identifying things by default would make it profitable to go around breaking into nodes in order to backtrace announcements.

    However, I'd ack a non-default option to log IPs for blocks (and other things too) though.

  4. TheBlueMatt commented at 12:32 AM on March 21, 2012: member

    NACK - this makes it valuable to collect debug.log from user's systems to trace transactions/blocks back to IP Addresses, which should not be trivial.

  5. gavinandresen commented at 1:25 AM on March 21, 2012: contributor

    NACK.

    RE: making it optional: maybe -blocknotify could optionally pass the IP into the notification method.

  6. jgarzik commented at 1:26 PM on March 21, 2012: contributor

    Plenty of NAK's, including mine

  7. jgarzik closed this on Mar 21, 2012

  8. luke-jr commented at 1:36 PM on March 21, 2012: member

    Since it seems people are getting the wrong impression from this pullreq...

    It was proposed by a pool member who noticed the mystery jerk miner (making transactionless blocks) was relaying them through Eligius. This handy-but-simple change enabled me to get the real IP of the actual server making these blocks. The objections given herein by other developers are logical concerns, and I have no qualms with the pullreq being closed unmerged.

  9. suprnurd referenced this in commit f0140dab01 on Dec 5, 2017
  10. ptschip referenced this in commit 0704d80c26 on Feb 13, 2018
  11. DrahtBot 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-04-14 15:16 UTC

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