mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
26 lines
419 B
Go
26 lines
419 B
Go
package network
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/ethereum/go-ethereum/logger"
|
|
"github.com/ethereum/go-ethereum/logger/glog"
|
|
)
|
|
|
|
type pssPeer struct {
|
|
Peer
|
|
}
|
|
|
|
type PssMsg struct {
|
|
Recipient pssPeer
|
|
Payload []byte
|
|
}
|
|
|
|
func (pm *PssMsg) String() string {
|
|
return fmt.Sprintf("PssMsg: Recipient: %v", pm.Recipient)
|
|
}
|
|
|
|
func PssMsgHandler(msg interface{}) error {
|
|
glog.V(logger.Detail).Infof("Pss Handled!")
|
|
return nil
|
|
}
|