mirror of https://github.com/poanetwork/quorum.git
Merge pull request #510 from nathanawmk/master
Update max transaction size limit.
This commit is contained in:
commit
40cf04732e
|
@ -558,7 +558,8 @@ func (pool *TxPool) validateTx(tx *types.Transaction, local bool) error {
|
|||
return ErrInvalidGasPrice
|
||||
}
|
||||
// Heuristic limit, reject transactions over 32KB to prevent DOS attacks
|
||||
if tx.Size() > 32*1024 {
|
||||
// UPDATED to 64KB to support the deployment of bigger contract due to the pressing need for sophisticated/complex contract in financial/capital markets - Nathan Aw
|
||||
if tx.Size() > 64*1024 {
|
||||
return ErrOversizedData
|
||||
}
|
||||
// Transactions can't be negative. This may never happen using RLP decoded
|
||||
|
|
Loading…
Reference in New Issue