You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: avoid duplicate autoconnection attempt
Gossip autoconnection could result in two nodes attempting to connect
to each other concurrently.
To fix this issue, only one node initiate the connection now. The
selection criteria is arbitrary but deterministic, currently the
greater zid of both.
* refactor: extract autoconnect node selection in a dedicated function
* refactor: add a configuration option for autoconnection
* revert: revert JSON config formatting
* fix: lint
* feat: add an "always" autoconnection strategy
* docs: document DEFAULT_CONFIG.json5
* Update DEFAULT_CONFIG.json5
Co-authored-by: Oussama Teffahi <[email protected]>
* feat: make strategy dependent on the connected node
* Update DEFAULT_CONFIG.json5
Co-authored-by: Oussama Teffahi <[email protected]>
* Update DEFAULT_CONFIG.json5
Co-authored-by: Oussama Teffahi <[email protected]>
* fix: remove dead code
* feat: introduce target-dependent value
* fix: lint
* fix: remove dead code
* fix: remove debug code
---------
Co-authored-by: Oussama Teffahi <[email protected]>
0 commit comments