export_transaction

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2022 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "export-json-transactions",
	Short: "exports transactions into a json file",
	Run:   run,
}

example: ./util export-json-transactions --output-dir ./ --datadir /var/fow/data/protocol/ --start-height 2 --end-height 242

Functions

func ExportTransactions

func ExportTransactions(dataDir string, outputDir string, startHeight uint64, endHeight uint64) error

ExportTransactions exports transactions to JSON to the outputDir for height range specified by startHeight and endHeight

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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