mirror of
https://github.com/monero-project/monero.git
synced 2025-08-18 21:27:56 -04:00
rpc: add blockchain disk size to getinfo
This should help new nodes predict how much disk space will be needed for a full sync
This commit is contained in:
parent
9a3712541e
commit
e5592c4bab
6 changed files with 26 additions and 1 deletions
|
@ -124,6 +124,7 @@ public:
|
|||
virtual void remove_txpool_tx(const crypto::hash& txid) {}
|
||||
virtual bool get_txpool_tx_meta(const crypto::hash& txid, txpool_tx_meta_t &meta) const { return false; }
|
||||
virtual bool get_txpool_tx_blob(const crypto::hash& txid, cryptonote::blobdata &bd) const { return false; }
|
||||
virtual uint64_t get_database_size() const { return 0; }
|
||||
virtual cryptonote::blobdata get_txpool_tx_blob(const crypto::hash& txid) const { return ""; }
|
||||
virtual bool for_all_txpool_txes(std::function<bool(const crypto::hash&, const txpool_tx_meta_t&, const cryptonote::blobdata*)>, bool include_blob = false, bool include_unrelayed_txes = false) const { return false; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue