BIP proposal - addrv2 message



Summary:

The concept ACK discusses several considerations regarding the gossip protocol in Bitcoin. The first consideration is whether it makes sense for a client to store and gossip address formats that they do not know about, especially those outside a certain overlay network. Three possible scenarios where a node may not know about an address format are discussed, followed by recommendations on how to proceed in each case. Despite concerns about gossiping information that cannot be verified, the authors suggest that it could be useful for nodes to share information about other networks to help bootstrap connections. Another consideration is the precision of the time field, as seconds precision can be overkill and harmful. To address this, it's suggested that the time field be reduced to 16 bits and turned into a "time ago seen" quantized to 1-hour precision. This would reduce space requirements and prevent attacks that exploit high-precision timestamps for mapping the current network topology.Finally, optional (per-service) data is suggested to be useful for various things, including optional flags. A byte count and type system is recommended to encode the length of the payload for each flag. The authors acknowledge that while adding more information would create more topology mapping opportunities, it could also be beneficial for some use cases.


Updated on: 2023-06-13T17:08:04.811777+00:00