Skip to content

Commit

Permalink
observer-peer-readed-interface (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
criro1 authored Apr 12, 2024
1 parent 14f6851 commit dfe2581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion observer/peer_channels.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import (
const DefaultPeerChannelsRefreshPeriod = 30 * time.Second

type (
PeerChannelsFetcherAndBlockDeliverer interface {
// PeerReader implement it to create your service as peer (for example, message broker)
PeerReader interface {
PeerChannelsFetcher
api.BlocksDeliverer
api.ParsedBlocksDeliverer
Expand Down

0 comments on commit dfe2581

Please sign in to comment.