Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
New networking API #1312
Continue in #1379
Kouprin added a commit that referenced this pull request
Oct 17, 2019
* Extract routing table out of peer manager * Build Routing Table interface * WIP Build new networking API. Making compiler not complain. * Fix compiler error * Add announce account through broadcast * Implement basic api off Routing Table * All check * Add tests and benchmark for graph * Remove hash from `sign_announce_account` * Addressing format issues * WIP: Add network syncing - Tests for network primitive behaviors - Ping/Pong message skeleton for test routing - Handshake update to take into account signing new edge * Update handshake Now new edges are created during handshake. Signatures exchange happens in this phase. Simple test is passing. * Add broadcast and sync. Fix banning from PeerManager/Peer. * Track all TODO(MarX) in github. Remove useless genesis check (it was repeated). * Fix compile error and warnings. * Dummy commit * Address PR comments * Increase test time * Use implemented empty key * Increase test time * Fix peer_handshake test * Remove ASD comments * Clean routing table with empty entries * Remove some logging * Increase time
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments.