Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCommand ¶
func GetRootCMD ¶
./posa regenesis getroot --rpc "http://localhost:10002"
func HistoryTestCmd ¶
Run: ./posa regenesis history --triedb "path_to_triedb" --chaindb "path_to_blockchain_db"
func RegenesisCMD ¶
./posa 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
Click to show internal directories.
Click to hide internal directories.