-
Notifications
You must be signed in to change notification settings - Fork 256
平行链配置
linj edited this page Nov 23, 2022
·
1 revision
Title = "user.p.testchain."
TestNet = false
CoinSymbol = "TEST"
EnableParaFork = true
[log]
loglevel = "debug"
logConsoleLevel = "info"
logFile = "logs/chain33.para.log"
maxFileSize = 300
maxBackups = 100
maxAge = 28
localTime = true
compress = true
callerFile = false
callerFunction = false
[blockchain]
defCacheSize = 128
maxFetchBlockNum = 128
timeoutSeconds = 5
batchBlockNum = 128
driver = "leveldb"
dbPath = "paradatadir"
dbCache = 64
isStrongConsistency = true
singleMode = true
batchsync = false
isRecordBlockSequence = true
isParaChain = true
enableTxQuickIndex = true
enableReExecLocal = true
enableReduceLocaldb = false
[p2p]
enable = false
driver = "leveldb"
dbPath = "paradatadir/addrbook"
dbCache = 4
grpcLogFile = "grpc33.log"
[rpc]
jrpcBindAddr = ":8801"
grpcBindAddr = ":8802"
whitelist = ["*"]
jrpcFuncWhitelist = ["*"]
grpcFuncWhitelist = ["*"]
[mempool]
name = "para"
poolCacheSize = 10240
minTxFeeRate = 100000
maxTxNumPerAccount = 10000
[consensus]
name = "para"
genesisBlockTime = 1514533394
genesis = "14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"
minerExecs = ["paracross"]
[consensus.sub]
[consensus.sub.para]
# 主链的grpc接口地址
ParaRemoteGrpcClient = "192.168.0.137:8802"
#指定从主链某高度的区块开始同步
startHeight = 10080000
writeBlockSeconds = 2
authAccount = ""
genesisAmount = 30000000
mainBlockHashForkHeight = 209186
mainForkParacrossCommitTx = 2270000
mainLoopCheckCommitTxDoneForkHeight = 4320000
emptyBlockInterval = ["0:50"]
[mver]
[mver.consensus]
fundKeyAddr = "1BQXS6TxaYYG5mADaWij4AxhZZUTpw95a5"
powLimitBits = "0x1f00ffff"
maxTxNumber = 1600
[mver.consensus.paracross]
coinReward = 18
coinDevFund = 12
[store]
name = "kvmvccmavl"
driver = "leveldb"
storedbVersion = "2.0.0"
dbPath = "paradatadir/mavltree"
dbCache = 128
[store.sub]
[store.sub.mavl]
enableMavlPrefix = false
enableMVCC = false
enableMavlPrune = false
pruneHeight = 10000
enableMemTree = true
enableMemVal = true
tkCloseCacheLen = 100000
[store.sub.kvmvccmavl]
enableMVCCIter = true
enableMavlPrefix = false
enableMVCC = false
enableMavlPrune = false
pruneMavlHeight = 10000
enableMVCCPrune = false
pruneMVCCHeight = 10000
enableMemTree = true
enableMemVal = true
tkCloseCacheLen = 100000
enableEmptyBlockHandle = false
[wallet]
minFee = 100000
driver = "leveldb"
dbPath = "parawallet"
dbCache = 16
signType = "secp256k1"
minerdisable = true
[exec]
enableStat = false
enableMVCC = false
[exec.sub]
[exec.sub.relay]
genesis = "1JmFaA6unrCFYEWPGRi7uuXY1KthTJxJEP"
[exec.sub.manage]
superManager = ["14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"]
[exec.sub.token]
saveTokenTxList = true
tokenApprs = ["14KEKbYtKKQm4wMthSK9J4La4nAiidGozt"]
[exec.sub.paracross]
paraConsensusStopBlocks = 30000
[exec.sub.autonomy]
total = "16htvcBNSEA7fZhAdLJphDwQRQJaHpyHTp"
useBalance = false
[fork]
[fork.system]
ForkChainParamV1 = 0
ForkCheckTxDup = 0
ForkBlockHash = 1
ForkMinerTime = 0
ForkTransferExec = 0
ForkExecKey = 0
ForkTxGroup = 0
ForkResetTx0 = 0
ForkWithdraw = 0
ForkExecRollback = 0
ForkCheckBlockTime = 0
ForkTxHeight = 0
ForkTxGroupPara = 0
ForkChainParamV2 = 0
ForkMultiSignAddress = 0
ForkStateDBSet = 0
ForkLocalDBAccess = 0
ForkBlockCheck = 0
ForkBase58AddressCheck = 0
ForkEnableParaRegExec = 100000
ForkCacheDriver = 0
ForkTicketFundAddrV1 = -1
ForkRootHash = 7200000
[fork.sub]
[fork.sub.coins]
Enable = 0
[fork.sub.ticket]
Enable = 0
ForkTicketId = 0
ForkTicketVrf = 0
[fork.sub.retrieve]
Enable = 0
ForkRetrive = 0
ForkRetriveAsset = 0
[fork.sub.hashlock]
Enable = 0
ForkBadRepeatSecret = 0
[fork.sub.manage]
Enable = 0
ForkManageExec = 0
[fork.sub.token]
Enable = 0
ForkTokenBlackList = 0
ForkBadTokenSymbol = 0
ForkTokenPrice = 0
ForkTokenSymbolWithNumber = 0
ForkTokenCheck = 100000
[fork.sub.trade]
Enable = 0
ForkTradeBuyLimit = 0
ForkTradeAsset = 0
ForkTradeID = 0
ForkTradeFixAssetDB = 0
ForkTradePrice = 0
[fork.sub.paracross]
Enable = 0
ForkParacrossWithdrawFromParachain = 0
ForkParacrossCommitTx = 0
ForkLoopCheckCommitTxDone = 0
ForkParaSelfConsStages = 0
ForkParaAssetTransferRbk = 0
[fork.sub.evm]
Enable = 0
ForkEVMState = 0
ForkEVMABI = 0
ForkEVMFrozen = 0
ForkEVMKVHash = 0
[fork.sub.blackwhite]
Enable = 0
ForkBlackWhiteV2 = 0
[fork.sub.cert]
Enable = 0
[fork.sub.guess]
Enable = 0
[fork.sub.lottery]
Enable = 0
[fork.sub.oracle]
Enable = 0
[fork.sub.relay]
Enable = 0
[fork.sub.norm]
Enable = 0
[fork.sub.pokerbull]
Enable = 0
[fork.sub.privacy]
Enable = 0
[fork.sub.game]
Enable = 0
[fork.sub.multisig]
Enable = 0
[fork.sub.unfreeze]
Enable = 0
ForkTerminatePart = 0
ForkUnfreezeIDX = 0
[fork.sub.autonomy]
Enable = 0
[fork.sub.jsvm]
Enable = 0
[fork.sub.issuance]
Enable = 0
ForkIssuanceTableUpdate = 0
[fork.sub.collateralize]
Enable = 0
ForkCollateralizeTableUpdate = 0
[fork.sub.store-kvmvccmavl]
ForkKvmvccmavl = 100000
[fork.sub.storage]
Enable = 0
[fork.sub.evm]
Enable = 0
[pprof]
listenAddr = "localhost:6061"
[metrics]
enableMetrics = false
dataEmitMode = "influxdb"
[metrics.sub]
[metrics.sub.influxdb]
duration = 1000000000
url = "http://influxdb:8086"
database = "chain33metrics"
username = ""
password = ""
namespace = ""
hello world