Store the peer list on the DB of a node#1945
Store the peer list on the DB of a node#1945mergify[bot] merged 3 commits intoCodeChain-io:masterfrom
Conversation
|
Please add an issue number in the description of PR like "Fixes #1569". Please use a full sentence in the description of PR and commit message. |
34736c0 to
d2dcaa7
Compare
|
I tested the unpassed test( |
f609bf6 to
730b568
Compare
sgkim126
left a comment
There was a problem hiding this comment.
You missed removing the address of outgoing connections.
Please check the line between 1077~1093.
|
@MSNTCS Would you check the commits included in this PR again? |
6141594 to
9d3f1a3
Compare
Sorry, for the late response. I had changed when I saw your comment. Now is only related commit. |
219506c to
f0ce9b4
Compare
|
Please run |
|
Your commit messages "Update handler.rs" and "Update service.rs" does not give any meaningful information to a reader. |
|
Never mind the above message. I misunderstood this PR. Sorry. |
6dc21fb to
e40d00e
Compare
network/src/service.rs
Outdated
| use crate::routing_table::RoutingTable; | ||
| use crate::{p2p, Api, NetworkExtension, SocketAddr}; | ||
| use crate::{p2p, Api, ManagingPeerdb, NetworkExtension, SocketAddr}; | ||
|
|
1a122ff to
41a1f55
Compare
To reduce the burden of bootstrap nodes, codecahin needs to save the received peer list in the disk. In order to save the peer list of a node in the disk, a procedure is designed a database to store nodes that are connected to the node.
Storing all stable nodes that have been connected to the node in the database. It fixes #1569".