HomePhabricator

Simplify the abc_mining_basic.py test

Description

Simplify the abc_mining_basic.py test

Summary: The test uses getblocktemplate which checks that the node is connected to at least one peer. Rather than spinning a node, just use the test framework to work around this check.

Test Plan:

./test/functional/test_runner.py abc_mining_basic

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Feb 18 2022, 14:40
FabienPushed on Feb 21 2022, 08:43
Reviewer
Restricted Project
Differential Revision
D11072: Simplify the abc_mining_basic.py test
Parents
rABCee65041c3462: p2p, refactor: performance improvements to ProtectEvictionCandidatesByRatio()
Branches
Unknown
Tags
Unknown