Refactor priv_validator

Users can now just pass an object that implements the Signer interface.
This commit is contained in:
Adrian Brink
2017-09-13 00:18:07 +02:00
committed by Ethan Buchman
parent 0d392a0442
commit 7dd3c007c7
16 changed files with 163 additions and 176 deletions

View File

@ -6,6 +6,7 @@ import (
"github.com/tendermint/tendermint/consensus"
)
// ReplayCmd allows replaying of messages from the WAL.
var ReplayCmd = &cobra.Command{
Use: "replay",
Short: "Replay messages from WAL",
@ -14,6 +15,8 @@ var ReplayCmd = &cobra.Command{
},
}
// ReplayConsoleCmd allows replaying of messages from the WAL in a
// console.
var ReplayConsoleCmd = &cobra.Command{
Use: "replay_console",
Short: "Replay messages from WAL in a console",