Page MenuHomePhabricator

Use a single node in mining_prioritisetransaction
ClosedPublic

Authored by Fabien on Jul 3 2024, 12:36.

Details

Reviewers
PiRK
Group Reviewers
Restricted Project
Commits
rABCc073d28ae660: Use a single node in mining_prioritisetransaction
Summary

The second node is ran only for the getblocktemplate call (that requires a peer connection to work). Instead of spinning a node (and running sync_all on each block) we can just add a test framework peer before the call to achieve the same result.

Test Plan
./test/functional/test_runner.py mining_prioritisetransaction

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable