diff options
author | Russell Yanofsky <russ@yanofsky.org> | 2017-03-02 15:24:50 -0500 |
---|---|---|
committer | Russell Yanofsky <russ@yanofsky.org> | 2017-06-05 09:59:58 -0500 |
commit | 9bb66ab66013fc3024fad00bceeb22a330b5bc1b (patch) | |
tree | a4cf946a662c3d302685421a1b46935b8876ab58 /src/wallet/wallet.h | |
parent | ccf84bb9c10b4397f1a2aed6cf83fa0172c5cf7f (diff) | |
download | bitcoin-9bb66ab66013fc3024fad00bceeb22a330b5bc1b.tar.xz |
Add RescanFromTime method and use from rpcdump
No change in behavior.
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index a3974bf00b..b6459f765c 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -67,6 +67,8 @@ static const bool DEFAULT_USE_HD_WALLET = true; extern const char * DEFAULT_WALLET_DAT; +static const int64_t TIMESTAMP_MIN = 0; + class CBlockIndex; class CCoinControl; class COutput; @@ -918,6 +920,7 @@ public: void BlockConnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex *pindex, const std::vector<CTransactionRef>& vtxConflicted) override; void BlockDisconnected(const std::shared_ptr<const CBlock>& pblock) override; bool AddToWalletIfInvolvingMe(const CTransactionRef& tx, const CBlockIndex* pIndex, int posInBlock, bool fUpdate); + int64_t RescanFromTime(int64_t startTime, bool update); CBlockIndex* ScanForWalletTransactions(CBlockIndex* pindexStart, bool fUpdate = false); void ReacceptWalletTransactions(); void ResendWalletTransactions(int64_t nBestBlockTime, CConnman* connman) override; |