Skip to content

Commit

Permalink
doc: dev mode startup
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Shiposha <[email protected]>
  • Loading branch information
CertainLach and mrshiposha authored Oct 9, 2023
1 parent ff74635 commit 7489c8a
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,22 @@ make build-release

## Running as Parachain locally

TODO
### Dev mode

You can launch the node in the dev mode where blocks are sealed automatically each 500 ms or on each new transaction.

* Opal Runtime: `cargo run --release -- --dev`
* Quartz Runtime: `cargo run --release --features quartz-runtime -- --dev`
* Unique Runtime: `cargo run --release --features unique-runtime -- --dev`

You can tweak the dev mode with the following CLI options:
* --idle-autoseal-interval <IDLE_AUTOSEAL_INTERVAL>
When running the node in the `--dev` mode, an empty block will be sealed automatically after the `<IDLE_AUTOSEAL_INTERVAL>` milliseconds.
* --disable-autoseal-on-tx
Disable auto-sealing blocks on new transactions in the `--dev` mode
* --autoseal-finalization-delay <AUTOSEAL_FINALIZATION_DELAY>
Finalization delay (in seconds) of auto-sealed blocks in the `--dev` mode.
Disabled by default.

## Run Integration Tests

Expand Down

0 comments on commit 7489c8a

Please sign in to comment.