aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-03-24 14:34:55 +0200
committerRiccardo Spagni <ric@spagni.net>2017-03-24 14:34:55 +0200
commit92c2d79d1071800885b551e58b2048497fbd01ae (patch)
tree8c05995a27da96f416aa1de94bb36a0485ac1ef5 /src/wallet/api/wallet.h
parentMerge pull request #1914 (diff)
parentWallet API: add hard fork info functions (diff)
downloadmonero-92c2d79d1071800885b551e58b2048497fbd01ae.tar.xz
Merge pull request #1915
a8646b09 Wallet API: add hard fork info functions (Jaquee)
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h3
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,