Page MenuHomePhabricator

[schnorr functional test] improve tx handling
ClosedPublic

Authored by markblundeberg on Jul 9 2019, 18:14.

Details

Summary

This strengthens the p2p nature of the test: just before we are
disconnected, we get a reject reason, which we can test for.
Accordingly, the reject code handling has been upgraded so we can
match the RPC error against the p2p error.

Also, when sending valid transactions, send them over p2p connection
instead and get the node to mine them, to demonstrate they are fully
acceptable transactions.

Depends on D3615

Test Plan

./test/functional/test_runner.py abc-schnorr.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
simplify-schnorr
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 6768
Build 11583: Bitcoin ABC Buildbot (legacy)
Build 11582: arc lint + arc unit