Skip to content

Commit

Permalink
set block fee limit
Browse files Browse the repository at this point in the history
  • Loading branch information
libangzhu committed Feb 2, 2024
1 parent 5de6bc4 commit e08fefe
Show file tree
Hide file tree
Showing 11 changed files with 163 additions and 121 deletions.
4 changes: 4 additions & 0 deletions cmd/chain33/bityuan.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ maxTxFee=1000000000
# 单笔交易最大的手续费, 50 coins
maxTxFee=5000000000

[mver.mempool.ForkMaxTxFeeV2]
# 单笔交易最大的手续费, 10 coins
maxTxFee=1000000000

[store]
# 数据文件存储路径
dbPath="datadir/mavltree"
Expand Down
3 changes: 3 additions & 0 deletions cmd/chain33/chain33.fork.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ ForkRootHash=4500000
ForkFormatAddressKey=0
ForkCheckEthTxSort=0
ForkProxyExec=0
ForkMaxBlockFee=0
ForkMaxTxFeeV1=0
ForkMaxBlockFee=0

[fork.sub.none]
ForkUseTimeDelay=0

Expand Down
4 changes: 3 additions & 1 deletion cmd/chain33/chain33.system.fork.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,6 @@ ForkRootHash=4500000
ForkFormatAddressKey=0
ForkCheckEthTxSort=0
ForkProxyExec=0
ForkMaxTxFeeV1=0
ForkMaxTxFeeV1=0
ForkMaxTxFeeV2=0
ForkMaxBlockFee=0
4 changes: 4 additions & 0 deletions cmd/chain33/chain33.test.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ isLevelFee=false
# 单笔交易最大的手续费, 50 coins
maxTxFee=5000000000

[mver.mempool.ForkMaxTxFeeV2]
# 单笔交易最大的手续费, 10 coins
maxTxFee=1000000000

[mempool.sub.timeline]
poolCacheSize=10240

Expand Down
4 changes: 3 additions & 1 deletion cmd/chain33/chain33.toml
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ isLevelFee=false
[mver.mempool.ForkMaxTxFeeV1]
# 单笔交易最大的手续费, 50 coins
maxTxFee=5000000000

[mver.mempool.ForkMaxTxFeeV2]
# 单笔交易最大的手续费, 10 coins
maxTxFee=1000000000

[mempool.sub.timeline]
# mempool缓存容量大小,默认10240
Expand Down
Loading

0 comments on commit e08fefe

Please sign in to comment.