Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminBackend ¶
type AdminFrontend ¶
type AdminFrontend struct {
Supervisor Backend
}
type Backend ¶
type Backend interface {
AdminBackend
QueryBackend
}
type QueryBackend ¶
type QueryFrontend ¶
type QueryFrontend struct {
Supervisor QueryBackend
}
func (*QueryFrontend) CheckBlock ¶
func (q *QueryFrontend) CheckBlock(chainID *hexutil.U256, blockHash common.Hash, blockNumber hexutil.Uint64) (types.SafetyLevel, error)
CheckBlock checks the safety-level of an L2 block as a whole.
func (*QueryFrontend) CheckMessage ¶
func (q *QueryFrontend) CheckMessage(identifier types.Identifier, payloadHash common.Hash) (types.SafetyLevel, error)
CheckMessage checks the safety-level of an individual message. The payloadHash references the hash of the message-payload of the message.
Click to show internal directories.
Click to hide internal directories.