btcd/integration
Olaoluwa Osuntokun 76ba88422f integration: stabilize pre-verack disconnect cycles
In this commit, we make the pre-verack lifecycle test count only peers that
btcd has admitted and processed through version exchange.

The source handshake limit can close a rapid follow-up socket while the
previous disconnect is still unwinding. This made the client-side version
write fail with EPIPE before the intended lifecycle path ran. We now wait for
a version response from btcd, retry rejected attempts under a deadline, and
still disconnect without sending verack.

This preserves all 50 peerDone without peerAdd cycles while removing the
scheduler-dependent admission race from the test.
2026-07-21 16:59:33 -07:00
..
rpctest rpctest: scope shared state to the current process 2026-05-30 17:49:55 +09:00
bip0009_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
chain_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
csv_fork_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
getchaintips_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
invalidate_reconsider_block_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
log.go integration: print logs to console 2024-01-15 17:22:42 +08:00
main.go integration: Initial implementation. 2016-10-25 14:36:23 -05:00
p2a_test.go integration: fix p2a_test build under -tags=rpctest 2026-05-30 16:47:18 +09:00
prune_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
rawtx_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
README.md docs: update shields 2021-03-05 07:45:19 -05:00
reorg_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
rpcserver_test.go multi: use new v2 modules everywhere 2026-05-14 18:05:33 -07:00
sync_race_test.go integration: stabilize pre-verack disconnect cycles 2026-07-21 16:59:33 -07:00

integration

Build Status ISC License

This contains integration tests which make use of the rpctest package to programmatically drive nodes via RPC.

License

This code is licensed under the copyfree ISC License.