-
Notifications
You must be signed in to change notification settings - Fork 28
generateblock Command Guide
Enrico Rubboli edited this page Sep 4, 2023
·
2 revisions
The generateblock
command is used to manually generate a block in the Mintlayer blockchain. You can specify which transactions to include in the block. If no transactions are specified (i.e., None
), the block will be generated with available transactions from the mempool.
To generate a block with specific transactions, use the following command:
generateblock [TRANSACTIONS]...
-
[TRANSACTIONS]...
: A list of transaction hashes you want to include in the block. If not specified, the block will be generated with transactions available in the mempool.
Upon successful execution, the command will return details of the generated block.
-
-h, --help
: Displays the help message for thegenerateblock
command.