15 lines
346 B
Go
15 lines
346 B
Go
|
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"
|
||
|
}
|