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:
moneromooo-monero
2018-06-17 22:07:15 +01:00
parent 9a3712541e
commit e5592c4bab
6 changed files with 26 additions and 1 deletions
+2
View File
@@ -375,6 +375,8 @@ private:
virtual bool is_read_only() const;
virtual uint64_t get_database_size() const;
// fix up anything that may be wrong due to past bugs
virtual void fixup();