Joel Burget
852ac74467
Raft updates ( #104 )
...
* Move raft checkpoint logging to logger package.
This allows us to use it everywhere and turn it on / off from command
flags.
* Return an error when the pending block is requested in Raft mode.
2017-05-04 16:49:48 -04:00
Brian Schroeder
d442011414
Remove notion of detached blocks from raft docs
2017-04-10 11:55:55 -04:00
Brian Schroeder
b89d59f9c7
Always use InsertChain to extend the chain
...
This fixes posting of logs on the minter.
2017-03-31 10:02:42 -04:00
Brian Schroeder
0d4d5b9555
Remove posting of ChainEvent during minting
...
ChainEvent should instead be posted when we extend the chain.
2017-03-31 10:02:42 -04:00
Joel Burget
82a140abbb
Documentation tweaks. ( #80 )
...
Documentation updates and gofmt raft.
2017-03-23 14:23:51 -05:00
Joel Burget
b6286320ef
Add Raft-based consensus ( #79 )
...
This was implemented by Joel Burget (@joelburget) and Brian Schroeder (@bts).
2017-03-23 13:41:02 -05:00