chore(pool): rm unimportant print statements
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
4f5072d276
commit
14462e6b16
5
pool.cpp
5
pool.cpp
|
@ -23,9 +23,7 @@ auto Pool::get_id() const noexcept -> unsigned int {
|
||||||
}
|
}
|
||||||
|
|
||||||
auto Pool::initialize_pool(const unsigned int& id) -> void {
|
auto Pool::initialize_pool(const unsigned int& id) -> void {
|
||||||
fmt::print("\tpool init: {}\n", id);
|
|
||||||
set_id(id);
|
set_id(id);
|
||||||
fmt::print("\tid set to: {}\n", this->get_id());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
auto Pool::add_entropy(const unsigned int& source,
|
auto Pool::add_entropy(const unsigned int& source,
|
||||||
|
@ -63,15 +61,12 @@ auto Pool::add_entropy(const unsigned int& source,
|
||||||
fmt::print("{}\n", e.what());
|
fmt::print("{}\n", e.what());
|
||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
fmt::print("\tall_ok: {}\n", all_ok);
|
|
||||||
|
|
||||||
if (all_ok) {
|
if (all_ok) {
|
||||||
try {
|
try {
|
||||||
// FIXME: check for overflow - std::string size bounding?
|
// FIXME: check for overflow - std::string size bounding?
|
||||||
event_str.assign(event.begin(), event.end());
|
event_str.assign(event.begin(), event.end());
|
||||||
|
|
||||||
fmt::print("\tevent_str length: {}\n", event_str.length());
|
|
||||||
|
|
||||||
// FIXME: check size for overflow
|
// FIXME: check size for overflow
|
||||||
// also, atm this counts event size but actually what gets appended
|
// also, atm this counts event size but actually what gets appended
|
||||||
// are digests of 64 characters (hex-encoded 32 bytes)
|
// are digests of 64 characters (hex-encoded 32 bytes)
|
||||||
|
|
Reference in New Issue