mirror of
https://github.com/status-im/status-go.git
synced 2025-02-15 00:08:46 +00:00
18 lines
425 B
Go
18 lines
425 B
Go
|
package gethnode
|
||
|
|
||
|
import (
|
||
|
"go.uber.org/zap"
|
||
|
|
||
|
enstypes "github.com/status-im/status-go/eth-node/types/ens"
|
||
|
wakutypes "github.com/status-im/status-go/waku/types"
|
||
|
)
|
||
|
|
||
|
type Node interface {
|
||
|
NewENSVerifier(logger *zap.Logger) enstypes.ENSVerifier
|
||
|
GetWaku(ctx interface{}) (wakutypes.Waku, error)
|
||
|
GetWakuV2(ctx interface{}) (wakutypes.Waku, error)
|
||
|
AddPeer(url string) error
|
||
|
RemovePeer(url string) error
|
||
|
PeersCount() int
|
||
|
}
|