Browse Source

'coinbase' to 'etherbase' (parameters, help text)

The coinbase/etherbase terminology causes confusion in the community. The mining payout is referenced everywhere as etherbase, except in some places where referenced as coinbase. Since coinbase might be a TM and etherbase is mostly used, I suggest to stick with etherbase.
cl-refactor
Tasha CARL 9 years ago
parent
commit
1d5c8c28d7
  1. 4
      eth/main.cpp

4
eth/main.cpp

@ -115,7 +115,7 @@ void help()
<< " --bid <wei> Set the bid gas price to pay for transactions (default " << toString(c_defaultGasPrice) << " )." << endl
<< endl
<< "Client mining:" << endl
<< " -a,--address <addr> Set the coinbase (mining payout) address to given address (default: auto)." << endl
<< " -a,--address <addr> Set the etherbase (mining payout) address to given address (default: auto)." << endl
<< " -m,--mining <on/off/number> Enable mining, optionally for a specified number of blocks (default: off)." << endl
<< " -f,--force-mining Mine even when there are no transactions to mine (default: off)." << endl
<< " --mine-on-wrong-chain Mine even when we know that it is the wrong chain (default: off)." << endl
@ -494,7 +494,7 @@ int main(int argc, char** argv)
cerr << "-c is DEPRECATED. It will be removed for the Frontier. Use --client-name instead." << endl;
clientName = argv[++i];
}
else if ((arg == "-a" || arg == "--address" || arg == "--coinbase-address") && i + 1 < argc)
else if ((arg == "-a" || arg == "--address" || arg == "--etherbase-address" || arg == "--coinbase-address") && i + 1 < argc)
try {
beneficiary = h160(fromHex(argv[++i], WhenError::Throw));
}

Loading…
Cancel
Save