mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-03 18:47:38 +01:00
* WIP * WIP2 * Rebase with P2PClientCallbacks * scalafmt * Rework stream materialization in PeerManager to have DataMessageHandler encapsulated in the stream * WIP: Fix compile * Get everything compiling, ignore Uncached tests for now * Increase queue size * WIP: Make queue re-usable based on PeerManager.{start()/stop()} * Get things compiling after rebase * Try to handle case where we have SendToPeer in queue with peer that has been disconnected * Empty commit to re-run CI * Add sleep to let version/verack handshake complete in P2PClientActorTest * Empty commit to re-run CI * Reduce usage of bitcoind in P2PClientActorTest from 3 bitcoinds -> 2 bitcoinds * Add error message to PeerFinder.stop() so we know what peer was not getting removed * Cleanup error message * Fix scalafmt, add state to log message * Fix bug PeerMessageReceiverState.stopReconnect() which didn't send DisconnectedPeer() to queue * Empty commit to re-run CI * Empty commit to re-run CI * Reduce log level of onP2PClientDisconnected * Empty commit to re-run CI * Small cleanup * scalafmt * Get new reference to ChainHandler in more places node.syncFromNewPeer() is called * Fix rebase * Commit to run on CI * Empty commit to run CI * Empty commit to run CI * Empty commit to re-run CI * Empty commit to re-run CI * Try to reproduce with logs on CI * Empty commit to re-run CI * WIP * Rework onP2PClientDisconnected to return new DataMessagehandlerState * Save comment about bug * Add a helper method switchSyncToPeer to take into account the previous DataMessagehandlerState if we need to start a new sync because of disconnection * Empty commit to re-run CI * Empty commit to re-run CI * Cleanup * Fix case where we weren't sending getheaders to new peer when old peer was disconnected when in state DoneSyncing * Revert logback-test.xml * remove comment * Try using syncHelper() rather than getHeaderSyncHelper() to make sure we sync filters as well if needed * Re-add log * Fix bug where we weren't starting to sync filter headers * Tighten dmhState type to SyncDataMessageHandler on syncFilters(), clean up uncessary code * Empty commit to re-run CI * Empty commit to re-run CI |
||
---|---|---|
.. | ||
src/test/scala/org/bitcoins/node | ||
node-test.sbt |