Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/base/base
/ functions
Functions
23,652 in github.com/base/base
⨍
Functions
23,652
◇
Types & classes
3,462
Method
new
Creates a new [`TestBatchValidator`] with the given origin and batches.
crates/consensus/protocol/src/test_utils.rs:56
Method
new
Creates a new [`Frame`].
crates/consensus/protocol/src/frame.rs:194
Method
new
Instantiates a new [`BlockInfo`].
crates/consensus/protocol/src/block.rs:40
Method
new
Creates a new batch with inclusion block.
crates/consensus/protocol/src/batch/inclusion.rs:18
Method
new
Creates a new [`BatchReader`] from the given data, the max decompressed RLP bytes per channel, and whether brotli channels are accepted (see [`Self::b
crates/consensus/protocol/src/batch/reader.rs:76
Method
new
Creates a new span batch bits.
crates/consensus/protocol/src/batch/bits.rs:23
Method
new
Creates a standalone attributes builder from snapshot boundary metadata.
crates/consensus/service/src/standalone.rs:52
Method
new
Creates a new driver with no harnesses.
crates/consensus/service/src/test_utils/driver.rs:50
Method
new
Creates a new fake L1 simulator.
crates/consensus/service/src/test_utils/fake_l1.rs:24
Method
new
Creates an empty fake `SafeDB`.
crates/consensus/service/src/test_utils/fake_safedb.rs:50
Method
new
Creates a new fake client with default response scripting.
crates/consensus/service/src/test_utils/fake_engine_client.rs:134
Method
new
Creates a new empty harness builder.
crates/consensus/service/src/test_utils/builder.rs:140
Method
new
Creates a new [`RollupNodeBuilder`] with the given [`RollupConfig`].
crates/consensus/service/src/service/builder.rs:121
Method
new
Creates a new upgrade signal metrics actor.
crates/consensus/service/src/actors/upgrade_signal.rs:86
Method
new
Constructs a new [`DerivationStateMachine`].
crates/consensus/service/src/actors/derivation/state_machine.rs:178
Method
new
Creates a new instance of the [`DerivationActor`].
crates/consensus/service/src/actors/derivation/actor.rs:83
Method
new
Creates a new instance of the [`DelegateDerivationActor`].
crates/consensus/service/src/actors/derivation/delegated/actor.rs:68
Method
new
Creates a new Derivation Delegate client.
crates/consensus/service/src/actors/derivation/delegated/client.rs:42
Method
new
Creates a new [`NetworkConfig`] with the given [`RollupConfig`] with the minimum required fields. Generates a random keypair for the node.
crates/consensus/service/src/actors/network/config.rs:80
Method
new
Constructs a new production [`NetworkActor`] by building a [`NetworkHandler`] from the provided [`NetworkBuilder`]. This is the standard constructor
crates/consensus/service/src/actors/network/actor.rs:80
Method
new
Creates a payload gossip client backed by the network actor.
crates/consensus/service/src/actors/network/gossip.rs:45
Method
new
Creates a new [`NetworkBuilder`].
crates/consensus/service/src/actors/network/builder.rs:63
Method
new
Creates a new query executor.
crates/consensus/service/src/actors/l1_watcher/query_processor.rs:53
Method
new
( rollup_config: Arc<RollupConfig>, l1_provider: L1Provider, l1_head_updates_tx: watch
crates/consensus/service/src/actors/l1_watcher/actor.rs:144
Method
new
Creates an enabled derivation client.
crates/consensus/service/src/actors/l1_watcher/client.rs:38
Method
new
Creates a validator request receiver.
crates/consensus/service/src/actors/engine/validator_engine_request_handler.rs:36
Method
new
Constructs a new [`EngineProcessor`] from the params.
crates/consensus/service/src/actors/engine/engine_request_processor.rs:111
Method
new
Creates an enabled derivation client.
crates/consensus/service/src/actors/engine/client.rs:42
Method
new
Creates a new checkpoint actor.
crates/consensus/service/src/actors/checkpoint/actor.rs:19
Method
new
Creates a new checkpoint client.
crates/consensus/service/src/actors/checkpoint/client.rs:46
Method
new
Creates a layer that forwards to `client` every method `served_methods` does not register.
crates/consensus/service/src/actors/rpc/execution_forwarding.rs:35
Method
new
Constructs a new `PoolActivation` instance with the given rollup config.
crates/consensus/service/src/actors/sequencer/pool.rs:20
Method
new
Starts a fresh private build cycle on the provided canonical head.
crates/consensus/service/src/actors/sequencer/shadow_state.rs:20
Method
new
(base_url: Url, timeout: Duration)
crates/consensus/service/src/actors/sequencer/conductor.rs:123
Method
new
Creates a shadow funding configuration.
crates/consensus/service/src/actors/sequencer/shadow_funding.rs:18
Method
new
Creates a new guard with the given initial state.
crates/consensus/service/src/actors/sequencer/recovery.rs:24
Method
new
Creates a catch-up buffer retaining at most `max_payloads` recent payloads.
crates/consensus/service/src/actors/sequencer/shadow_reconciliation.rs:101
Method
new
Creates a new sealer starting at the [`SealState::Sealed`] stage.
crates/consensus/service/src/actors/sequencer/seal.rs:93
Method
new
Starts timing `request`, whose unsafe head was `unsafe_before` when it arrived.
crates/consensus/service/src/actors/sequencer/engine_request_coordinator.rs:53
Method
new
Creates a new ticker with the given period. The first fire occurs immediately, mirroring [`tokio::time::interval`] semantics. No target is set, so th
crates/consensus/service/src/actors/sequencer/ticker.rs:35
Method
new
Creates a new [`DelayedL1OriginSelectorProvider`].
crates/consensus/service/src/actors/sequencer/l1_origin/provider.rs:78
Method
new
Creates a provider with an RPC fallback for requests the buffered origin cannot serve.
crates/consensus/service/src/actors/sequencer/l1_origin/prefetched_chain_provider.rs:28
Method
new
Creates a new [`L1OriginSelector`].
crates/consensus/service/src/actors/sequencer/l1_origin/selector.rs:120
Method
new
Creates a new [`RemoteL2Client`] from a source L2 node URL.
crates/consensus/service/src/follow/source.rs:58
Method
new
(local: Arc<L>)
crates/consensus/service/src/follow/rpc.rs:27
Method
new
( client: Arc<E>, rollup_config: Arc<RollupConfig>, latest: L2BlockInfo, safe:
crates/consensus/service/src/follow/engine.rs:37
Method
new
( local: Arc<Local>, source: Arc<Remote>, engine: Arc<dyn FollowEngine>, cance
crates/consensus/service/src/follow/runtime.rs:46
Method
new
( provider: RootProvider<Base>, l1_provider: RootProvider, rollup_config: Arc<RollupCo
crates/consensus/service/src/follow/local.rs:37
Method
new
(local: Arc<Local>, max_blocks_ahead: u64)
crates/consensus/service/src/follow/proof_gate.rs:26
Method
new
Creates a new [`FollowNode`].
crates/consensus/service/src/follow/node.rs:74
Method
new
Creates a payload prefetcher.
crates/consensus/service/src/follow/prefetcher.rs:32
Method
new
()
crates/consensus/service/tests/actors/generator/seed.rs:10
Method
new
()
crates/consensus/service/tests/actors/network/mocks/builder.rs:35
Method
new
Creates a new [`GossipDriver`] instance.
crates/consensus/gossip/src/driver.rs:100
Method
new
Creates a connection limit config using the same cap for inbound, outbound, and total established connections.
crates/consensus/gossip/src/config.rs:116
Method
new
Creates a new instance of the `ConnectionGater`.
crates/consensus/gossip/src/gater.rs:105
Method
new
Configures the swarm behaviors, subscribes to the gossip topics, and returns a new [`Behaviour`].
crates/consensus/gossip/src/behaviour.rs:50
Method
new
Creates a new [`BlockHandler`]. Requires the chain ID and a receiver channel for the unsafe block signer.
crates/consensus/gossip/src/handler.rs:156
Method
new
Creates a new [`GossipDriverBuilder`].
crates/consensus/gossip/src/builder.rs:52
Method
new
Creates a new [`JwtWsConnect`] for the given endpoint and secret.
crates/consensus/engine/src/ws_connect.rs:38
Method
new
Creates a new builder with default values
crates/consensus/engine/src/test_utils/attributes.rs:26
Method
new
Creates a new builder with default values. Default: all heads set to genesis block (block 0)
crates/consensus/engine/src/test_utils/engine_state.rs:20
Method
new
Creates a new builder with default values.
crates/consensus/engine/src/test_utils/engine_client.rs:155
Method
new
Creates a new [`Engine`] with an empty task queue and the passed initial [`EngineState`].
crates/consensus/engine/src/task_queue/core.rs:56
Method
new
Creates a new [`ConsolidateTask`] with the specified input
crates/consensus/engine/src/task_queue/tasks/consolidate/task.rs:80
Method
new
Creates a new insert task.
crates/consensus/engine/src/task_queue/tasks/insert/task.rs:98
Method
new
Creates a synchronization task that skips redundant forkchoice updates.
crates/consensus/engine/src/task_queue/tasks/synchronize/task.rs:52
Method
new
Creates a new record from a socket addr and peer id.
crates/consensus/peers/src/record.rs:72
Method
new
Creates a new [`L1ConfigFile`] with the given path.
crates/consensus/cli/src/config.rs:42
Method
new
Creates reusable consensus follow-node arguments from typed chain and follow config components.
crates/consensus/cli/src/follow.rs:115
Method
new
Creates start options with default overrides and a fresh cancellation token.
crates/consensus/cli/src/node.rs:137
Method
new
Constructs a new [`AdminRpc`] with the supplied network capability. # Parameters - `sequencer_sender`: The [`SequencerAdminAPIClient`] used to fulfi
crates/consensus/rpc/src/admin.rs:82
Method
new
Creates a new `base`-namespace RPC server from the node's upgrade-signal config and reader.
crates/consensus/rpc/src/base.rs:84
Method
new
Constructs a new [`WsRPC`] instance.
crates/consensus/rpc/src/ws.rs:22
Method
new
Constructs a new [`P2pRpc`] given a sender channel.
crates/consensus/rpc/src/net.rs:19
Method
new
Creates a new [`DevEngineRpc`] instance.
crates/consensus/rpc/src/dev.rs:25
Method
new
Constructs a new [`RollupRpc`] given a sender channel.
crates/consensus/rpc/src/rollup.rs:52
Method
new
Instantiates a new [`Discv5Driver`].
crates/consensus/disc/src/driver.rs:83
Method
new
Creates a new [`Discv5Handler`] service.
crates/consensus/disc/src/handler.rs:90
Method
new
Creates a new [`LocalNode`] instance.
crates/consensus/disc/src/builder.rs:37
Method
new
Creates a new [`TestFrameQueueProvider`] with the given data.
crates/consensus/derive/src/test_utils/frame_queue.rs:30
Method
new
Creates a new [`TestNextBatchProvider`] with the given origin and batches.
crates/consensus/derive/src/test_utils/batch_provider.rs:32
Method
new
Create a new [`FrameQueueBuilder`] instance.
crates/consensus/derive/src/test_utils/frames.rs:35
Method
new
Creates a new [`TestBatchStreamProvider`] with the given origin and batches.
crates/consensus/derive/src/test_utils/batch_stream.rs:33
Method
new
Creates a new [`TestNextFrameProvider`] with the given data.
crates/consensus/derive/src/test_utils/channel_provider.rs:34
Method
new
Creates a new [`TestL2ChainProvider`] with the given origin and batches.
crates/consensus/derive/src/test_utils/chain_providers.rs:170
Method
new
Creates a new [`TestChannelReaderProvider`] with the given data.
crates/consensus/derive/src/test_utils/channel_reader.rs:33
Method
new
Instantiates a new [`EthereumDataSource`].
crates/consensus/derive/src/sources/ethereum.rs:37
Method
new
Creates a new blob source.
crates/consensus/derive/src/sources/blobs.rs:42
Method
new
Creates a new calldata source.
crates/consensus/derive/src/sources/calldata.rs:30
Method
new
Create a new [`FrameQueue`] stage with the given previous [`L1Retrieval`] stage. [`L1Retrieval`]: crate::stages::L1Retrieval
crates/consensus/derive/src/stages/frame_queue.rs:52
Method
new
Create a new [`AttributesQueue`] stage.
crates/consensus/derive/src/stages/attributes_queue.rs:59
Method
new
Creates a new [`L1Retrieval`] stage with the previous [`PollingTraversal`] stage and given [`DataAvailabilityProvider`]. [`PollingTraversal`]: crate:
crates/consensus/derive/src/stages/l1_retrieval.rs:64
Method
new
Creates a new [`PollingTraversal`] instance.
crates/consensus/derive/src/stages/traversal/polling.rs:57
Method
new
Creates a new [`ChannelAssembler`] stage with the given configuration and previous stage.
crates/consensus/derive/src/stages/channel/channel_assembler.rs:43
Method
new
Create a new [`ChannelBank`] stage.
crates/consensus/derive/src/stages/channel/channel_bank.rs:53
Method
new
Creates a new [`ChannelProvider`] with the given configuration and previous stage.
crates/consensus/derive/src/stages/channel/channel_provider.rs:54
Method
new
Create a new [`ChannelReader`] stage.
crates/consensus/derive/src/stages/channel/channel_reader.rs:55
Method
new
Creates a new [`BatchQueue`] stage.
crates/consensus/derive/src/stages/batch/batch_queue.rs:69
Method
new
Creates a new [`BatchProvider`] with the given configuration and previous stage.
crates/consensus/derive/src/stages/batch/batch_provider.rs:58
← previous
next →
16,301–16,400 of 23,652, ranked by callers