mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-14 11:58:14 +01:00
* Move P2PClientCallbacks.onStop() into disconnection logic rather than Actor.postStop() * Rename onStop -> onDisconnect * Add reconnect flag to P2PCallbacks.onDisconnect so we don't attempt to reconnect when not necessary * Rename flag to forceReconnect, check getPeerConnectionCount in PeerManager.onP2PClientDisconnect to see if we have 0 connections. If we do reconnect * Add PeerManager.isStarted flag, guard reconnection logic with this flag in onP2PClientDisconnected() * Clear PeerFinder._peerData when PeerFinder.stop() is called * WIP: Move disconnection logic into stream * Rework ordering of PeerManager.stop() to shutdown queue after peers are removed * Empty commit to re-run CI * Await for getConnectionCount async in test case * Try increasing queue size * Bump queue size to 16 * Put initialization, initialization timeout logic in queue rather than callbacks * Make messages that are sent to the queue rather than callbacks for various control messages * Empty commit to re-run CI * Empty commit to re-run CI * Empty commit to re-run CI * Remove P2PCallbacks all together * Re-add PeerMessageReceiverTest |
||
---|---|---|
.. | ||
src | ||
README.md |
Please see our website for more information on the testkit https://bitcoin-s.org/docs/next/testkit/testkit