Bitcoin Forum
May 08, 2024, 05:03:52 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: .onion address bucket assignment  (Read 61 times)
vinshet (OP)
Newbie
*
Offline Offline

Activity: 17
Merit: 17


View Profile
August 25, 2022, 05: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)
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!