void PrintBlockTree();
CBlockIndex* FindBlockByHeight(int nHeight);
bool ProcessMessages(CNode* pfrom);
-bool SendMessages(CNode* pto, bool fSendTrickle);
+bool SendMessages(CNode* pto);
bool LoadExternalBlockFile(FILE* fileIn);
// Run an instance of the script checking thread
bool GetTransaction(const uint256 &hash, CTransaction &tx, uint256 &hashBlock);
uint256 WantedByOrphan(const CBlock* pblockOrphan);
const CBlockIndex* GetLastBlockIndex(const CBlockIndex* pindex, bool fProofOfStake);
-void ResendWalletTransactions();
+void ResendWalletTransactions(bool fForceResend=false);
bool VerifySignature(const CTransaction& txFrom, const CTransaction& txTo, unsigned int nIn, unsigned int flags, int nHashType);
try {
filein >> *this;
}
- catch (std::exception &e) {
- (void)e;
+ catch (const std::exception&) {
return error("%s() : deserialize or I/O error", BOOST_CURRENT_FUNCTION);
}
try {
filein >> *this;
}
- catch (std::exception &e) {
- (void)e;
+ catch (const std::exception&) {
return error("%s() : deserialize or I/O error", BOOST_CURRENT_FUNCTION);
}