bsc/eth/protocols/trust/discovery.go
dean 0483394ef6
[R4R] Separate Processing and State Verification on BSC (#926)
Implement Separate Processing and State Verification on BSC
2022-07-04 09:49:07 +08:00

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"
}