Page MenuHomePhabricator

[schnorr functional test] improve tx handling
ClosedPublic

Authored by markblundeberg on Tue, Jul 9, 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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.