Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node interface { ID() string GetTile(ctx context.Context, hash common.Hash) ([][]byte, error) SubscribeNewHead(sink chan *types.Header) event.Subscription Logger() log.Logger }
Node is the interface of backend node
type Tiler ¶
type Tiler struct {
// contains filtered or unexported fields
}
Tiler is responsible for keeping track of pending state and chain crawl jobs and distributing them to backends that have the dataset available.
func (*Tiler) RegisterNode ¶
RegisterNode starts tracking a new Ethereum backend to delegate tasks to.
Click to show internal directories.
Click to hide internal directories.