This repository has been archived by the owner on Sep 26, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration of RecursivePeerRefreshState and PeerDiscoveryController (#…
…420) * minimal changeset * candidate.getPeer().getStatus().equals(PeerDiscoveryStatus.BONDED) * update * fix peerSeenTwice * update++ * update * update * update * yaya g * yaya g * Ensure round timers are cancelled and many other cleanups. * Shutdown peer refresh state executors on stop. * Trigger new recursive peer search when refreshing peer table. Reduce round timeout to 5 seconds. * tests passing * cleaning up * remove useless, inbhibitive artifact from nearestPeers method * add round cieling * remove mock from test * working * revision to RecursivePeerRefreshStateTest * test * Use TimerUtil to schedule timeout instead of our own ScheduledExecutorService. * Remove isBootstrap from Interaction. Start adding tests for RecursivePeerRefreshState. * update to bootstrapPeersRetriesSent * fics helper method * cleaning up * cleaning up tests * implement shouldOnlyQueryClosestThreeNeighbours * update to tests * shouldBondWithNewNeighboursWhenSomeRequestsTimeOut * increase test coverage * spotless * test update * adding tests * shouldNotQueryNodeThatIsAlreadyQueried * shouldBondWithPeersInNeighboursResponseReceivedAfterTimeout * simplification * add tests * Fix tests to handle whitelisting. * Ensure late bonding or neighbours responses don't kick off a new round. * cleaning up * add for loop * respoins with pong * concis * failing test * test passing * update * fix to tableRefreshSingleNode * update coment * Update ethereum/p2p/src/test/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/PeerDiscoveryControllerTest.java Co-Authored-By: s-matthew-english <s.matthew.english@gmail.com> * update * tableRefreshSingleNode * deconstructedIncrementalUpdateBootstrapPeersList * setKeccak256 * Update ethereum/p2p/src/test/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/RecursivePeerRefreshStateTest.java Co-Authored-By: s-matthew-english <s.matthew.english@gmail.com> * Update ethereum/p2p/src/test/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/RecursivePeerRefreshStateTest.java Co-Authored-By: s-matthew-english <s.matthew.english@gmail.com> * Update ethereum/p2p/src/test/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/RecursivePeerRefreshStateTest.java Co-Authored-By: s-matthew-english <s.matthew.english@gmail.com> * Update ethereum/p2p/src/test/java/tech/pegasys/pantheon/ethereum/p2p/discovery/internal/RecursivePeerRefreshStateTest.java Co-Authored-By: s-matthew-english <s.matthew.english@gmail.com> * synchronized * update * merge * filtering out known peers * update * update * update II
- Loading branch information