Author

Topic: .onion address bucket assignment (Read 81 times)

newbie
Activity: 17
Merit: 17
August 25, 2022, 12:08:08 PM
#1
I understand that the AS information plays a part in how addresses are populated in the buckets of the new table for IPv4/IPv6 addresses, but how does it work for .onion addresses?

I understand the address assignment into buckets for IPv4/IPv6 via https://github.com/bitcoin/bitcoin/blob/505ba3966562b10d6dd4162f3216a120c73a4edb/src/addrman.h#L57 but the process for .onion address is not clear to me. The only thing I know is that the group for the .onion address is the first 4 bytes of the address(without the .onion)
Jump to: