File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
test/sanitizer_suppressions Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -2228,8 +2228,8 @@ void PeerManagerImpl::RelayAddress(NodeId originator,
22282228 // Relay to a limited number of other nodes
22292229 // Use deterministic randomness to send to the same nodes for 24 hours
22302230 // at a time so the m_addr_knowns of the chosen nodes prevent repeats
2231- uint64_t hashAddr = addr.GetHash ();
2232- const CSipHasher hasher = m_connman.GetDeterministicRandomizer (RANDOMIZER_ID_ADDRESS_RELAY).Write (hashAddr << 32 ).Write ((GetTime () + hashAddr) / (24 * 60 * 60 ));
2231+ const uint64_t hashAddr{ addr.GetHash ()} ;
2232+ const CSipHasher hasher{ m_connman.GetDeterministicRandomizer (RANDOMIZER_ID_ADDRESS_RELAY).Write (hashAddr).Write ((GetTime () + hashAddr) / (24 * 60 * 60 ))} ;
22332233 FastRandomContext insecure_rand;
22342234
22352235 // Relay reachable addresses to 2 peers. Unreachable addresses are relayed randomly to 1 or 2 peers.
Original file line number Diff line number Diff line change @@ -101,7 +101,6 @@ shift-base:arith_uint256.cpp
101101shift-base:crypto/
102102shift-base:hash.cpp
103103shift-base:leveldb/
104- shift-base:net_processing.cpp
105104shift-base:streams.h
106105shift-base:test/fuzz/crypto_diff_fuzz_chacha20.cpp
107106shift-base:util/bip32.cpp
You can’t perform that action at this time.
0 commit comments