
tendermint
Kingwel2020
这个作者很懒,什么都没留下…
展开
-
tendermint, local & remote client
tendermint, local & remote clientclientCreatorcreateAndStartProxyAppConnsmultiAppConnLocal ClientRemote ClientTendermint supports both local and remote clients. Local client means using tendermint as a library, thus we will only hvae a single os proce原创 2020-05-21 17:19:47 · 301 阅读 · 0 评论 -
tendermint, consensus reactor
tendermint, consensus reactorChannelMessagesOnStartPeerStateAddPeerReceiveSwitchToConsensusThe consensus reactor is the service for consensus p2p messages.Channel StateChannel = byte(0x20) DataChannel = byte(0x21) VoteChannel = byt原创 2020-05-21 16:50:13 · 225 阅读 · 0 评论 -
tendermint, consensus state
tendermint, consensus stateStateEventSwitchRoundStateRoundStepTypeupdateToStateStartreceiveRoutinehandleTxsAvailableenterProposehandleMsghandleTimeoutHow it works on Single NodeStateIt is the core state machine of consensus algorithm, handling votes and原创 2020-05-20 21:42:45 · 272 阅读 · 0 评论 -
tendermint, PEX
tendermint, PEXReactorConfigChannels & MessagesStartcrawlPeersRoutine()ensurePeersRoutine()AddPeer & RemovePeerReceivepexRequestMessagepexAddrsMessagedialPeerAddrBookInitializationStartPEX handles peer exchange, finding more peers and building the原创 2020-05-20 08:47:03 · 322 阅读 · 0 评论 -
tendermint, evidence
tendermint, evidenceInitializationevidenceDB and storeevPoolevPool.PendingEvidenceevPool.UpdateevPool.AddEvidenceevidence ReactorbroadcastEvidenceRoutineReceiveInitializationIn NewNode(),evidenceReactor, evidencePool, err := createEvidenceReactor(config原创 2020-05-19 18:23:22 · 216 阅读 · 0 评论 -
tendermint, blockchain reactor
tendermint, blockchain reactorData StructureChannelMessagesAddPeer/RemovePeerpoolRoutineBlockPoolJudgement of CaughtUpPool.requestersPool.maxPeerHeightpool.makeRequestersRoutine()bpRequesterbpRequester.requestRoutineBlockchain reactor is used to sync up t原创 2020-05-18 20:48:13 · 291 阅读 · 0 评论 -
tendermint, MultiplexTransport
tendermint, MultiplexTransportInterfaceImplementationUpgradeSecretConnectionIt is a TCP based multiplexed connection manager.InterfaceAbstract of making inbound/outbound connection with peer.// Transport emits and connects to Peers. The implementation原创 2020-05-18 09:38:05 · 257 阅读 · 0 评论 -
tendermint, switch & reactor
tendermint, switch & reactorSwitchInitializationacceptRoutine - inboundDialPeerWithAddress - outboundaddPeerReactorConsensusBlockchainPEXMempoolEvidenceThese two parts demonstrate how tendermint handles the underlying p2p and upper layer logics.The a原创 2020-05-17 22:13:16 · 310 阅读 · 0 评论 -
tendermint, mempool
Tendermint, MempoolMempool interfaceThe mempool pushes txs onto the proxy app.Mempool interface// Mempool defines the mempool interface.//// Updates to the mempool need to be synchronized with committing a block so// apps can reset their transient s原创 2020-05-16 22:32:03 · 619 阅读 · 1 评论