-
Notifications
You must be signed in to change notification settings - Fork 784
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
beta.1 release: rebuild documentation
- Loading branch information
Showing
170 changed files
with
10,848 additions
and
6,317 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
149 changes: 0 additions & 149 deletions
149
packages/block/docs/interfaces/_index_.blockheaderdata.md
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[@ethereumjs/block](../README.md) › ["index"](../modules/_index_.md) › [BlockOptions](_index_.blockoptions.md) | ||
|
||
# Interface: BlockOptions | ||
|
||
An object to set to which blockchain the blocks and their headers belong. This could be specified | ||
using a Common object, or `chain` and `hardfork`. Defaults to mainnet without specifying a | ||
hardfork. | ||
|
||
## Hierarchy | ||
|
||
* **BlockOptions** | ||
|
||
## Index | ||
|
||
### Properties | ||
|
||
* [common](_index_.blockoptions.md#optional-common) | ||
* [hardforkByBlockNumber](_index_.blockoptions.md#optional-hardforkbyblocknumber) | ||
* [initWithGenesisHeader](_index_.blockoptions.md#optional-initwithgenesisheader) | ||
|
||
## Properties | ||
|
||
### `Optional` common | ||
|
||
• **common**? : *Common* | ||
|
||
*Defined in [types.ts:20](https://github.com/ethereumjs/ethereumjs-vm/blob/master/packages/block/src/types.ts#L20)* | ||
|
||
A Common object defining the chain and the hardfork a block/block header belongs to. | ||
|
||
Default: `Common` object set to `mainnet` and the HF currently defined as the default | ||
hardfork in the `Common` class. | ||
|
||
Current default hardfork: `istanbul` | ||
|
||
___ | ||
|
||
### `Optional` hardforkByBlockNumber | ||
|
||
• **hardforkByBlockNumber**? : *undefined | false | true* | ||
|
||
*Defined in [types.ts:26](https://github.com/ethereumjs/ethereumjs-vm/blob/master/packages/block/src/types.ts#L26)* | ||
|
||
Determine the HF by the block number | ||
|
||
Default: `false` (HF is set to whatever default HF is set by the Common instance) | ||
|
||
___ | ||
|
||
### `Optional` initWithGenesisHeader | ||
|
||
• **initWithGenesisHeader**? : *undefined | false | true* | ||
|
||
*Defined in [types.ts:37](https://github.com/ethereumjs/ethereumjs-vm/blob/master/packages/block/src/types.ts#L37)* | ||
|
||
Turns the block header into the canonical genesis block header | ||
|
||
If set to `true` all other header data is ignored. | ||
|
||
If a Common instance is passed the instance need to be set to `chainstart` as a HF, | ||
otherwise usage of this option will throw | ||
|
||
Default: `false` |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.