Make 100KB transaction size limit a consensus rule, rather than a standard rule.

This commit is contained in:
Sean Bowe
2016-10-08 00:00:23 -06:00
parent f2c99399b8
commit 74f15a73a1
6 changed files with 28 additions and 24 deletions

View File

@@ -2471,7 +2471,7 @@ bool CWallet::CreateTransaction(const vector<CRecipient>& vecSend,
// Limit size
unsigned int nBytes = ::GetSerializeSize(*(CTransaction*)&wtxNew, SER_NETWORK, PROTOCOL_VERSION);
if (nBytes >= MAX_STANDARD_TX_SIZE)
if (nBytes >= MAX_TX_SIZE)
{
strFailReason = _("Transaction too large");
return false;