-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
R4R: fix genesis doc #822
R4R: fix genesis doc #822
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- What's the meaning of the default value "-1" ?
- What will happen if the block gas limit exceed ?
@@ -9,7 +9,7 @@ The Genesis file is the basis for the entire network initialization,which cont | |||
|
|||
## Consensus Params | |||
|
|||
* block_size Block size and config params of the number of Gas in the block | |||
* block_size The max size and the max Gas number of a block |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- What's the meaning of the default value "-1" ?
- What will happen if the block gas limit exceed ?
* evidence The lifecycle of deception evidence in the block | ||
* **block_size** | ||
* `max_bytes` The max size of a block | ||
* `max_gas` The max Gas number of a block, default value is -1 and means no gas limit. If the block gas limit exceed, the transaction and subsequent transactions will fail to deliver. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
max_gas
: The maximum Gas quantity a block. Its default value is -1
which means no gas limit. If the accumulation of comsumed gas exceeds the block gas limit, then all subsequent transactions in the same block will fail to deliver.
No description provided.