Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBusy is returned when the witness server is busy ErrBusy = errors.New("witness server is busy") )
Functions ¶
This section is empty.
Types ¶
type BatchEndpoints ¶ added in v0.4.0
type BatchEndpoints struct {
// contains filtered or unexported fields
}
func NewBatchEndpoints ¶ added in v0.4.0
func NewBatchEndpoints(url string) *BatchEndpoints
func (*BatchEndpoints) GetBatch ¶ added in v0.4.0
func (b *BatchEndpoints) GetBatch(batchNumber uint64) (*types.RPCBatch, error)
func (*BatchEndpoints) GetL2BlockTimestamp ¶ added in v0.4.0
func (b *BatchEndpoints) GetL2BlockTimestamp(blockHash string) (uint64, error)
func (*BatchEndpoints) GetWitness ¶ added in v0.4.0
func (b *BatchEndpoints) GetWitness(batchNumber uint64, fullWitness bool) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.