Skip to content

Commit

Permalink
Add of Automatic periodic block creation
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Mikołaj Woźniak committed Jun 17, 2024
1 parent 48f3828 commit 30ecabb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions website/docs/blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ Response:
{'block_hash': '0x115e1b390cafa7942b6ab141ab85040defe7dee9bef3bc31d8b5b3d01cc9c67'}
```

## Automatic periodic block creation

Devnet started with the `--block-generation-on <INTERVAL>` CLI option, will behave like in `demand` mode but new blocks will be mined automatically in time intervals.

## Create an empty block

To create an empty block without transactions, `POST` a request to `/create_block`:
Expand Down

0 comments on commit 30ecabb

Please sign in to comment.