mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-12 23:07:11 +00:00
.
This commit is contained in:
parent
002cfc8f75
commit
c0bf95eb73
35
peer/README
35
peer/README
@ -1,35 +0,0 @@
|
|||||||
////////////////////////////
|
|
||||||
// All client impl internal messages
|
|
||||||
// No filter
|
|
||||||
** Channel ""
|
|
||||||
|
|
||||||
* NewFilterMsg
|
|
||||||
* ...?
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////
|
|
||||||
// All blocks
|
|
||||||
// Requires a custom simple filter
|
|
||||||
** Channel "block"
|
|
||||||
|
|
||||||
* BlockMsg
|
|
||||||
* HeaderMsg
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////
|
|
||||||
// New transactions that haven't been committed
|
|
||||||
// e.g. the mempool
|
|
||||||
// n:10k, p:0.02 -> k:6, m:10KB
|
|
||||||
** Channel "newtx"
|
|
||||||
|
|
||||||
* NewTxMsg
|
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////
|
|
||||||
// All about the consensus
|
|
||||||
// No filter
|
|
||||||
** Channel "consensus"
|
|
||||||
|
|
||||||
* ProposalMsg
|
|
||||||
* VoteMsg
|
|
||||||
* NewBlockMsg
|
|
38
peer/README.md
Normal file
38
peer/README.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
## Channel ""
|
||||||
|
|
||||||
|
Filter: None
|
||||||
|
|
||||||
|
Messages:
|
||||||
|
* RefreshFilterMsg
|
||||||
|
* PeerExchangeMsg
|
||||||
|
|
||||||
|
|
||||||
|
## Channel "block"
|
||||||
|
|
||||||
|
Filter: Custom filter.
|
||||||
|
|
||||||
|
Messages:
|
||||||
|
* BlockMsg
|
||||||
|
* HeaderMsg
|
||||||
|
|
||||||
|
|
||||||
|
## Channel "mempool"
|
||||||
|
|
||||||
|
Filter: Bloom filter (n:10k, p:0.02 -> k:6, m:10KB)
|
||||||
|
|
||||||
|
FilterRefresh: Every new block.
|
||||||
|
|
||||||
|
Messages:
|
||||||
|
* MempoolTxMsg
|
||||||
|
|
||||||
|
|
||||||
|
## Channel "consensus"
|
||||||
|
|
||||||
|
Filter: Bitarray filter
|
||||||
|
|
||||||
|
FilterRefresh: Every new block.
|
||||||
|
|
||||||
|
Messages:
|
||||||
|
* ProposalMsg
|
||||||
|
* VoteMsg
|
||||||
|
* NewBlockMsg
|
Loading…
x
Reference in New Issue
Block a user