diff options
author | Eric Lombrozo <elombrozo@gmail.com> | 2013-01-07 06:39:53 -0800 |
---|---|---|
committer | Eric Lombrozo <elombrozo@gmail.com> | 2013-06-05 20:36:10 -0700 |
commit | 8926263dde10bed3f42e21e5f106365f1192e6c0 (patch) | |
tree | 2b00ca18e361e9ea76351b3dff39c8947ded8568 /src/main.h | |
parent | 336fe971e68f0336d42e1fa930b6a9c717f612e0 (diff) |
Moved PushGetBlocks to main.cpp to eliminate dependence of net.cpp on CBlockLocator.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index fae37ea512..feaa10318c 100644 --- a/src/main.h +++ b/src/main.h @@ -122,6 +122,9 @@ void RegisterWallet(CWallet* pwalletIn); void UnregisterWallet(CWallet* pwalletIn); /** Push an updated transaction to all registered wallets */ void SyncWithWallets(const uint256 &hash, const CTransaction& tx, const CBlock* pblock = NULL, bool fUpdate = false); + +void PushGetBlocks(CNode* pnode, CBlockIndex* pindexBegin, uint256 hashEnd); + /** Process an incoming block */ bool ProcessBlock(CValidationState &state, CNode* pfrom, CBlock* pblock, CDiskBlockPos *dbp = NULL); /** Check whether enough disk space is available for an incoming block */ |