diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-01-08 16:36:46 -0800 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-01-08 16:36:46 -0800 |
commit | 1736b7ef6b47cd82a47b61d19d9ffbb38ed02877 (patch) | |
tree | 379d2104ce45e9c5aa7239c31f0f1e6b7c375776 /src/wallet/wallet2_api.h | |
parent | Merge pull request #1499 (diff) | |
parent | wallet2_api: some new APIs to access daemon state (diff) | |
download | monero-1736b7ef6b47cd82a47b61d19d9ffbb38ed02877.tar.xz |
Merge pull request #1500
c0a0fcaf wallet2_api: some new APIs to access daemon state (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r-- | src/wallet/wallet2_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h index 2e1d95b58..a7162afcb 100644 --- a/src/wallet/wallet2_api.h +++ b/src/wallet/wallet2_api.h @@ -562,6 +562,12 @@ struct WalletManager //! returns current mining hash rate (0 if not mining) virtual double miningHashRate() const = 0; + //! returns current hard fork info + virtual void hardForkInfo(uint8_t &version, uint64_t &earliest_height) const = 0; + + //! returns current block target + virtual uint64_t blockTarget() const = 0; + //! resolves an OpenAlias address to a monero address virtual std::string resolveOpenAlias(const std::string &address, bool &dnssec_valid) const = 0; }; |