From 0eb1d10a3f1eb0303d1d4742cbf896c6a8a15ed6 Mon Sep 17 00:00:00 2001 From: icodezjb Date: Thu, 30 Nov 2017 17:22:51 +0800 Subject: [PATCH] change MaxTxSize and MaxBlockSzie to 1048576 bytes (#156) --- consensus/general.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/general.go b/consensus/general.go index 9f38724b4..627807387 100644 --- a/consensus/general.go +++ b/consensus/general.go @@ -9,8 +9,8 @@ import ( //consensus variables const ( // define the Max transaction size and Max block size - MaxTxSize = uint64(1024) - MaxBlockSzie = uint64(16384) + MaxTxSize = uint64(1048576) + MaxBlockSzie = uint64(1048576) //config parameter for coinbase reward CoinbasePendingBlockNumber = uint64(6)