Make some txpool logs a bit more compact (#1995)

* Improve logging for transaction pool.

* Change Debug in node-template runtime.

* Fix hexdisplay.

* Add some additional logging.

* Rebuild wasm
This commit is contained in:
Tomasz Drwięga
2019-03-27 23:36:18 +01:00
committed by Gav Wood
parent 039acb9518
commit ff4523cbec
8 changed files with 92 additions and 6 deletions
@@ -176,6 +176,8 @@ impl<B: ChainApi> Pool<B> {
let ready_limit = &self.options.ready;
let future_limit = &self.options.future;
debug!(target: "txpool", "Pool Status: {:?}", status);
if ready_limit.is_exceeded(status.ready, status.ready_bytes)
|| future_limit.is_exceeded(status.future, status.future_bytes) {
// clean up the pool