Difference between revisions of "Op-batcher"
Jump to navigation
Jump to search
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} [[op-batcher]] writes transactions to [[L1 Ethereum]]. | {{lc}} [[op-batcher]] writes transactions to [[L1 Ethereum]]. | ||
* https://github.com/ethereum-optimism/optimism/tree/develop/op-batcher | * https://github.com/ethereum-optimism/optimism/tree/develop/op-batcher | ||
+ | * Configuration: https://docs.optimism.io/builders/chain-operators/configuration/batcher | ||
− | Stop the | + | [[Stop the batcher]]: |
[[curl -d]] '{"id":0,"jsonrpc":"2.0","[[method]]":"[[admin_stopBatcher]]","params":[]}' \ | [[curl -d]] '{"id":0,"jsonrpc":"2.0","[[method]]":"[[admin_stopBatcher]]","params":[]}' \ | ||
-H "[[Content-Type: application/json]]" http://localhost:[[8548]] | [[jq]] | -H "[[Content-Type: application/json]]" http://localhost:[[8548]] | [[jq]] | ||
+ | |||
+ | [[Start the batcher]]" | ||
+ | curl -d '{"id":0,"jsonrpc":"2.0","method":"[[admin_startBatcher]]","params":[]}' \ | ||
+ | -H "Content-Type: application/json" http://localhost:8548 | jq | ||
+ | |||
+ | Ports: | ||
+ | * [[RPC]] [[8545]] | ||
+ | * Metrics: [[7300]] | ||
+ | * [[pprof.port]] 6060 | ||
+ | |||
== Related == | == Related == | ||
Line 10: | Line 21: | ||
* [[Optimism transaction flow]] | * [[Optimism transaction flow]] | ||
* [[Batcher configuration]] | * [[Batcher configuration]] | ||
+ | * [[EIP-4844: Shard Blob Transactions]] (2022) | ||
== See also == | == See also == |
Latest revision as of 08:12, 22 October 2024
op-batcher writes transactions to L1 Ethereum.
- https://github.com/ethereum-optimism/optimism/tree/develop/op-batcher
- Configuration: https://docs.optimism.io/builders/chain-operators/configuration/batcher
Stop the batcher: curl -d '{"id":0,"jsonrpc":"2.0","method":"admin_stopBatcher","params":[]}' \ -H "Content-Type: application/json" http://localhost:8548 | jq
Start the batcher" curl -d '{"id":0,"jsonrpc":"2.0","method":"admin_startBatcher","params":[]}' \ -H "Content-Type: application/json" http://localhost:8548 | jq
Ports:
- RPC 8545
- Metrics: 7300
- pprof.port 6060
Related[edit]
See also[edit]
Advertising: