Skip to content

Commit

Permalink
Fix typo on docs/protocol-spec.md
Browse files Browse the repository at this point in the history
This protocol-spec.md had spelled 'consesus'
This patch fix 'consensus'.

Change-Id: I4c7981fb03fc0ca008726aea0fd384ed30aa7444
Signed-off-by: Nao Nishijima <Nao.nishijima@hal.hitachi.com>
  • Loading branch information
Nao Nishijima authored and Nao Nishijima committed Jan 30, 2017
1 parent 37f3a4e commit 3dbf76c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/protocol-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ This function is called by `helper.NewConsensusHandler` when setting the `consen

##### 3.4.11.1 High-level overview

A validating peer establishes a message handler (`helper.ConsensusHandler`) for every connected peer, via the `helper.NewConsesusHandler` function (a handler factory). Every incoming message is inspected on its type (`helper.HandleMessage`); if it's a message for which consensus needs to be reached, it's passed on to the peer's consenter object (`consensus.Consenter`). Otherwise it's passed on to the next message handler in the stack.
A validating peer establishes a message handler (`helper.ConsensusHandler`) for every connected peer, via the `helper.NewConsensusHandler` function (a handler factory). Every incoming message is inspected on its type (`helper.HandleMessage`); if it's a message for which consensus needs to be reached, it's passed on to the peer's consenter object (`consensus.Consenter`). Otherwise it's passed on to the next message handler in the stack.

##### 3.4.11.2 helper.ConsensusHandler

Expand Down Expand Up @@ -1193,7 +1193,7 @@ Returns a `helper.Helper` object whose `coordinator` is set to the input argumen

##### 3.4.11.6 helper.HandleMessage

Recall that the `helper.ConsesusHandler` object returned by `helper.NewConsensusHandler` implements the `peer.MessageHandler` interface:
Recall that the `helper.ConsensusHandler` object returned by `helper.NewConsensusHandler` implements the `peer.MessageHandler` interface:

```
type MessageHandler interface {
Expand Down

0 comments on commit 3dbf76c

Please sign in to comment.