<<" netstart <port> Starts the network subsystem on a specific port."<<endl
<<" netstop Stops the network subsystem."<<endl
<<" connect <addr> <port> Connects to a specific peer."<<endl
<<" verbosity (<level>) Gets or sets verbosity level."<<endl
<<" minestart Starts mining."<<endl
<<" minestop Stops mining."<<endl
<<" mineforce <enable> Forces mining, even when there are no transactions."<<endl
<<" block Gives the current block height."<<endl
<<" blockhashfromnumber <number> Gives the block hash with the givne number."<<endl
<<" numberfromblockhash <hash> Gives the block number with the given hash."<<endl
<<" blockqueue Gives the current block queue status."<<endl
<<" findblock <hash> Searches for the block in the blockchain and blockqueue."<<endl
<<" firstunknown Gives the first unknown block from the blockqueue."<<endl
<<" retryunknown retries to import all unknown blocks from the blockqueue."<<endl
<<" accounts Gives information on all owned accounts (balances, mining beneficiary and default signer)."<<endl
<<" newaccount <name> Creates a new account with the given name."<<endl
<<" transact Execute a given transaction."<<endl
<<" transactnonce Execute a given transaction with a specified nonce."<<endl
<<" txcreate Execute a given contract creation transaction."<<endl
<<" send Execute a given transaction with current secret."<<endl
<<" contract Create a new contract with current secret."<<endl
<<" peers List the peers that are connected"<<endl
#if ETH_FATDB || !ETH_TRUE
<<" listaccounts List the accounts on the network."<<endl
<<" listcontracts List the contracts on the network."<<endl
<<" balanceat <address> Gives the balance of the given account."<<endl
<<" balanceatblock <address> <blocknumber> Gives the balance of the given account."<<endl
<<" storageat <address> Gives the storage of the given account."<<endl
<<" storageatblock <address> <blocknumber> Gives the storahe of the given account at a given blocknumber."<<endl
<<" codeat <address> Gives the code of the given account."<<endl
#endif
<<" setsigningkey <addr> Set the address with which to sign transactions."<<endl
<<" setaddress <addr> Set the coinbase (mining payout) address."<<endl
<<" exportconfig <path> Export the config (.RLP) to the path provided."<<endl
<<" importconfig <path> Import the config (.RLP) from the path provided."<<endl
<<" inspect <contract> Dumps a contract to <APPDATA>/<contract>.evm."<<endl
<<" reprocess <block> Reprocess a given block."<<endl
<<" dumptrace <block> <index> <filename> <format> Dumps a transaction trace"<<endl<<"to <filename>. <format> should be one of pretty, standard, standard+."<<endl
<<" dumpreceipt <block> <index> Dumps a transation receipt."<<endl
<<" hashrate Print the current hashrate in hashes per second if the client is mining."<<endl
<<" exit Exits the application."<<endl;
}
voidhelp()
voidhelp()
{
{
cout
cout
<<"Usage eth [OPTIONS]"<<endl
<<"Usage eth [OPTIONS]"<<endl
<<"Options:"<<endl<<endl
<<"Options:"<<endl<<endl
<<"Operating mode (default is non-interactive node):"<<endl
#if ETH_JSCONSOLE || !ETH_TRUE
<<" console Enter interactive console mode (default: non-interactive)."<<endl
<<" import <file> Import file as a concatenated series of blocks."<<endl
<<" export <file> Export file as a concatenated series of blocks."<<endl
#endif
<<"Client mode (default):"<<endl
<<"Client mode (default):"<<endl
<<" --olympic Use the Olympic (0.9) protocol."<<endl
<<" --olympic Use the Olympic (0.9) protocol."<<endl
<<" --frontier Use the Frontier (1.0) protocol."<<endl
<<" --frontier Use the Frontier (1.0) protocol."<<endl
@ -127,9 +86,6 @@ void help()
<<" --genesis-json <file> Import the genesis block information from the given json file."<<endl
<<" --genesis-json <file> Import the genesis block information from the given json file."<<endl
<<endl
<<endl
<<" -o,--mode <full/peer> Start a full node or a peer node (default: full)."<<endl
<<" -o,--mode <full/peer> Start a full node or a peer node (default: full)."<<endl
#if ETH_JSCONSOLE || !ETH_TRUE
<<" -i,--interactive Enter interactive mode (default: non-interactive)."<<endl
#endif
<<endl
<<endl
#if ETH_JSONRPC || !ETH_TRUE
#if ETH_JSONRPC || !ETH_TRUE
<<" -j,--json-rpc Enable JSON-RPC server (default: off)."<<endl
<<" -j,--json-rpc Enable JSON-RPC server (default: off)."<<endl
@ -169,7 +125,8 @@ void help()
<<endl
<<endl
<<"Client networking:"<<endl
<<"Client networking:"<<endl
<<" --client-name <name> Add a name to your client's version string (default: blank)."<<endl
<<" --client-name <name> Add a name to your client's version string (default: blank)."<<endl
<<" -b,--bootstrap Connect to the default Ethereum peerserver."<<endl
<<" --bootstrap Connect to the default Ethereum peerservers (default unless --no-discovery used)."<<endl
<<" --no-bootstrap Do not connect to the default Ethereum peerservers (default only when --no-discovery is used)."<<endl
<<" -x,--peers <number> Attempt to connect to given number of peers (default: 11)."<<endl
<<" -x,--peers <number> Attempt to connect to given number of peers (default: 11)."<<endl
/// Convert u256 into user-readable string. Returns int/hex value of 64 bits int, hex of 160 bits FixedHash. As a fallback try to handle input as h256.
/// Convert u256 into user-readable string. Returns int/hex value of 64 bits int, hex of 160 bits FixedHash. As a fallback try to handle input as h256.