URI: 
       tAdd blockchain size to server banner - electrum-personal-server - Maximally lightweight electrum server for a single user
  HTML git clone https://git.parazyd.org/electrum-personal-server
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit d5de8583b77fb38b50c58d979c15161ceab1049a
   DIR parent fe81a4729dcd2a8cf8ef9e245cf16692d516704e
  HTML Author: chris-belcher <chris-belcher@users.noreply.github.com>
       Date:   Mon, 24 Jun 2019 22:36:57 +0100
       
       Add blockchain size to server banner
       
       Diffstat:
         M electrumpersonalserver/server/comm… |       9 ++++++---
       
       1 file changed, 6 insertions(+), 3 deletions(-)
       ---
   DIR diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py
       t@@ -23,12 +23,13 @@ BANNER = \
        Monitoring {detwallets} deterministic wallets, in total {addr} addresses.
        
        Connected bitcoin node: {useragent}
       -Peers: {peers}
        Uptime: {uptime}
       -Blocksonly: {blocksonly}
       -Pruning: {pruning}
       +Peers: {peers}
        Download: {recvbytes} ({recvbytesperday} per day)
        Upload: {sentbytes} ({sentbytesperday} per day)
       +Blocksonly: {blocksonly}
       +Pruning: {pruning}
       +Blockchain size: {blockchainsizeondisk}
        
        https://github.com/chris-belcher/electrum-personal-server
        
       t@@ -326,6 +327,8 @@ def handle_query(sock, line, rpc, txmonitor, disable_mempool_fee_histogram,
                    uptime=str(datetime.timedelta(seconds=uptime)),
                    blocksonly=not networkinfo["localrelay"],
                    pruning=blockchaininfo["pruned"],
       +            blockchainsizeondisk=hashes.bytes_fmt(
       +                blockchaininfo["size_on_disk"]),
                    recvbytes=hashes.bytes_fmt(nettotals["totalbytesrecv"]),
                    recvbytesperday=hashes.bytes_fmt(
                        nettotals["totalbytesrecv"]/uptime_days),