From d6f4d9e1970fa7fa744b6cead6a811884f65f21c Mon Sep 17 00:00:00 2001 From: Lawrence Nahum Date: Tue, 21 Aug 2018 17:59:34 +0200 Subject: [PATCH] remove unused size_on_disk --- doc/usage.md | 2 +- src/daemon.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/usage.md b/doc/usage.md index 0821245..c53188c 100644 --- a/doc/usage.md +++ b/doc/usage.md @@ -34,7 +34,7 @@ First index sync should take ~1.5 hours: ```bash $ cargo run --release -- -vvv --timestamp --db-dir ./db [--cookie="USER:PASSWORD"] 2018-08-17T18:27:42 - INFO - NetworkInfo { version: 179900, subversion: "/Satoshi:0.17.99/" } -2018-08-17T18:27:42 - INFO - BlockchainInfo { chain: "main", blocks: 537204, headers: 537204, bestblockhash: "0000000000000000002956768ca9421a8ddf4e53b1d81e429bd0125a383e3636", size_on_disk: 204885341685, pruned: false, initialblockdownload: false } +2018-08-17T18:27:42 - INFO - BlockchainInfo { chain: "main", blocks: 537204, headers: 537204, bestblockhash: "0000000000000000002956768ca9421a8ddf4e53b1d81e429bd0125a383e3636", pruned: false, initialblockdownload: false } 2018-08-17T18:27:42 - DEBUG - opening DB at "./db/mainnet" 2018-08-17T18:27:42 - DEBUG - full compaction marker: None 2018-08-17T18:27:42 - INFO - listing block files at "/home/user/.bitcoin/blocks/blk*.dat" diff --git a/src/daemon.rs b/src/daemon.rs index 38dc6f7..a8e1430 100644 --- a/src/daemon.rs +++ b/src/daemon.rs @@ -100,7 +100,6 @@ pub struct BlockchainInfo { blocks: u32, headers: u32, bestblockhash: String, - size_on_disk: u64, pruned: bool, initialblockdownload: bool, }