mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
0b8cbd06b6
* refactor a bit to select p2p * lint * fix build * fix build * fix build * fix build * fix build
14 lines
448 B
Go
14 lines
448 B
Go
package p2p
|
|
|
|
import (
|
|
"github.com/gogo/protobuf/proto"
|
|
deprecatedp2p "github.com/prysmaticlabs/prysm/shared/deprecated-p2p"
|
|
"github.com/prysmaticlabs/prysm/shared/event"
|
|
)
|
|
|
|
// DeprecatedSubscriber exists for backwards compatibility.
|
|
// DEPRECATED: Do not use. This exists for backwards compatibility but may be removed.
|
|
type DeprecatedSubscriber interface {
|
|
Subscribe(msg proto.Message, channel chan deprecatedp2p.Message) event.Subscription
|
|
}
|