OSDN Git Service
(root)
/
bytom
/
bytom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a04284a
)
change MaxTxSize and MaxBlockSzie to 1048576 bytes (#156)
v0.2.0
author
icodezjb
<icodezjb@163.com>
Thu, 30 Nov 2017 09:22:51 +0000
(17:22 +0800)
committer
Guanghua Guo
<1536310027@qq.com>
Thu, 30 Nov 2017 09:22:51 +0000
(17:22 +0800)
consensus/general.go
patch
|
blob
|
history
diff --git
a/consensus/general.go
b/consensus/general.go
index
9f38724
..
6278073
100644
(file)
--- 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(10
24
)
- MaxBlockSzie = uint64(1
6384
)
+ MaxTxSize = uint64(10
48576
)
+ MaxBlockSzie = uint64(1
048576
)
//config parameter for coinbase reward
CoinbasePendingBlockNumber = uint64(6)