Documentation ¶
Index ¶
- type SharedState
- func (s *SharedState) GetL1Current() *types.Header
- func (s *SharedState) GetLastHandledBlockID() uint64
- func (s *SharedState) GetTiers() []*rpc.TierProviderTierWithID
- func (s *SharedState) SetL1Current(header *types.Header)
- func (s *SharedState) SetLastHandledBlockID(blockID uint64)
- func (s *SharedState) SetTiers(tiers []*rpc.TierProviderTierWithID)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SharedState ¶
type SharedState struct {
// contains filtered or unexported fields
}
SharedState represents the internal state of a prover.
func (*SharedState) GetL1Current ¶
func (s *SharedState) GetL1Current() *types.Header
GetL1Current returns the current L1 header cursor.
func (*SharedState) GetLastHandledBlockID ¶
func (s *SharedState) GetLastHandledBlockID() uint64
GetLastHandledBlockID returns the last handled block ID.
func (*SharedState) GetTiers ¶
func (s *SharedState) GetTiers() []*rpc.TierProviderTierWithID
GetTiers returns the current proof tiers.
func (*SharedState) SetL1Current ¶
func (s *SharedState) SetL1Current(header *types.Header)
SetL1Current sets the current L1 header cursor.
func (*SharedState) SetLastHandledBlockID ¶
func (s *SharedState) SetLastHandledBlockID(blockID uint64)
SetLastHandledBlockID sets the last handled block ID.
func (*SharedState) SetTiers ¶
func (s *SharedState) SetTiers(tiers []*rpc.TierProviderTierWithID)
SetTiers sets the current proof tiers.
Click to show internal directories.
Click to hide internal directories.