consensus: use replay log to avoid sign regression

This commit is contained in:
Ethan Buchman
2016-01-10 23:31:05 -05:00
parent bc2a721a0a
commit 6bcf53195f
3 changed files with 156 additions and 20 deletions

View File

@ -85,7 +85,10 @@ func NewNode(privValidator *types.PrivValidator) *Node {
}
// deterministic accountability
consensusState.OpenFileForMessageLog(config.GetString("cs_msg_log"))
err = consensusState.OpenFileForMessageLog(config.GetString("cs_msg_log"))
if err != nil {
log.Error("Failed to open cs_msg_log", "error", err.Error())
}
// Make p2p network switch
sw := p2p.NewSwitch()