FISCO BCOS 节点启动初始化日志

Posted 软件工程小施同学

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了FISCO BCOS 节点启动初始化日志相关的知识,希望对你有一定的参考价值。

info|2021-08-26 09:57:15.469850|[INITIALIZER][initGlobalConfig],enableCompress=true,compatibilityVersion=2.7.2,versionNumber=34013696,enableStat=false,chainId=1,useSMCrypto=false
info|2021-08-26 09:57:15.469924|[INITIALIZER][SecureInitializer]loading privateKey
info|2021-08-26 09:57:15.481304|[INITIALIZER][SecureInitializer]get pub of node,nodeID=f0e17812e25ae5c13c0cb896f91c3453823cd23dc7733c2d011719fb6f3a2acad770f934fbb163153687863d43a9864ddfb2ce6efcd1c0d6ce055d994345b3c3
info|2021-08-26 09:57:15.481449|[INITIALIZER][SecureInitializer]use user certificate,file=conf//node.crt
info|2021-08-26 09:57:15.481647|[INITIALIZER][SecureInitializer]use ca certificate,file=conf//ca.crt
info|2021-08-26 09:57:15.481709|[INITIALIZER][SecureInitializer]use ca,file=conf//
info|2021-08-26 09:57:15.482052|[NETWORK][Host]Connecting to node,endpoint=127.0.0.1:30300
info|2021-08-26 09:57:15.482157|[NETWORK][Host]P2P StartAccept,Host=0.0.0.0:30300
info|2021-08-26 09:57:15.482187|[P2P][Service] heartBeat,connected count=0
info|2021-08-26 09:57:15.482209|[INITIALIZER][RPCInitializer],network_security.check_cert_issuer=true
info|2021-08-26 09:57:15.482702|[NETWORK][ASIO]asyncResolveConnect,endpoint=127.0.0.1:30300
info|2021-08-26 09:57:15.483001|[NETWORK][Host]P2P Recv Connect, From=127.0.0.1:40806
info|2021-08-26 09:57:15.483118|[NETWORK][Host]P2P StartAccept,Host=0.0.0.0:30300
info|2021-08-26 09:57:15.483314|[CHANNEL]ChannelRPCServer started
info|2021-08-26 09:57:15.483340|[INITIALIZER][RPCInitializer]ChannelRPCHttpServer started.
info|2021-08-26 09:57:15.483346|[INITIALIZER][LedgerInitializer]initConfig
info|2021-08-26 09:57:15.483352|[LedgerInitializer],groupConfigPath=conf/
info|2021-08-26 09:57:15.483490|[INITIALIZER][initSingleLedger] [GroupId], LedgerConstructor:  1,configFileName=conf/group.1.genesis,dataDir=data/
info|2021-08-26 09:57:15.483558|[g:1][LedgerParam][parseGenesisConfig]initConsensusConfig/initStorageConfig/initTxConfig,configFile=conf/group.1.genesis
info|2021-08-26 09:57:15.483571|[g:1][LedgerParam][initConsensusConfig],type=pbft,consensusTimeout=3,maxTxNum=1000,txGasLimit=300000000
info|2021-08-26 09:57:15.483585|[g:1][LedgerParam][parsePublicKeyListOfSection],sectionName=consensus,it.first=f0e17812e25ae5c13c0cb896f91c3453823cd23dc7733c2d011719fb6f3a2acad770f934fbb163153687863d43a9864ddfb2ce6efcd1c0d6ce055d994345b3c3
info|2021-08-26 09:57:15.483592|[g:1][LedgerParam][parsePublicKeyListOfSection],totalPubKeySize=1
info|2021-08-26 09:57:15.483604|[g:1][LedgerParam][max_block_range],maxBlockRange=0,maxBlockPerProcess=3
info|2021-08-26 09:57:15.483613|[g:1][LedgerParam][parseGenesisConfig],timestamp=1625793024000
info|2021-08-26 09:57:15.483622|[g:1][LedgerParam]setEVMFlags,enableFreeStorageVMSchedule=false,evmFlags=0
info|2021-08-26 09:57:15.483634|[g:1][LedgerParam]store evmFlag,evmFlag=0
info|2021-08-26 09:57:15.483638|[g:1][LedgerParam]store consensus time,consensusTimeout=3
info|2021-08-26 09:57:15.483643|[g:1][LedgerParam][initMark],genesisMark=1-f0e17812e25ae5c13c0cb896f91c3453823cd23dc7733c2d011719fb6f3a2acad770f934fbb163153687863d43a9864ddfb2ce6efcd1c0d6ce055d994345b3c3,-pbft-storage-0-1000-300000000-3
info|2021-08-26 09:57:15.483648|[g:1][LedgerParam][initIniConfig]initTxPoolConfig/initSyncConfig/initTxExecuteConfig,configFile=conf/group.1.ini
info|2021-08-26 09:57:15.483764|[g:1][LedgerParam][initStorageConfig],stateType=storage,storageDB=rocksdb,storagePath=data//group1/block/RocksDB,baseDir=data//group1,dbtype=mysql,dbip=127.0.0.1,dbport=3306,dbcharset=utf8mb4,initconnections=15,maxconnections=50,scrollThreshold=2000
info|2021-08-26 09:57:15.483793|[g:1][LedgerParam][initTxPoolConfig],txPoolLimit=150000,memorySizeLimit(MB)=512,notifyWorkerNum=2
info|2021-08-26 09:57:15.483801|[g:1][LedgerParam][initSyncConfig],idleWaitMs=200
info|2021-08-26 09:57:15.483809|[g:1][LedgerParam][initSyncConfig],enableSendTxsByTree=true,enableSendBlockStatusByTree=true
info|2021-08-26 09:57:15.483814|[g:1][LedgerParam][initSyncConfig],gossipInterval=1000
info|2021-08-26 09:57:15.483822|[g:1][LedgerParam][initSyncConfig],enableSendBlockStatusByTree=true,gossipInterval=1000,gossipPeers=3,syncTreeWidth=3,maxQueueSizeForBlockSync=536870912,txsStatusGossipMaxPeers=5
info|2021-08-26 09:57:15.483828|[g:1][LedgerParam][InitTxExecuteConfig],enableParallel=true
info|2021-08-26 09:57:15.483841|[g:1][LedgerParam][initConsensusIniConfig],maxTTL=2,minBlockGenerationTime=500,enablDynamicBlockSize=true,blockSizeIncreaseRatio=0.5,enableTTLOptimize=true,enablePrepareWithTxsHash=true
info|2021-08-26 09:57:15.483862|[g:1][LedgerParam][initRPBFTConsensusIniConfig],broadcastPrepareByTree=true,prepareStatusBroadcastPercent=33,maxRequestMissedTxsWaitTime=100,maxRequestPrepareWaitTime=100
info|2021-08-26 09:57:15.483868|[g:1][LedgerParam][initFlowControlConfig],maxQPS=9223372036854775807,outGoingBandwidth(Bytes)=9223372036854775807
info|2021-08-26 09:57:15.483873|[g:1][LedgerParam]parseSDKAllowList,sdkAllowList=[],enableSDKAllowListControl=false
info|2021-08-26 09:57:15.483888|[g:1][LEDGER][initLedger][DBInitializer]
info|2021-08-26 09:57:15.483892|[g:1][LEDGER]setSDKAllowList,groupId=1,sdkAllowListSize=0
info|2021-08-26 09:57:15.483906|[g:1][CHANNEL]registerSDKAllowListByGroupId,groupId=1,size=0
info|2021-08-26 09:57:15.483910|[g:1][CHANNEL]Disable group-level sdk permission control for sdk allowlist is empty
info|2021-08-26 09:57:15.483913|[g:1][DBINITIALIZER] [initStorageDB]
info|2021-08-26 09:57:15.483917|[g:1][DBINITIALIZER] [initRocksDBStorage]
info|2021-08-26 09:57:15.483946|[g:1][ROCKSDB]open rocksDB handler,path=data//group1/block/RocksDB
info|2021-08-26 09:57:15.496482|[NETWORK][Host]handshakeServer succ,remote endpoint=127.0.0.1:40806
info|2021-08-26 09:57:15.496580|[NETWORK][Host]startPeerSession, Remote=127.0.0.1:40806,local endpoint=127.0.0.1:30300,nodeID=f0e17812...
info|2021-08-26 09:57:15.496708|[NETWORK][Host]handshakeClient succ,local endpoint=127.0.0.1:40806
info|2021-08-26 09:57:15.496758|[NETWORK][Host]startPeerSession, Remote=127.0.0.1:30300,local endpoint=127.0.0.1:40806,nodeID=f0e17812...
info|2021-08-26 09:57:15.508390|[g:1][g:1][STORAGE][CachedStorage]Init flushStorage thread
info|2021-08-26 09:57:15.508560|[g:1][DBINITIALIZER] [init CachedStorage],maxCapacity=32,maxForwardBlock=10
info|2021-08-26 09:57:15.508584|[g:1][LEDGER][initLedger][initBlockChain]
info|2021-08-26 09:57:15.508821|[g:1][LEDGER]set enableHexBlock to be false,version=34013696
info|2021-08-26 09:57:15.508850|[g:1][BLOCKCHAIN][#checkAndBuildGenesisBlock],shouldBuild=false
info|2021-08-26 09:57:15.511045|[g:1][BLOCKCHAIN][#checkAndBuildGenesisBlock]Already have the 0th block, 0th groupMark is equal to file groupMark.
info|2021-08-26 09:57:15.511068|[g:1][LEDGER][initLedger]initBlockChain SUCC
info|2021-08-26 09:57:15.511146|[g:1][DBINITIALIZER] [createStateFactory],type=storage
info|2021-08-26 09:57:15.511166|[g:1][DBINITIALIZER] createStorageState SUCC
info|2021-08-26 09:57:15.511169|[g:1][DBINITIALIZER] [createStateFactory SUCC]
info|2021-08-26 09:57:15.511173|[g:1][DBINITIALIZER] createExecutiveContext...
info|2021-08-26 09:57:15.511188|[g:1][LEDGER]createGasMetric,vmFlagType=0
info|2021-08-26 09:57:15.511194|[g:1][LEDGER]createGasMetric
info|2021-08-26 09:57:15.511199|[g:1][DBINITIALIZER] create precompiledGasFactory and precompiledResultFactory
info|2021-08-26 09:57:15.511202|[g:1][DBINITIALIZER] createExecutiveContext SUCC
info|2021-08-26 09:57:15.511205|[g:1][DBINITIALIZER] [setSyncNumForCachedStorage],syncNum=11927
info|2021-08-26 09:57:15.511214|[g:1][LEDGER][initNetworkBandWidthLimiter: outGoingBandwidthLimit has been disabled],groupId=1
info|2021-08-26 09:57:15.511218|[g:1][LEDGER][QPSLimit has been disabled],groupId=1
info|2021-08-26 09:57:15.511221|[g:1][LEDGER][initLedger][initBlockVerifier]
info|2021-08-26 09:57:15.511226|[g:1][LEDGER][initLedger][initBlockVerifier SUCC],evmFlags=0
info|2021-08-26 09:57:15.511231|[g:1][LEDGER][initLedger][initTxPool],txPoolLimit=150000
info|2021-08-26 09:57:17.515378|[g:1][STORAGE][CachedStorage]Clear finished, total: 122 entries, through: 122 entries, 6.7295 MB, Current total entries: 576, Current total mru entries: 576, total capacaity: 31.9387 MB
info|2021-08-26 09:57:17.999679|[g:1][LEDGER][initLedger]initTxPool SUCC
info|2021-08-26 09:57:17.999715|[g:1][LEDGER][initLedger][initSync],idleWaitMs=200,gossipInterval=1000,gossipPeers=3
info|2021-08-26 09:57:17.999724|[g:1][LEDGER]Init sync master,enableSendBlockStatusByTree=true,enableSendTxsByTree=true
info|2021-08-26 09:57:18.002074|[g:1][LEDGER][initLedger]initSync SUCC
info|2021-08-26 09:57:18.002103|[g:1][LEDGER][initLedger][consensusInitFactory]
info|2021-08-26 09:57:18.002110|[g:1][LEDGER][initLedger][createPBFTSealer]
info|2021-08-26 09:57:18.002113|[g:1][LEDGER][initLedger][createPBFTSealer],baseDir=data//group1,Protocol=65544
info|2021-08-26 09:57:18.002122|[g:1][LEDGER][initLedger]createPBFTSealer for PBFT or rPBFT,consensusType=pbft
info|2021-08-26 09:57:18.002126|[g:1][LEDGER]createConsensusEngine: create PBFTEngine
info|2021-08-26 09:57:18.002133|[g:1][CONSENSUS][PBFT]Register handler for PBFTEngine
info|2021-08-26 09:57:18.003581|[g:1][CONSENSUS][PBFT]setMinBlockGenerationTime,minBlockGenerationTime=500,consensusTime=1000
info|2021-08-26 09:57:18.003616|[g:1][LEDGER][initEventLogFilterManager]initEventLogFilterManager SUCC
info|2021-08-26 09:57:18.003622|[LedgerInitializer init group succ],groupID=1
info|2021-08-26 09:57:18.004033|[INITIALIZER][RPCInitializer JsonrpcHttpServer started],jsonrpc_IP=127.0.0.1,jsonrpc_listen_port=8545,ipv6=false
info|2021-08-26 09:57:18.004084|[g:1][LEDGER]startAll...
info|2021-08-26 09:57:18.005395|[g:1][GossipBlockStatus]start GossipBlockStatus succ
info|2021-08-26 09:57:18.005424|[g:1][CONSENSUS][ConsensusEngine][Start ConsensusEngineBase]
info|2021-08-26 09:57:18.005776|[g:1][CONSENSUS][PBFT]^^^^^^^^Report,num=11927,sealerIdx=0,hash=002ada1a...,next=11928,tx=10,nodeIdx=0
info|2021-08-26 09:57:18.005875|[g:1][ROCKSDB]open rocksDB handler,path=data//group1/pbftMsgBackup/RocksDB
info|2021-08-26 09:57:18.019308|[g:1][CONSENSUS][PBFT][PBFT init env successfully]
info|2021-08-26 09:57:18.019355|[g:1][CONSENSUS][PBFT][Start PBFTEngine...]
info|2021-08-26 09:57:18.019366|[g:1][CONSENSUS][SEALER][Start sealer module]
info|2021-08-26 09:57:18.019952|[g:1][EVENT][EventLogFilterManager]start,m_maxBlockRange=0,m_maxBlockPerLoopFilter=3
info|2021-08-26 09:57:18.519762|[g:1][STORAGE][CachedStorage]Clear finished, total: 176 entries, through: 176 entries, 10.0031 MB, Current total entries: 718, Current total mru entries: 718, total capacaity: 31.9865 MB
info|2021-08-26 09:57:19.006749|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=11928,tx=0,maxTransactionLimit=2000,nodeIdx=0,hash=e9a9cb9e...
info|2021-08-26 09:57:19.028975|[g:1][CONSENSUS][PBFT]checkAndChangeView: Reach consensus,org_view=0,cur_changeCycle=1,curView=0,view=1
info|2021-08-26 09:57:19.029043|[g:1][CONSENSUS][PBFT]checkTimeout Succ,view=1,toView=1,nodeIdx=0,changeCycle=1,myNode=f0e17812...,timecost=0.356
info|2021-08-26 09:57:20.030214|[g:1][CONSENSUS][SEALER]++++++++++++++++ Generating seal on,blkNum=11928,tx=0,maxTransactionLimit=2000,nodeIdx=0,hash=67a1393b...
info|2021-08-26 09:57:20.038102|[g:1][CONSENSUS][PBFT]checkAndChangeView: Reach consensus,org_view=1,cur_changeCycle=1,curView=1,view=2

以上是关于FISCO BCOS 节点启动初始化日志的主要内容,如果未能解决你的问题,请参考以下文章

FISCO BCOS离线搭建单机单群组4节点

区块链入门教程--FISCO BCOS单机四节点联盟链安装

FISCO BCOS 负载均衡

FISCO BCOS 日志设置配置

FISCO BCOS 日志分析 关键词

搭建第一个Dapp应用——搭建FISCO BCOS联盟链——2021.5.3