-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconsider how we exchange routing table information #3838
Comments
@bowenwang1996 I decided to split issues into two to make it more cleaner. #3934 focuses on theoretical work |
I wrote a prototype: #4112 |
Fixes the following compiler error: $ cargo build --release error[E0277]: `[usize; 3]` is not an iterator --> chain/network/src/ibf.rs:215:20 215 | for pos in pos_list { | ^^^^^^^^ borrow the array with `&` or call `.iter()` on it to iterate over it Issue: near#3838
Fixes various compilation failures when building `cargo build --fetaures adversarial`. Issue: near#3838
Fixes various compilation failures when building `cargo build --fetaures adversarial`. Issue: near#3838
NayDuck always enables the ‘adversarial’ feature when building ‘neard’. There’s no need to explicitly enable it. Doing so forces NayDuck to unnecessarily create a separate build. Issue: near#3838
Fixes the following compiler error: $ cargo build --release error[E0277]: `[usize; 3]` is not an iterator --> chain/network/src/ibf.rs:215:20 215 | for pos in pos_list { | ^^^^^^^^ borrow the array with `&` or call `.iter()` on it to iterate over it Issue: #3838
NayDuck always enables the ‘adversarial’ feature when building ‘neard’. There’s no need to explicitly enable it. Doing so forces NayDuck to unnecessarily create a separate build. Issue: #3838
Fixes various compilation failures when building `cargo build --fetaures adversarial`. Issue: #3838
Fixes the following compiler error: $ cargo build --release error[E0277]: `[usize; 3]` is not an iterator --> chain/network/src/ibf.rs:215:20 215 | for pos in pos_list { | ^^^^^^^^ borrow the array with `&` or call `.iter()` on it to iterate over it Issue: #3838
NayDuck always enables the ‘adversarial’ feature when building ‘neard’. There’s no need to explicitly enable it. Doing so forces NayDuck to unnecessarily create a separate build. Issue: #3838
Fixes various compilation failures when building `cargo build --fetaures adversarial`. Issue: #3838
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. |
There are still a few optimizations we can do to exchange routing tables:
|
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. |
Currently we always exchange the entire routing table with peers when new connections are established and broadcast newly received routing table information. This is not efficient and leads to an increase of network traffic. We should consider optimizing this process with better strategies to synchronize routing table between nodes in the network.
The text was updated successfully, but these errors were encountered: