mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-01-19 05:43:51 +01:00
3177ee405f
* Move away from suredbits provided peers by default * Remove setting bitcoin-s.node.use-default-peers * Don't allow peer to stay connected if it doesn't support compact filters * Move disconnection logic into managePeerAfterInitialization() * Remove reconnect() when we have no other peers, send getaddr message after we know we are keeping the peer connection * Remove hasCf flag check, revert log * Reduce inactivity-timeout to 5 minutes by default, shuffle peers in PeerFinder beforing pushing onto stack * Add logic to disconnect AttemptToConnect peers after addr mesage is received * Create PeerFinder.queryForPeerConnections(), call it directly from PeerManager on health checks rather than restarting PeerFinder * scalafmt * Move more logic into managePeerAfterInitalization() * Don't set isPersistent for db peers by default * Add call to queryForPeerConnections() inside of PeerManager.onDisconnect() to try to attempt to more peers when we have no more connections, fix MisBehavingPeer logic to not start sync, starting sync should happen in onDisconnect() * Revert logback-test.xml * Sort peers we are attempting to connect to by lastSeen parameter * Refactor DoneSyncing.toHeaderSync() to return Option[HeaderSync] to represent the case where we don't have a peer to sync with * scalafmt * Remove duplicate PeerFinder.buildPeerData() |
||
---|---|---|
.. | ||
src/main | ||
README.md |
Node
Please see the bitcoin-s website for more information: https://bitcoin-s.org/docs/next/node/node