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 authored and Gav Wood committed 2019-03-27 23:36:18 +01:00
1 parent 039acb9518
commit ff4523cbec
8 files changed
+92 -6

No files matched your search

@@ -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