2

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?

1 Answer 1

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.dat when ADDR message was received and old addresses periodically cleared.
  • v0.6.0 implemented #787 which introduced the address manager/AddrMan along with new and tried tables for better control/management of peer addresses.

  • v0.7.0 implemented #1198 which replaced BDB managedaddr.dat with flat filepeers.dat. (because AddrMan could 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.