diff --git a/interface.go b/interface.go index f27317e..6d98c9d 100644 --- a/interface.go +++ b/interface.go @@ -29,6 +29,7 @@ type PeerI interface { AnnounceBlock(blockHash *chainhash.Hash) RequestBlock(blockHash *chainhash.Hash) Network() wire.BitcoinNet + IsHealthy() bool } type PeerHandlerI interface {