regenesis

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand() *cobra.Command

func GetRootCMD

func GetRootCMD() *cobra.Command

./metad regenesis getroot --rpc "http://localhost:10002"

func HistoryTestCmd

func HistoryTestCmd() *cobra.Command

Run: ./metad regenesis history --triedb "path_to_triedb" --chaindb "path_to_blockchain_db"

func RegenesisCMD

func RegenesisCMD() *cobra.Command

./metad regenesis --target-path ./trie_new \ --stateRoot 0xf5ef1a28c82226effb90f4465180ec3469226747818579673f4be929f1cd8663 \ --source-path ./test-chain-1/trie

Types

type ReGenesisResult

type ReGenesisResult struct {
	Message string `json:"message"`
}

func (*ReGenesisResult) GetOutput

func (r *ReGenesisResult) GetOutput() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL