HomePhabricator

Encapsulate RNGState better

Authored by Pieter Wuille <pieter.wuille@gmail.com> on Jan 11 2019, 02:19.

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

Committed
nakihitoFri, Nov 8, 18:59
Pushed
nakihitoFri, Nov 8, 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>).Fri, Nov 8, 18:59