git.delta.rocks / unique-network / refs/commits / 7489c8a67628

difftreelog

doc: dev mode startup

Yaroslav Bolyukin2023-10-09parent: #ff74635.patch.diff
in: master

1 file changed

modifiedREADME.mddiffbeforeafterboth
111111
112## Running as Parachain locally112## Running as Parachain locally
113113
114TODO114### Dev mode
115115
116You can launch the node in the dev mode where blocks are sealed automatically each 500 ms or on each new transaction.
117
118* Opal Runtime: `cargo run --release -- --dev`
119* Quartz Runtime: `cargo run --release --features quartz-runtime -- --dev`
120* Unique Runtime: `cargo run --release --features unique-runtime -- --dev`
121
122 You can tweak the dev mode with the following CLI options:
123 * --idle-autoseal-interval <IDLE_AUTOSEAL_INTERVAL>
124 When running the node in the `--dev` mode, an empty block will be sealed automatically after the `<IDLE_AUTOSEAL_INTERVAL>` milliseconds.
125 * --disable-autoseal-on-tx
126 Disable auto-sealing blocks on new transactions in the `--dev` mode
127 * --autoseal-finalization-delay <AUTOSEAL_FINALIZATION_DELAY>
128 Finalization delay (in seconds) of auto-sealed blocks in the `--dev` mode.
129 Disabled by default.
130
116## Run Integration Tests131## Run Integration Tests
117132
1181. Install all needed dependencies1331. Install all needed dependencies