* update genesis file content
Signed-off-by: Alexandra Tran <alexandra.tran@consensys.net>
* remove minify because of bug
see https://github.com/tikitu/jsmin/issues/33
Signed-off-by: Nicolas MASSART <nicolas.massart@consensys.net>
Co-authored-by: Nicolas MASSART <nicolas.massart@consensys.net>
| `transitions` | Specifies block at which to change [IBFT 2.0](../HowTo/Configure/Consensus-Protocols/Add-Validators.md#adding-and-removing-validators-without-voting) or [QBFT](../HowTo/Configure/Consensus-Protocols/Add-Validators.md#adding-and-removing-validators-without-voting_1) validators. |
| `contractSizeLimit` | Maximum contract size in bytes. Specify in [free gas networks](../HowTo/Configure/FreeGas.md). The default is `24576` and the maximum size is `2147483647`. |
| `evmStackSize` | Maximum stack size. Specify to increase the maximum stack size in private networks with complex smart contracts. The default is `1024`. |
| `isQuorum` | Set to `true` to allow [interoperable private transactions] between Hyperledger Besu and [GoQuorum clients] using the Tessera private transaction manager. |
| `ecCurve` | Specifies [the elliptic curve to use](../HowTo/Configure/Alternative-EC-Curves.md). Default is `secp256k1`. |
| `contractSizeLimit` | Maximum contract size in bytes. Specify in [free gas networks](../HowTo/Configure/FreeGas.md). The default is `24576` and the maximum size is `2147483647`. |
| `evmStackSize` | Maximum stack size. Specify to increase the maximum stack size in private networks with complex smart contracts. The default is `1024`. |
| `isQuorum` | Set to `true` to allow [interoperable private transactions] between Hyperledger Besu and [GoQuorum clients] using the Tessera private transaction manager. |
| `ecCurve` | Specifies [the elliptic curve to use](../HowTo/Configure/Alternative-EC-Curves.md). Default is `secp256k1`. |
## Genesis block parameters
@ -32,8 +32,8 @@ The purpose of some genesis block parameters varies depending on the consensus p
[IBFT 2.0](../HowTo/Configure/Consensus-Protocols/IBFT.md), or
[QBFT](../HowTo/Configure/Consensus-Protocols/QBFT.md)). These parameters include:
* `difficulty`
* `extraData`
* `difficulty`.
* `extraData`.
* `mixHash`.
The following table describes the genesis block parameters with the same purpose across all
@ -44,14 +44,14 @@ consensus protocols.
| `coinbase` | Address to pay mining rewards to. Can be any value in the genesis block (commonly set to `0x0000000000000000000000000000000000000000`). |
| `gasLimit` | Block gas limit. Total gas limit for all transactions in a block. |
| `nonce` | Used in block computation. Can be any value in the genesis block (commonly set to `0x0`). |
| `timestamp` | Creation date and time of the block. Must be before the next block so we recommend specifying `0x0` in the genesis file. |
| `timestamp` | Creation date and time of the block. Must be before the next block so we recommend specifying `0x0` in the genesis file. |
| `alloc` | Defines [accounts with balances](Accounts-for-Testing.md) or [contracts](../HowTo/Configure/Contracts-in-Genesis.md). |
## Milestone blocks
In public networks, the milestone blocks specify the blocks at which the network changed protocol.
!!! example "Ethereum Mainnet Milestone Blocks"
!!! example "Ethereum MainNet milestone blocks"
```json
{
@ -74,7 +74,7 @@ In public networks, the milestone blocks specify the blocks at which the network
In private networks, the milestone block defines the protocol version for the network.