mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add Shard pool management
This commit is contained in:
committed by
manojsdoshi
parent
d282b0bf85
commit
03c809371a
@@ -353,12 +353,6 @@ run(int argc, char** argv)
|
||||
importText += ConfigSection::nodeDatabase();
|
||||
importText += "] configuration file section).";
|
||||
}
|
||||
std::string shardsText;
|
||||
{
|
||||
shardsText += "Validate an existing shard database (specified in the [";
|
||||
shardsText += ConfigSection::shardDatabase();
|
||||
shardsText += "] configuration file section).";
|
||||
}
|
||||
|
||||
// Set up option parsing.
|
||||
//
|
||||
@@ -388,8 +382,7 @@ run(int argc, char** argv)
|
||||
"replay", "Replay a ledger close.")(
|
||||
"start", "Start from a fresh Ledger.")(
|
||||
"vacuum", "VACUUM the transaction db.")(
|
||||
"valid", "Consider the initial ledger a valid network ledger.")(
|
||||
"validateShards", shardsText.c_str());
|
||||
"valid", "Consider the initial ledger a valid network ledger.");
|
||||
|
||||
po::options_description rpc("RPC Client Options");
|
||||
rpc.add_options()(
|
||||
@@ -611,9 +604,6 @@ run(int argc, char** argv)
|
||||
if (vm.count("nodetoshard"))
|
||||
config->nodeToShard = true;
|
||||
|
||||
if (vm.count("validateShards"))
|
||||
config->validateShards = true;
|
||||
|
||||
if (vm.count("ledger"))
|
||||
{
|
||||
config->START_LEDGER = vm["ledger"].as<std::string>();
|
||||
|
||||
Reference in New Issue
Block a user