HomePhabricator

Avoid unintentional unsigned integer wraparounds in tests

Description

Avoid unintentional unsigned integer wraparounds in tests

Summary:
Backport of core PR12516
https://github.com/bitcoin/bitcoin/pull/12516/files

Depends on D3275

Test Plan:

make check

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

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

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Feb 23 2018, 07:10
FabienCommitted on Jun 10 2019, 21:22
nakihitoPushed on Jun 10 2019, 22:49
Reviewer
Restricted Project
Differential Revision
D3276: Avoid unintentional unsigned integer wraparounds in tests
Parents
rSTAGING838fd7ecc61d: [tests] Use FastRandomContext instead of boost::random::*
Branches
Unknown
Tags
Unknown