| Crates.io | darwinia-shadow |
| lib.rs | darwinia-shadow |
| version | 0.2.5 |
| created_at | 2020-08-27 07:44:08.338263+00 |
| updated_at | 2020-09-23 07:13:44.359636+00 |
| description | The shadow service for relayers and verify workers to retrieve header data and generate proof. |
| homepage | https://github.com/darwinia-network/shadow |
| repository | https://github.com/darwinia-network/shadow |
| max_upload_size | |
| id | 281315 |
| size | 415,126 |
The shadow service for relayers and verify workers to retrieve header data and generate proof. Shadow will index the data it needs from blockchain nodes, such as Ethereum and Darwinia.
shadow 0.2.5
USAGE:
shadow <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
count Current block height in mmr store
help Prints this message or the help of the given subcommand(s)
run Start shadow service
trim Trim mmr from target leaf
$ cargo install darwinia-shadow
Please make sure you have golang installed in your machine
| ENV | Desc | Example |
|---|---|---|
ETHEREUM_RPC |
The rpc of ethereum node | ETHEREUM_RPC=http://localhost:8545 |
ETHEREUM_ROPSTEN |
Enable ropsten source | ETHEREUM_ROPSTEN=true |
MMR_LOG |
The gap of mmr logs | MMR_LOG=10000 |
Everytime you run proof in error, please delete ~/.ethashproof and ~/.ethash
and retry.
GPL-3.0