Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/a16z/magi
/ types & classes
Types & classes
90 in github.com/a16z/magi
⨍
Functions
297
◇
Types & classes
90
↓ 14 callers
Class
RawTransaction
src/common/mod.rs:32
↓ 1 callers
Class
JwtSecret
src/engine/auth.rs:26
Class
AnsiTermLayer
src/telemetry/logging.rs:127
Class
AnsiVisitor
src/telemetry/logging.rs:89
Class
Attributes
Represents the `Payload Attributes Derivation` stage.
src/derive/stages/attributes.rs:19
Class
AttributesDeposited
src/derive/stages/attributes.rs:302
Class
AttributesDepositedCall
src/common/attributes_deposited.rs:10
Enum
Batch
src/derive/stages/batches.rs:455
Enum
BatchStatus
src/derive/stages/batches.rs:482
Class
BatcherTransaction
src/derive/stages/batcher_transactions.rs:71
Class
BatcherTransactionMessage
Represents a transaction sent to the `Batch Inbox` on L1.
src/derive/stages/batcher_transactions.rs:9
Class
BatcherTransactions
Receives [BatcherTransactionMessage] messages from a channel and stores these in a [VecDeque].
src/derive/stages/batcher_transactions.rs:17
Class
Batches
Tracks and processes batches
src/derive/stages/batches.rs:21
Class
Behaviour
src/network/service/mod.rs:142
Class
BlobFetcher
The blob fetcher is responsible for fetching blob data from the L1 beacon chain, along with relevant parsing and validation. Consensus layer info req
src/l1/blob_fetcher.rs:13
Class
BlobSidecar
src/l1/blob_fetcher.rs:23
Class
BlockHandler
Responsible for managing blocks received via p2p gossip
src/network/handlers/block_handler.rs:16
Class
BlockInfo
src/common/mod.rs:19
Class
BlockInput
src/derive/stages/block_input.rs:17
Enum
BlockUpdate
Updates L1Info
src/l1/chain_watcher.rs:58
Class
ChainConfig
src/config/mod.rs:147
Class
ChainGenesisInfo
src/config/mod.rs:590
Class
ChainProvider
src/config/mod.rs:234
Class
ChainWatcher
Handles watching the L1 chain and monitoring for new blocks, deposits, and batcher transactions. The monitoring loop is spawned in a seperate task and
src/l1/chain_watcher.rs:44
Class
Channel
src/derive/stages/channels.rs:236
Class
Channels
Represents the `channel bank` stage to track & process channels
src/derive/stages/channels.rs:7
Class
Claims
src/engine/auth.rs:96
Class
Cli
bin/magi.rs:47
Class
CliConfig
src/config/mod.rs:115
Class
Config
src/config/mod.rs:52
Class
DefaultsProvider
src/config/mod.rs:247
Class
DepositedTransaction
src/derive/stages/attributes.rs:201
Class
Driver
Driver is responsible for advancing the execution node by feeding the derived chain into the engine API
src/driver/mod.rs:43
Interface
Engine
src/engine/traits.rs:15
Class
EngineApi
src/engine/api.rs:25
Class
EngineApiErrorPayload
src/engine/api.rs:198
Class
EngineApiResponse
src/engine/api.rs:185
Class
EngineDriver
The EngineDriver is responsible for initiating block production & validation via the [EngineApi]
src/driver/engine_driver.rs:18
Class
Epoch
src/common/mod.rs:36
Interface
EpochType
A marker trait to allow representing an epoch as either a block number or an [Epoch]
src/derive/stages/block_input.rs:11
Enum
Event
The type of message received
src/network/service/mod.rs:195
Class
ExecutionPayload
src/engine/payload.rs:13
Class
ExecutionPayloadEnvelope
src/network/handlers/block_handler.rs:30
Class
ExecutionPayloadV1SSZ
src/network/handlers/block_handler.rs:208
Class
ExecutionPayloadV2SSZ
src/network/handlers/block_handler.rs:265
Class
ExecutionPayloadV3SSZ
src/network/handlers/block_handler.rs:338
Class
ExternalChainConfig
src/config/mod.rs:529
Class
ExternalGenesisInfo
src/config/mod.rs:562
Class
ForkChoiceUpdate
src/engine/fork.rs:9
Class
ForkchoiceState
src/engine/fork.rs:23
Class
Frame
src/derive/stages/batcher_transactions.rs:98
Class
GetPayloadResponse
src/engine/api.rs:247
Interface
Handler
This trait defines the functionality required to process incoming messages and determine their acceptance within the network. Implementors of this tra
src/network/handlers/mod.rs:9
Class
HeadInfo
src/driver/types.rs:12
Class
HeadInfoFetcher
Wrapper around a [Provider]
src/driver/info.rs:18
Class
HeadInfoQuery
Provides a method to fetch the latest finalized block
src/driver/info.rs:42
Interface
InnerProvider
src/driver/info.rs:9
Class
InnerWatcher
Watcher actually ingests the L1 blocks. Should be run in another thread and called periodically to keep updating channels
src/l1/chain_watcher.rs:69
Class
L1BlockInfo
src/l1/l1_info.rs:24
Class
L1Info
src/l1/l1_info.rs:9
Class
MockEngine
src/engine/mock_engine.rs:11
Class
MockProvider
src/driver/info.rs:85
Class
NetworkAddress
src/network/service/types.rs:9
Class
OpStackEnrData
src/network/service/discovery.rs:86
Class
OutputRootResponse
src/rpc/mod.rs:154
Class
PayloadAttributes
src/engine/payload.rs:99
Class
PayloadHash
Represents the Keccak256 hash of the block
src/network/handlers/block_handler.rs:172
Class
PayloadStatus
src/engine/payload.rs:141
Class
Peer
src/network/service/types.rs:18
Class
PendingChannel
src/derive/stages/channels.rs:150
Class
Pipeline
The derivation pipeline is iterated on to update attributes for new blocks.
src/derive/mod.rs:32
Interface
PurgeableIterator
Iterator that can purge itself
src/derive/purgeable.rs:2
Interface
Rpc
src/rpc/mod.rs:27
Class
RpcResponse
src/rpc/mod.rs:176
Class
RpcServerImpl
src/rpc/mod.rs:44
Class
Runner
The main entrypoint for starting a Magi node. Responsible for starting the syncing process.
src/runner/mod.rs:25
Class
Service
Responsible for management of the `Discv5` & `libp2p` services.
src/network/service/mod.rs:23
Class
SingleBatch
src/derive/stages/single_batch.rs:12
Class
SpanBatch
src/derive/stages/span_batch.rs:13
Class
State
Represents the current derivation state. Consists of cached L1 & L2 blocks, and details of the current safe head & safe epoch.
src/derive/state.rs:16
Enum
Status
src/engine/payload.rs:156
Enum
SyncMode
src/config/mod.rs:14
Class
SystemAccounts
src/config/mod.rs:223
Class
SystemConfig
src/config/mod.rs:198
Class
SystemConfigInfo
src/config/mod.rs:575
Enum
SystemConfigUpdate
src/l1/config_updates.rs:6
Enum
TxData
src/derive/stages/span_batch.rs:375
Class
UserDeposited
src/derive/stages/attributes.rs:369
Class
Version
src/version/mod.rs:3
Class
Withdrawal
src/network/handlers/block_handler.rs:301