Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* gossip confirmance fixes #1 * gossip: bugfixes * gossip: more fixes * gossip: build related minor changes * gossip: one more fix * gossip: flush hello message asap * experiment with noise protocol * made injector creation fns inline to prevent multiple definitions * gossip restructured, interop issues fixed * Noise::write now reports the correct amount of bytes Signed-off-by: Igor Egorov <igor@soramitsu.co.jp> * refactoring: move prev implementation of Kademlia to other namespace Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: kademlia dependency injection Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: improve random generator Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: getting listened multiaddress in tcp listener Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: reduce logging in secio Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * draft: new implementation of kademlia Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * draft: processing with kademlia Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * draft: continue processing with kademlia Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * draft: continue Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * draft: kademlia Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: validation Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: DSA Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: CIDv1 encoding refactoring: replace deprecated sha256 function by hasher Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: multiaddress operations Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: make PeerId comparable to using in std::set Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactoring: addr repo Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: Go-implementation compatibility Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: rendezvous chat as example of Kademlia using Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: unit-test for kademlia parts Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: StorageBackend interface fix: ContentValue Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * wipe: remove previous implementation of Kademlia Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: cmake files Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> cmake Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: some warnings Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: resolve TODOes, comments, format Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: clang-tidy issues Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: clang-tidy issues Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: clang-tidy issues Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: using timeout for make new stream feature: smart using of peer routing Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: kademlia message parsing Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactoring: optimize executors' working Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactoring: optimize start of rendezvous chat Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactoring: headers including Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * refactoring: remaining request executors; naming Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * feature: add handle and timeout as argument of Host::connect Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * fix: some log messages Signed-off-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> * injectors temp fix * gossip: uncommented writing bytes checking * removed redundant std::hash definition * Hack yamux to allow weighty messages processing Signed-off-by: Igor Egorov <igor@soramitsu.co.jp> * fix vtable * fixes in DI injectors * yamux test corrected according to curent window update policy * added buffering primitives * defer* functions in Reader/Writer interfaces and Yamux redesign pt.1 * scheduler fix regarding move assignment + cancel * write queue interface change * read buffer fix regarding subspan * some diagnostic logging * tcp connection fixes related to closing behavior * yamux bugfixes * yamux tests regression WIP * build fix * . * . * bugfixes * fixes * . * . * suppressed most verbose logging in yamux and multiselect * yamux stream adjustWindowSize adjusted * fixes regarding std::move of r/w callbacks (against possible ptrs invalidation) * test cases with jumbo messages transfer added for yamux on noise/tls/plaintext * bugfixes related to yamux window sizes, overflow, and acknowledgements * echo protocol and examples support very large msgs * changes in tests * all muxers acceptance test recovered * all muxers acceptance test: fixed issue with mock lifetime * CI fixes * yamux refactorings helped to avoid memory issues caused by reentrant callbacks * build fix for mac * another yamux fix to avoid memory issues caused by reentrant callbacks * gossip: hotfix related to unbanning peers * minor fixes reflecting review feedback * temp loggers workaround * Feature/multiselect upd (#121) * multiselect revised, WIP * multiselect: simple outbound stream negotiate * multiselect numerous fixes * multiselect: instances and reuse * multiselect: fixes * multiselect: removed old implementation * multiselect: interop with go impl fixes * multiselect: bugfixes * multiselect: ProtocolMuxer interface abstracts simple outbound stream negotiation * multiselect: cleanups and logging * trigger CI * temporarily disabled tests that required synchronous reaction of multiselect * just removed unused lines * reverted back ci.yml Co-authored-by: Igor Egorov <igor@soramitsu.co.jp> Co-authored-by: Dmitriy Khaustov aka xDimon <khaustov.dm@gmail.com> Co-authored-by: turuslan <turuslan.devbox@gmail.com>
- Loading branch information