mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
Only relay IPv4, IPv6, Tor addresses
This commit is contained in:
parent
79f3d9b932
commit
56f9dba015
2 changed files with 9 additions and 0 deletions
|
|
@ -1528,6 +1528,7 @@ void RelayTransaction(const uint256& txid, const uint256& wtxid, const CConnman&
|
|||
|
||||
static void RelayAddress(const CAddress& addr, bool fReachable, const CConnman& connman)
|
||||
{
|
||||
if (!fReachable && !addr.IsRelayable()) return;
|
||||
|
||||
// Relay to a limited number of other nodes
|
||||
// Use deterministic randomness to send to the same nodes for 24 hours
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue