Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorBlockchainSyncing error = errors.New("Cannot resolve names while the chain is syncing")
View Source
var ErrorNoRecords error = errors.New("No DNS records found")
View Source
var ErrorNodeInitializing error = errors.New("Node is still initializing")
Functions ¶
This section is empty.
Types ¶
type ENSLiteClient ¶
type ENSLiteClient struct {
// contains filtered or unexported fields
}
func NewENSLiteClient ¶
func NewENSLiteClient(dataDir string) (*ENSLiteClient, error)
func (*ENSLiteClient) ResolveAddress ¶
func (self *ENSLiteClient) ResolveAddress(name string) (addr common.Hash, err error)
func (*ENSLiteClient) ResolveDNS ¶
func (self *ENSLiteClient) ResolveDNS(name string) ([]dns.RR, error)
Resolve a name. The merkle proofs will be validated automatically.
func (*ENSLiteClient) SyncProgress ¶
func (self *ENSLiteClient) SyncProgress() (*ethereum.SyncProgress, error)
Click to show internal directories.
Click to hide internal directories.