Documentation ¶
Index ¶
- Constants
- func NewL1ReceiptsFetcher(hash common.Hash, header *types.Header, receipts types.Receipts) derive.L1ReceiptsFetcher
- func NewL2SystemConfigFetcher(config *rollup.Config, hash common.Hash, header *types.Header, ...) derive.SystemConfigL2Fetcher
- type Block
- type Proposal
- type RollupConfig
- type Server
- func (s *Server) Aggregate(config *RollupConfig, prevOutputRoot common.Hash, proposals []*Proposal) (*Proposal, error)
- func (s *Server) DecryptionAttestation() (hexutil.Bytes, error)
- func (s *Server) DecryptionPublicKey() (hexutil.Bytes, error)
- func (s *Server) EncryptedSignerKey(attestation hexutil.Bytes) (hexutil.Bytes, error)
- func (s *Server) ExecuteStateless(config *RollupConfig, l1Origin *types.Header, l1Receipts types.Receipts, ...) (*Proposal, error)
- func (s *Server) SetSignerKey(encrypted hexutil.Bytes) error
- func (s *Server) SignerAttestation() (hexutil.Bytes, error)
- func (s *Server) SignerPublicKey() (hexutil.Bytes, error)
Constants ¶
View Source
const ( // DefaultCARoots contains the PEM encoded roots for verifying Nitro // Enclave attestation signatures. You can download them from // https://docs.aws.amazon.com/enclaves/latest/user/verify-root.html DefaultCARoots = "" /* 1000-byte string literal not displayed */ DefaultCARootsSHA256 = "8cf60e2b2efca96c6a9e71e851d00c1b6991cc09eadbe64a6a1d1b1eb9faff7c" )
Variables ¶
This section is empty.
Functions ¶
func NewL1ReceiptsFetcher ¶
func NewL2SystemConfigFetcher ¶
func NewL2SystemConfigFetcher(config *rollup.Config, hash common.Hash, header *types.Header, txs []*types.Transaction) derive.SystemConfigL2Fetcher
Types ¶
type Block ¶
func (*Block) UnmarshalJSON ¶
type RollupConfig ¶
type RollupConfig struct { params.ChainConfig Genesis rollup.Genesis `json:"genesis"` BlockTime uint64 `json:"block_time"` DepositContractAddress common.Address `json:"deposit_contract_address"` L1SystemConfigAddress common.Address `json:"l1_system_config_address"` }
func (*RollupConfig) MarshalBinary ¶
func (c *RollupConfig) MarshalBinary() (data []byte, err error)
func (*RollupConfig) ToRollupConfig ¶
func (c *RollupConfig) ToRollupConfig() *rollup.Config
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) DecryptionAttestation ¶
func (*Server) EncryptedSignerKey ¶
func (*Server) ExecuteStateless ¶
Click to show internal directories.
Click to hide internal directories.