Skip to main content

Crate mina_node_native

Crate mina_node_native 

Source
Expand description

§Native Node Library

Platform-specific implementation of the Mina node for native targets (Linux, macOS, Windows).

This crate provides:

  • NodeBuilder - Fluent API for constructing nodes
  • HTTP server (axum-based) with REST API and GraphQL
  • NodeService - Native service implementations (P2P, ledger, proofs)

Used by the CLI (cli crate) to instantiate and run nodes with RPC servers.

Modules§

archive
block_producer
graphql
http_server
Axum-based HTTP server for the Mina node RPC API.
node 🔒
Native Node
p2p
record
replay
replayer 🔒
rpc
RPC Service Layer
service 🔒
snark_worker
tracing

Macros§

jsonify_rpc
Sends an RPC request and wraps the response in JSON.
rpc_request
Sends an RPC request, returning an error if the channel was dropped.

Structs§

EventReceiver
NodeBuilder
Builder for constructing a native Mina node with fluent API.
NodeService
NodeServiceBuilder
NodeServiceCommonBuilder
P2pTaskSpawner

Enums§

NodeServiceBuildError
NodeServiceCommonBuildError

Functions§

replay_state_with_input_actions

Type Aliases§

EventSender
Node
Native node type alias, combining the common node logic with native services.