bsc/eth/protocols/trust/discovery.go

15 lines
346 B
Go
Raw Permalink Normal View History

package trust
import "github.com/ethereum/go-ethereum/rlp"
// enrEntry is the ENR entry which advertises `trust` protocol on the discovery.
type enrEntry struct {
// Ignore additional fields (for forward compatibility).
Rest []rlp.RawValue `rlp:"tail"`
}
// ENRKey implements enr.Entry.
func (e enrEntry) ENRKey() string {
return "trust"
}