Skip to content

Commit ff172bb

Browse files
Add IsRunning and Stop methods to Node interface (#714)
Closes: #705
1 parent 0b3dc6a commit ff172bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

node/node.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import (
1616
type Node interface {
1717
Start() error
1818
GetClient() rpcclient.Client
19+
Stop() error
20+
IsRunning() bool
1921
}
2022

2123
func NewNode(

0 commit comments

Comments
 (0)