Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-631: Gossip Storm Avoidance (#196)
* GH-631: get the skeleton ready * GH-631: add a working recursive method for computing patch * GH-631: add test for computing patch; not working yet * GH-631: improve the test for the compute_patch function and make it working * GH-631: refactor the recursive function to compute patch * GH-631: refactor the conditionals inside the recursion * GH-631: refactor the compute_patch() to use match * GH-631: compute_patch() should search for neighbors in it's database for the root node * GH-631: improve the solution for the compute_patch() * GH-631: minor code cleanup * GH-631: add one more test to make compute_patch() robust * GH-631: add one more test for compute_patch() * GH-631: reduce the number of recursion calls and minize hashset size * GH-631: add test to check if the standard gossip handler ignores gossips that are outside the patch * GH-631: make the test work * GH-631: fix the test proper_standard_gossip_is_matched_and_handled * GH-631: fix the tests inside gossip_acceptor.rs * GH-631: refactor the compute_patch() * GH-631: remove compiler warnings * GH-631: filter agrs before calling the function that'll add introductory node * GH-631: only use references to build hashmap from agr * GH-631: use constant for computing patch * GH-631: remove redundant code * GH-631: remove clippy warnings * GH-631: rename test to can_retrieve_all_full_and_half_neighbors() * GH-631: remove contract test for eth ropsten * GH-631: modify extract_node_reference() * GH-631: Did more fixing on the blockchain multinode test * GH-631: format the code * GH-600: Workaround multinode test libc failure * GH-631: Review 1 (#202) * GH-631: refactor the compute_patch() * GH-631: use node record instead of database * GH-631: rename the some_node into not_a_neighbor * GH-631: create an outboard function for creating patch * GH-631: make a function for filtering agrs * GH-631: remove unused functions * GH-631: refactor test in gossip_acceptor.rs * GH-631: minor changes in gossip_acceptor.rs * GH-631: write test gossip_acceptor_filters_out_the_node_addr_of_incoming_gossip; not working yet * GH-631: remove the test that you've recently written * GH-631: Review 1 changes * GH-631: remove clippy warnings * GH-633: change the version number of libc from 2.36-4 to 2.36-6 * Trigger Build * GH-631: An attempt to fix multinode test provided_and_consumed_services_are_recorded_in_databases() by using duration * GH-631: remove the clippy allow statement for the compute_patch_recursive() Co-authored-by: Dan Wiebe <[email protected]> Co-authored-by: masqrauder <[email protected]>
- Loading branch information