refactor: replace AnnounceHandler interface with Handler and update ReceivedAnnounce method to include hops parameter

This commit is contained in:
2025-12-31 18:42:50 -06:00
parent e6fd7188d2
commit d6152ccd85
4 changed files with 13 additions and 18 deletions

View File

@@ -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
}