command
Version:
v0.2.8-doc
Opens a new window with list of versions in this module.
Published: May 21, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 14
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Console
console is a command-line management tool mainly used by miners.
Usage
console [global options] command [command options] [arguments...]
Commands
Overview
- account
Show accounts of the cpchain node
- miner
Miner operations
- reward
Reward contract operations
- status
Show status of cpchain node
- help, h
Shows a list of commands or help for one command
Command 'account'
Usage: console account [command options] [arguments...]
- --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
- --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
- --keystore value Keystore directory (default: "//.cpchain/keystore/")
Command 'miner'
Usage: console miner <subcommand> [command options] [arguments...]
Subcommands
- start Start mining
- stop Stop mining
OPTIONS
- --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
- --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
- --keystore value Keystore directory (default: "//.cpchain/keystore/")
Command 'reward'
Usage: console reward <subcommand> [command options] [arguments...]
Subcommands
- deposit deposit money
arguments: <money to deposit>, default is 1000 CPC.
- withdraw withdraw money
arguments: <money to withdraw>, default is the balance of fundraising account.
- wantrenew want renew investment of current round
- quitrenew quit renew investment of current round
Options
- --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
- --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
- --keystore value Keystore directory (default: "//.cpchain/keystore/")
- --gasprice value Gas Price, default 10 (default: 10)
- --gaslimit value Gas Limit, default 2000000 (default: 2000000)
Command 'status'
Usage: console status [command options]
Show status of the node.
Options
- --rpc value Set the APIs offered over the HTTP-RPC interface (default: "http://127.0.0.1:8501")
- --password value Password file to use for non-interactive password input (default: "//.cpchain/password")
- --keystore value Keystore directory (default: "//.cpchain/keystore/")
Command 'help'
Usage: console help
Show help information.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.