refactor: replace AnnounceHandler interface with Handler and update ReceivedAnnounce method to include hops parameter
This commit is contained in:
@@ -2,6 +2,6 @@ package announce
|
||||
|
||||
type Handler interface {
|
||||
AspectFilter() []string
|
||||
ReceivedAnnounce(destHash []byte, identity interface{}, appData []byte) error
|
||||
ReceivedAnnounce(destHash []byte, identity interface{}, appData []byte, hops uint8) error
|
||||
ReceivePathResponses() bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user