Skip to content

Commit

Permalink
Add IsHealthy function to interface
Browse files Browse the repository at this point in the history
  • Loading branch information
boecklim committed Jan 24, 2024
1 parent 76f72a8 commit a086eec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type PeerI interface {
AnnounceBlock(blockHash *chainhash.Hash)
RequestBlock(blockHash *chainhash.Hash)
Network() wire.BitcoinNet
IsHealthy() bool
}

type PeerHandlerI interface {
Expand Down

0 comments on commit a086eec

Please sign in to comment.