# Functions
ConfigFromDaemonConstants returns CLI constants using a daemon's constants as input.
FetchConfigFromDaemon fetches constants and creates a config, by fetching the constants from the daemon.
No description provided by the author
No description provided by the author
NewCommandLineClient creates a new CLI client, which can be run as it is, or be extended/modified to fit your needs.
NewCurrencyConvertor creates a new currency convertor using the given currency units.
No description provided by the author
No description provided by the author
NewTransactionPoolClient creates a new TransactionPoolClient, that can be used for easy interaction with the TransactionPool API exposed via the HTTP REST API.
NewWalletClient creates a new WalletClient, that can be used for easy interaction with the Wallet API exposed via the HTTP REST API.
ParsePeriod converts a number of weeks to a number of blocks.
PeriodUnits turns a period in terms of blocks to a number of weeks.
Wrap wraps a generic command with a check that the command has been passed the correct number of arguments.
WrapWithConfig wraps a generic command with a check that the command has been passed the correct number of arguments, including one extra *Config argument at the front.
YesNo returns "Yes" if b is true, and "No" if b is false.
# Constants
AuditContractExitCodeInvalidContract is returned as exit code, in case the contract was found, but failed to validate against the given validation flags.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CommandLineClient represents the Rivine Reference CLI Client implementation, which can be run as it is, or be extended/modified to fit your needs.
Config defines the configuration for the default (CLI) client.
CurrencyConvertor is used to parse a currency in it's default unit, and turn it into its in-memory smallest unit.
No description provided by the author
OptionalCommandLineClientCommands allows the creator of a command line client to pass commands that the callee created already, as an overwrite.
No description provided by the author
TransactionPoolClient is used to easily interact with the transaction pool through the HTTP REST API.
WalletClient is used to easily interact with the wallet through the HTTP REST API.
WalletCommand returns the Wallet Command as an extended cobra command, exposing its sub command groups directly as public properties.