OSDN Git Service

change MaxTxSize and MaxBlockSzie to 1048576 bytes (#156) v0.2.0
authoricodezjb <icodezjb@163.com>
Thu, 30 Nov 2017 09:22:51 +0000 (17:22 +0800)
committerGuanghua Guo <1536310027@qq.com>
Thu, 30 Nov 2017 09:22:51 +0000 (17:22 +0800)
consensus/general.go

index 9f38724..6278073 100644 (file)
@@ -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)