HomePhabricator

test: refactor: clarify the coins simulation

Description

test: refactor: clarify the coins simulation

Summary:
Adds comments, slight refactor clarifications to make the code
easier to follow.

This is a partial backport of core#17487
https://github.com/bitcoin/bitcoin/pull/17487/commits/6d8affca96c7a34f5f104c5a3122e7420ffc083c

Depends on D16156

Test Plan: ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
James O'Beirne <james.obeirne@gmail.com>Authored on Dec 3 2019, 18:31
PiRKCommitted on May 16 2024, 11:57
PiRKPushed on May 16 2024, 11:57
Reviewer
Restricted Project
Differential Revision
D16161: test: refactor: clarify the coins simulation
Parents
rABC9006f52c6661: test: Create InsecureRandMoneyAmount() helper, de-duplicate add_coin methods
Branches
Unknown
Tags
Unknown