Browse Source

Update README.md

pull/9/head
jaekwon 11 years ago
parent
commit
463d964fbb
1 changed files with 12 additions and 9 deletions
  1. +12
    -9
      peer/README.md

+ 12
- 9
peer/README.md View File

@ -2,11 +2,11 @@
<table> <table>
<tr> <tr>
<th>Filter</th>
<td><b>Filter</b></td>
<td>None</td> <td>None</td>
</tr> </tr>
<tr> <tr>
<th>Messages</th>
<td><b>Message</b></td>
<td> <td>
<ul> <ul>
<li>RefreshFilterMsg</li> <li>RefreshFilterMsg</li>
@ -21,11 +21,14 @@
<table> <table>
<tr> <tr>
<th>Filter</th>
<td>Custom</td>
<td><b>Filter</b></td>
<td>
Custom<br/>
Nodes should only advertise having a header or block at height 'h' if it also has all the headers or blocks less than 'h'. Thus this filter need only keep track of two integers -- one for the most recent header height 'h_h' and one for the most recent block height 'h_b', where 'h_b' &lt;= 'h_h'.
</td>
</tr> </tr>
<tr> <tr>
<th>Messages</th>
<td><b>Messages</b></td>
<td> <td>
<ul> <ul>
<li>RequestMsg</li> <li>RequestMsg</li>
@ -41,14 +44,14 @@
<table> <table>
<tr> <tr>
<th>Filter</th>
<td><b>Filter</b></td>
<td> <td>
Bloom filter (n:10k, p:0.02 -> k:6, m:10KB)<br/> Bloom filter (n:10k, p:0.02 -> k:6, m:10KB)<br/>
Refreshes every new block Refreshes every new block
</td> </td>
</tr> </tr>
<tr> <tr>
<th>Messages</th>
<td><b>Messages</b></td>
<td> <td>
<ul> <ul>
<li>MempoolTxMsg</li> <li>MempoolTxMsg</li>
@ -61,14 +64,14 @@
## Channel "consensus" ## Channel "consensus"
<table> <table>
<tr> <tr>
<th>Filter</th>
<td><b>Filter</b></td>
<td> <td>
Bitarray filter<br/> Bitarray filter<br/>
Refreshes every new consensus round Refreshes every new consensus round
</td> </td>
</tr> </tr>
<tr> <tr>
<th>Messages</th>
<td><b>Messages</b></td>
<td> <td>
<ul> <ul>
<li>ProposalMsg</li> <li>ProposalMsg</li>


Loading…
Cancel
Save