HomePhabricator

Make FastRandomContext support standard C++11 RNG interface

Description

Make FastRandomContext support standard C++11 RNG interface

Summary:
This makes it possible to plug it into the various standard C++11 random
distribution algorithms and other functions like std::shuffle.

Tis is a backport of Core PR12742

Test Plan:

make check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Mar 21 2018, 02:10
deadalnixCommitted on Jun 26 2019, 12:56
deadalnixPushed on Jun 26 2019, 12:56
Reviewer
Restricted Project
Differential Revision
D3413: Make FastRandomContext support standard C++11 RNG interface
Parents
rABC2f24287f7e02: wallet: sum ancestors rather than taking max in output groups
Branches
Unknown
Tags
Unknown