Skip to content
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

Merged
merged 2 commits into from
Dec 13, 2018
Merged

R4R: fix genesis doc #822

merged 2 commits into from
Dec 13, 2018

Conversation

chengwenxi
Copy link
Contributor

No description provided.

Copy link
Contributor

@wukongcheng wukongcheng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. What's the meaning of the default value "-1" ?
  2. 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. What's the meaning of the default value "-1" ?
  2. 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.

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.

@HaoyangLiu HaoyangLiu merged commit 4475e2f into irisnet:develop Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants