mirror of
https://github.com/romanz/electrs.git
synced 2024-11-19 01:43:29 +01:00
Show # of mempool transactions
This commit is contained in:
parent
91f9a90ca0
commit
23b2e4ea9c
2
tools/mempool.py
Normal file → Executable file
2
tools/mempool.py
Normal file → Executable file
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env python3
|
||||
import binascii
|
||||
import json
|
||||
import socket
|
||||
@ -49,6 +50,7 @@ def main():
|
||||
plt.semilogy(vsize / 1e6, rate, '-')
|
||||
plt.xlabel('Mempool size (MB)')
|
||||
plt.ylabel('Fee rate (sat/vbyte)')
|
||||
plt.title('{} transactions'.format(len(entries)))
|
||||
plt.grid()
|
||||
plt.show()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user