<<" 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
<<" address Gives the current address."<<endl
<<" secret Gives the current secret"<<endl
<<" block Gives the current block height."<<endl
@ -76,13 +78,14 @@ void interactiveHelp()
<<" 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
<<" listAccounts List the accounts on the network."<<endl
<<" listContracts List the contracts on the network."<<endl
<<" setSecret <secret> Set the secret to the hex secret key."<<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
<<" listAccounts List the accounts on the network."<<endl
<<" listContracts List the contracts on the network."<<endl
<<" setSecret <secret> Set the secret to the hex secret key."<<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
<<" dumptrace <block> <index> <filename> <format> Dumps a transaction trace"<<endl<<"to <filename>. <format> should be one of pretty, standard, standard+."<<endl
<<" exit Exits the application."<<endl;
}
@ -357,6 +360,12 @@ int main(int argc, char** argv)
{
c.stopMining();
}
elseif(cmd=="mineforce")
{
stringenable;
iss>>enable;
c.setForceMining(isTrue(enable));
}
elseif(cmd=="verbosity")
{
if(iss.peek()!=-1)
@ -397,7 +406,7 @@ int main(int argc, char** argv)