Add a new test case to ensure nodes won't ban each other before and after activation.
Details
Details
- Reviewers
deadalnix - Group Reviewers
Restricted Owners Package (Owns No Changed Paths) Restricted Project - Commits
- rSTAGING5e3527194d8a: Add additional test in segwit recovery activation
rABC5e3527194d8a: Add additional test in segwit recovery activation
./test_runner abc-segwit-recovery-activation.py
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- swrecovery2
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 5432 Build 8926: Bitcoin ABC Buildbot (legacy) Build 8925: arc lint + arc unit
Event Timeline
test/functional/abc-segwit-recovery-activation.py | ||
---|---|---|
341 | I moved this check before the sendrawtransaction call to avoid a race condition. The previous version could fail if node_nonstd, after sendrawtransaction, sent the segwit spending txn to node_std *before* we did this check. In this case, the transaction would be included in recentRejects and node_std would never send the REJECT message back to the mininode. |
Comment Actions
The purpose of this test is to test activation. This isn't the right place for test vectors.