Browse Source

.

pull/9/head
Jae Kwon 11 years ago
parent
commit
c0bf95eb73
2 changed files with 38 additions and 35 deletions
  1. +0
    -35
      peer/README
  2. +38
    -0
      peer/README.md

+ 0
- 35
peer/README 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
- 0
peer/README.md 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

Loading…
Cancel
Save