This commit is contained in:
Jae Kwon 2014-06-24 23:49:06 -07:00
parent 002cfc8f75
commit c0bf95eb73
2 changed files with 38 additions and 35 deletions

View File

@ -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
View 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