X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.h;h=63884b214d2d6360908fcbdcd94ccb071a59c0a7;hb=cecf7a56ed5a5efd939b21c760c69da616306005;hp=da8d602a82fc25bb619c473852c6c73f60ef18e4;hpb=e10fa48ea2c24f9647668aafa1f9caa48a51de2f;p=novacoin.git diff --git a/src/main.h b/src/main.h index da8d602..63884b2 100644 --- a/src/main.h +++ b/src/main.h @@ -14,6 +14,7 @@ #include "script.h" #include "scrypt.h" +#include #include #include @@ -42,7 +43,7 @@ static const unsigned int MAX_INV_SZ = 50000; static const int64_t MIN_TX_FEE = CENT/10; static const int64_t MIN_RELAY_TX_FEE = CENT/50; -static const int64_t MAX_MONEY = 2000000000 * COIN; +static const int64_t MAX_MONEY = std::numeric_limits::max(); static const int64_t MAX_MINT_PROOF_OF_WORK = 100 * COIN; static const int64_t MAX_MINT_PROOF_OF_STAKE = 1 * COIN; static const int64_t MIN_TXOUT_AMOUNT = CENT/100; @@ -132,7 +133,7 @@ std::string GetWarnings(std::string strFor); 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);