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
Branch
single_node_mining_prioritise
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 29458
Build 58452: Build Diffbuild-diff · build-without-wallet · build-clang-tidy · build-clang · build-debug
Build 58451: arc lint + arc unit