ELC implementation for BNB Smart Chain.
NOTE: This project is currently under heavy development. Features may change or break.
Environment variables can be used to change settings. Each configuration must be determined at build time, not at run time.
You can change the blocks per epoch for localnet. This is available in dev feature only.
BSC_BLOCKS_PER_EPOCH=20 cargo build --features=dev
Parameters can be specified to check for acceptable headers at build time.
Name | Description |
---|---|
MINIMUM_TIMESTAMP_SUPPORTED |
Timestamp of the lowest header this light client will accept |
MINIMUM_HEIGHT_SUPPORTED |
Height of the lowest header this light client will accept |
PASCAL_TIMESTAMP |
Timestamp of the first Pascal Hardfork header, used to check the header structure after Pascal Hardfork; if 0 is specified, no check is made. |