parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayBalance

func DisplayBalance(b *childchain.WatcherBalanceFromAddress)

log the balance data in a human friendly format

func DisplayEthTransaction

func DisplayEthTransaction(description, txhash string)

log any Ethereum transaction data

func DisplayGetResponse

func DisplayGetResponse(response *childchain.TransactionGetResponse)

Display transaction.get response

func DisplaySubmitResponse

func DisplaySubmitResponse(response *childchain.TransactionSubmitResponse)

Display transaction.submit response

func DisplayUTXOS

func DisplayUTXOS(u *childchain.WatcherUTXOsFromAddress)

log the UTXO data in a human friendly format

func ParseArgs

func ParseArgs()

Types

type ByzantineEventCounts

type ByzantineEventCounts struct {
	PiggyBack        int
	NonCanonical     int
	UnchallengedExit int
	InvalidExit      int
}

func DisplayByzantineEvents

func DisplayByzantineEvents(b *childchain.WatcherStatus) ByzantineEventCounts

TODO: Display all events in the specs parse byzantine events data based on event names

Jump to

Keyboard shortcuts

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