This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Relates to #8221. Create template package for ethdb for Parity E…
…thereum interaction with DB on-demand
- Loading branch information
Showing
10 changed files
with
93 additions
and
2 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
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,15 @@ | ||
[package] | ||
name = "ethdb" | ||
description = "Parity Ethereum command-line tool for database interaction" | ||
version = "0.1.0" | ||
authors = ["Parity Technologies <[email protected]>"] | ||
|
||
[[bin]] | ||
name = "ethdb" | ||
path = "./src/main.rs" | ||
|
||
[dependencies] | ||
|
||
[dev-dependencies] | ||
|
||
[features] |
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,42 @@ | ||
## ethdb | ||
|
||
Parity Ethereum interaction with the DB on-demand. | ||
|
||
### Usage | ||
|
||
``` | ||
Parity Ethereum interaction with the DB on-demand. | ||
Copyright 2015-2019 Parity Technologies (UK) Ltd. | ||
Usage: | ||
ethdb build-trace-db | ||
ethdb [options] | ||
ethdb [-h | --help] | ||
Commands: | ||
build-trace-db Build TraceDB on-demand and output to json file. | ||
Tracing options: | ||
--chain CHAIN Build only from specific chain. | ||
--from BLOCK Build only from a specific block. | ||
--to BLOCK Build only to a specific block. | ||
General options: | ||
--json Display verbose results in JSON. | ||
--std-json Display results in standardized JSON format. | ||
--std-err-only With --std-json redirect to err output only. | ||
--std-out-only With --std-json redirect to out output only. | ||
--std-dump-json Display results in standardized JSON format | ||
with additional state dump. | ||
-h, --help Display this message and exit. | ||
``` | ||
|
||
## Parity Ethereum toolchain | ||
_This project is a part of the Parity Ethereum toolchain._ | ||
|
||
- [evmbin](https://github.com/paritytech/parity-ethereum/blob/master/evmbin/) - EVM implementation for Parity Ethereum. | ||
- [ethabi](https://github.com/paritytech/ethabi) - Parity Ethereum function calls encoding. | ||
- [ethdb](https://github.com/paritytech/ethdb) - Parity Ethereum interaction with the DB on-demand. | ||
- [ethstore](https://github.com/paritytech/parity-ethereum/blob/master/accounts/ethstore) - Parity Ethereum key management. | ||
- [ethkey](https://github.com/paritytech/parity-ethereum/blob/master/accounts/ethkey) - Parity Ethereum keys generator. | ||
- [whisper](https://github.com/paritytech/parity-ethereum/blob/master/whisper/) - Implementation of Whisper-v2 PoC. |
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,23 @@ | ||
// Copyright 2015-2019 Parity Technologies (UK) Ltd. | ||
// This file is part of Parity Ethereum. | ||
|
||
// Parity Ethereum is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
|
||
// Parity Ethereum is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
|
||
// You should have received a copy of the GNU General Public License | ||
// along with Parity Ethereum. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
//! Parity Ethereum command-line tool for database interaction. | ||
|
||
#![warn(missing_docs)] | ||
|
||
fn main() { | ||
// TODO | ||
} |
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