aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libstate.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libstate.h b/include/libstate.h
index 610f730e8..334b1501f 100644
--- a/include/libstate.h
+++ b/include/libstate.h
@@ -34,8 +34,10 @@ class Library_State
void add_allocator(Allocator*);
void set_default_allocator(const std::string&) const;
- void set_prng(RandomNumberGenerator*);
+ bool rng_is_seeded() const { return rng->is_seeded(); }
void randomize(byte[], u32bit);
+
+ void set_prng(RandomNumberGenerator*);
void add_entropy_source(EntropySource*, bool = true);
void add_entropy(const byte[], u32bit);
void add_entropy(EntropySource&, bool);