From cae7a66072905bc264ecf0805a8738a674ff2986 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sun, 3 Jul 2016 14:36:55 -0400 Subject: Revamp entropy polling Remove Entropy_Accumulator, instead have entropy sources directly add entropy to the RNG. --- src/lib/entropy/proc_walk/proc_walk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/entropy/proc_walk/proc_walk.h') diff --git a/src/lib/entropy/proc_walk/proc_walk.h b/src/lib/entropy/proc_walk/proc_walk.h index f6db8185a..369b52699 100644 --- a/src/lib/entropy/proc_walk/proc_walk.h +++ b/src/lib/entropy/proc_walk/proc_walk.h @@ -28,7 +28,7 @@ class ProcWalking_EntropySource final : public Entropy_Source public: std::string name() const override { return "proc_walk"; } - void poll(Entropy_Accumulator& accum) override; + size_t poll(RandomNumberGenerator& rng) override; ProcWalking_EntropySource(const std::string& root_dir) : m_path(root_dir), m_dir(nullptr) {} -- cgit v1.2.3