HomePhabricator

Use a single node in mining_prioritisetransaction

Description

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

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Differential Revision: https://reviews.bitcoinabc.org/D16412

Details

Provenance
FabienAuthored on Jul 3 2024, 12:36
FabienPushed on Jul 3 2024, 18:06
Reviewer
Restricted Project
Differential Revision
D16412: Use a single node in mining_prioritisetransaction
Parents
rABC99bd71b032b5: [Chronik] Add `ParseChronikParams` and use it in chronik::Start
Branches
Unknown
Tags
Unknown