Open 1n4r1 opened 5 years ago
Currently, we have 2 data structure for nodes.
At first, we have a situation that "we have contact info but don't have routing table" By looking at contact info, we have to find our neighbor and send "full table request" this is what I expected.
What we have to care of is that
for getting routing info (not identity), we have to use 8 bytes dest id.
why GPG key for our server is 'nodeself', and not the value of SEVER_KEY constant?
To add initial neighbor, we can configure like this
This is the format of each neighbor info