diff options
| author | Jaquee <jaquee.monero@gmail.com> | 2017-03-24 09:59:26 +0100 |
|---|---|---|
| committer | Jaquee <jaquee.monero@gmail.com> | 2017-03-24 09:59:26 +0100 |
| commit | a8646b0957aa60ffb8f3c2db820db16e40398c4e (patch) | |
| tree | 5103806500da4144c8c5778c652513bb87a3a4d8 /src/wallet/api/wallet.h | |
| parent | 16f12f0628d2226f9915da8b7376fef8dc61133b (diff) | |
| download | monzero-core-a8646b0957aa60ffb8f3c2db820db16e40398c4e.tar.gz monzero-core-a8646b0957aa60ffb8f3c2db820db16e40398c4e.tar.xz monzero-core-a8646b0957aa60ffb8f3c2db820db16e40398c4e.zip | |
Wallet API: add hard fork info functions
Diffstat (limited to 'src/wallet/api/wallet.h')
| -rw-r--r-- | src/wallet/api/wallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 456110908..c376dd6c1 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -99,7 +99,8 @@ public: bool watchOnly() const; bool rescanSpent(); bool testnet() const {return m_wallet->testnet();} - + void hardForkInfo(uint8_t &version, uint64_t &earliest_height) const; + bool useForkRules(uint8_t version, int64_t early_blocks) const; PendingTransaction * createTransaction(const std::string &dst_addr, const std::string &payment_id, optional<uint64_t> amount, uint32_t mixin_count, |
