In Eclipse Attacks on Bitcoin’s Peer-to-Peer Network section 8 Related Work, the authors describe how some of the countermeasures to eclipse attacks were inspired by botnets. What inspired the design of the address sharing mechanism between full nodes? Were the new and tried tables included in bitcoin from the beginning or added at a later date? What is the "Related Work" for this design?
Asked
Active
Viewed 139 times
1 Answers
5
Were the new and tried tables included in bitcoin from the beginning or added at a later date?
- new/tried table were introduced in #787. Counter measure 6 in the paper suggested more buckets and was implemented in this commit.
What inspired the design of the address sharing mechanism between full nodes? / What is the "Related Work" for this design?
addresses in the earlier clients (before v0.6.0) were directly stored inside BDB managed
addr.dat.- simple implementation wherein new addresses were added into
addr.datwhenADDRmessage was received and old addresses periodically cleared.
- simple implementation wherein new addresses were added into
v0.6.0 implemented #787 which introduced the address manager/
AddrManalong with new and tried tables for better control/management of peer addresses.v0.7.0 implemented #1198 which replaced BDB managed
addr.datwith flat filepeers.dat. (becauseAddrMancould read/write it's own serialized data now.)Design goals for the new/tried table design are mentioned here. I'm not sure what inspired this design though.
stratospher
- 81
- 2
- 5