Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: set block fee limit #1321

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 4 additions & 0 deletions cmd/chain33/chain33.fork.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@ ForkRootHash=4500000
ForkFormatAddressKey=0
ForkCheckEthTxSort=0
ForkProxyExec=0
ForkMaxBlockFee=0
ForkMaxTxFeeV1=0
ForkMaxTxFeeV2=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
Loading