crank context timeouts

This commit is contained in:
Ethan Buchman
2017-11-15 01:42:15 +00:00
parent e69d36d54f
commit a969e24177
5 changed files with 15 additions and 8 deletions

View File

@ -1,6 +1,8 @@
package core
import (
"time"
crypto "github.com/tendermint/go-crypto"
"github.com/tendermint/tendermint/consensus"
cstypes "github.com/tendermint/tendermint/consensus/types"
@ -12,6 +14,8 @@ import (
"github.com/tendermint/tmlibs/log"
)
var subscribeTimeout = 5 * time.Second
//----------------------------------------------
// These interfaces are used by RPC and must be thread safe