mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
refactor: rename some examples (#7881)
This commit is contained in:
committed by
GitHub
parent
29e5df81a4
commit
1c81fae4d1
@ -11,13 +11,13 @@ to make a PR!
|
||||
## Node Builder
|
||||
|
||||
| Example | Description |
|
||||
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
||||
| [Additional RPC namespace](./additional-rpc-namespace-in-cli) | Illustrates how to add custom CLI parameters and set up a custom RPC namespace |
|
||||
| [Custom event hooks](./cli-extension-event-hooks) | Illustrates how to hook to various node lifecycle events |
|
||||
|---------------------------------------------------------------| ------------------------------------------------------------------------------------------------ |
|
||||
| [Additional RPC namespace](./node-custom-rpc) | Illustrates how to add custom CLI parameters and set up a custom RPC namespace |
|
||||
| [Custom event hooks](./node-event-hooks) | Illustrates how to hook to various node lifecycle events |
|
||||
| [Custom dev node](./custom-dev-node) | Illustrates how to run a custom dev node programmatically and submit a transaction to it via RPC |
|
||||
| [Custom EVM](./custom-evm) | Illustrates how to implement a node with a custom EVM |
|
||||
| [Custom inspector](./custom-inspector) | Illustrates how to use a custom EVM inspector to trace new transactions |
|
||||
| [Custom node](./custom-node) | Illustrates how to create a node with custom engine types |
|
||||
| [Custom engine types](./custom-engine-types) | Illustrates how to create a node with custom engine types |
|
||||
| [Custom node components](./custom-node-components) | Illustrates how to configure custom node components |
|
||||
| [Custom payload builder](./custom-payload-builder) | Illustrates how to use a custom payload builder |
|
||||
|
||||
@ -50,7 +50,7 @@ to make a PR!
|
||||
|
||||
| Example | Description |
|
||||
| ----------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
|
||||
| [Trace pending transactions](./trace-transaction-cli) | Illustrates how to trace pending transactions as they arrive in the mempool |
|
||||
| [Trace pending transactions](./txpool-tracing) | Illustrates how to trace pending transactions as they arrive in the mempool |
|
||||
| [Standalone txpool](./network-txpool.rs) | Illustrates how to use the network as a standalone component together with a transaction pool with a custom pool validator |
|
||||
|
||||
## P2P
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "custom-node"
|
||||
name = "custom-engine-types"
|
||||
version = "0.0.0"
|
||||
publish = false
|
||||
edition.workspace = true
|
||||
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "additional-rpc-namespace-in-cli"
|
||||
name = "node-custom-rpc"
|
||||
version = "0.0.0"
|
||||
publish = false
|
||||
edition.workspace = true
|
||||
@ -3,7 +3,7 @@
|
||||
//! Run with
|
||||
//!
|
||||
//! ```not_rust
|
||||
//! cargo run -p additional-rpc-namespace-in-cli -- node --http --ws --enable-ext
|
||||
//! cargo run -p node-custom-rpc -- node --http --ws --enable-ext
|
||||
//! ```
|
||||
//!
|
||||
//! This installs an additional RPC method `txpoolExt_transactionCount` that can be queried via [cast](https://github.com/foundry-rs/foundry)
|
||||
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "cli-extension-event-hooks"
|
||||
name = "node-event-hooks"
|
||||
version = "0.0.0"
|
||||
publish = false
|
||||
edition.workspace = true
|
||||
@ -4,7 +4,7 @@
|
||||
//! Run with
|
||||
//!
|
||||
//! ```not_rust
|
||||
//! cargo run -p cli-extension-event-hooks -- node
|
||||
//! cargo run -p node-event-hooks -- node
|
||||
//! ```
|
||||
//!
|
||||
//! This launch the regular reth node and also print:
|
||||
@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "trace-transaction-cli"
|
||||
name = "txpool-tracing"
|
||||
version = "0.0.0"
|
||||
publish = false
|
||||
edition.workspace = true
|
||||
@ -3,7 +3,7 @@
|
||||
//! Run with
|
||||
//!
|
||||
//! ```not_rust
|
||||
//! cargo run --release -p trace-transaction-cli -- node --http --ws --recipients 0x....,0x....
|
||||
//! cargo run --release -p txpool-tracing -- node --http --ws --recipients 0x....,0x....
|
||||
//! ```
|
||||
//!
|
||||
//! If no recipients are specified, all transactions will be traced.
|
||||
Reference in New Issue
Block a user