HomePhabricator

Encapsulate RNGState better

Description

Encapsulate RNGState better

Summary:
Partial backport of Core PR14955
https://github.com/bitcoin/bitcoin/pull/14955/commits/cddb31bb0a132afa50b5350196cf26f0064fe3e2

Depends on D4398

Test Plan:

make check

Reviewers: deadalnix, Fabien, jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: Fabien, O1 Bitcoin ABC, #bitcoin_abc

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

Details

Provenance
Pieter Wuille <pieter.wuille@gmail.com>Authored on Jan 11 2019, 02:19
nakihitoCommitted on Nov 8 2019, 18:59
nakihitoPushed on Nov 8 2019, 18:59
Reviewer
Restricted Owners Package
Differential Revision
D4399: Encapsulate RNGState better
Parents
rABC850fcd317b66: DRY: Implement GetRand using FastRandomContext::randrange
Branches
Unknown
Tags
Unknown

Event Timeline

Nico Guiton <nico@bitframe.org> committed rABC6340d95de04d: Encapsulate RNGState better (authored by Pieter Wuille <pieter.wuille@gmail.com>).Nov 8 2019, 18:59