HomePhabricator

[schnorr functional test] change block setup logic

Description

[schnorr functional test] change block setup logic

Summary:
This gets rid of the time.time() dependency, allowing the node to set
the chain time naturally using the generate RPC. Likewise this gets
rid of the arbitrary-block-numbering and auto-tip-movement system and
moves to a more direct form of tracking.

At the same time, we allow setup_clean_chain to be False, in which
case the generated coinbases will be smaller, so the funding needs to
be tweaked slightly.

Depends on D3601

Test Plan: ./test/functional/test_runner.py abc-schnorr.py

Reviewers: #bitcoin_abc, Mengerian, Fabien, jasonbcox, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
Mark Lundeberg <36528214+markblundeberg@users.noreply.github.com>Authored on Jul 9 2019, 03:53
markblundebergPushed on Jul 10 2019, 00:37
Reviewer
Restricted Project
Differential Revision
D3615: [schnorr functional test] change block setup logic
Parents
rABCc5c9afad5db9: [schnorr functional test] remove ComparisonTestFramework dependency
Branches
Unknown
Tags
Unknown

Event Timeline

Mark Lundeberg <36528214+markblundeberg@users.noreply.github.com> committed rABCc8c8028beb14: [schnorr functional test] change block setup logic (authored by Mark Lundeberg <36528214+markblundeberg@users.noreply.github.com>).Jul 10 2019, 00:37