Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Case ¶
type Case interface { // Checkpoint should get the state at or before the slot selected Checkpoint(ctx context.Context, slot uint64) (abstract.BeaconState, error) // Dominos should get a block Domino(ctx context.Context, slot uint64) (*cltypes.SignedBeaconBlock, error) }
Case defines an interface for storage of dominoes. it should be thread safe
type Exhibit ¶
type Exhibit struct {
// contains filtered or unexported fields
}
Exhibit is for managing multiple domino runs
type Run ¶
type Run struct {
// contains filtered or unexported fields
}
A domino run is not thread safe and should be protected by a external mutex if needed to be called thread safe
func (*Run) State ¶
func (r *Run) State() abstract.BeaconState
Click to show internal directories.
Click to hide internal directories.