Skip to content

Commit 735a331

Browse files
committed
updated alphad
1 parent 830419f commit 735a331

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/bitcoin-cli.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static void SetupCliArgs(ArgsManager& argsman)
104104
argsman.AddArg("-rpcuser=<user>", "Username for JSON-RPC connections", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
105105
argsman.AddArg("-rpcwait", "Wait for RPC server to start", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
106106
argsman.AddArg("-rpcwaittimeout=<n>", strprintf("Timeout in seconds to wait for the RPC server to start, or 0 for no timeout. (default: %d)", DEFAULT_WAIT_CLIENT_TIMEOUT), ArgsManager::ALLOW_ANY | ArgsManager::DISALLOW_NEGATION, OptionsCategory::OPTIONS);
107-
argsman.AddArg("-rpcwallet=<walletname>", "Send RPC for non-default wallet on RPC server (needs to exactly match corresponding -wallet option passed to bitcoind). This changes the RPC endpoint used, e.g. http://127.0.0.1:8332/wallet/<walletname>", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
107+
argsman.AddArg("-rpcwallet=<walletname>", "Send RPC for non-default wallet on RPC server (needs to exactly match corresponding -wallet option passed to alphad). This changes the RPC endpoint used, e.g. http://127.0.0.1:8332/wallet/<walletname>", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
108108
argsman.AddArg("-stdin", "Read extra arguments from standard input, one per line until EOF/Ctrl-D (recommended for sensitive information such as passphrases). When combined with -stdinrpcpass, the first line from standard input is used for the RPC password.", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
109109
argsman.AddArg("-stdinrpcpass", "Read RPC password from standard input as a single line. When combined with -stdin, the first line from standard input is used for the RPC password. When combined with -stdinwalletpassphrase, -stdinrpcpass consumes the first line, and -stdinwalletpassphrase consumes the second.", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
110110
argsman.AddArg("-stdinwalletpassphrase", "Read wallet passphrase from standard input as a single line. When combined with -stdin, the first line from standard input is used for the wallet passphrase.", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS);
@@ -284,7 +284,7 @@ class AddrinfoRequestHandler : public BaseRequestHandler
284284
if (!reply["error"].isNull()) return reply;
285285
const std::vector<UniValue>& nodes{reply["result"].getValues()};
286286
if (!nodes.empty() && nodes.at(0)["network"].isNull()) {
287-
throw std::runtime_error("-addrinfo requires bitcoind server to be running v22.0 and up");
287+
throw std::runtime_error("-addrinfo requires alphad server to be running v22.0 and up");
288288
}
289289
// Count the number of peers known to our node, by network.
290290
std::array<uint64_t, NETWORKS.size()> counts{{}};
@@ -498,7 +498,7 @@ class NetinfoRequestHandler : public BaseRequestHandler
498498

499499
const UniValue& networkinfo{batch[ID_NETWORKINFO]["result"]};
500500
if (networkinfo["version"].getInt<int>() < 209900) {
501-
throw std::runtime_error("-netinfo requires bitcoind server to be running v0.21.0 and up");
501+
throw std::runtime_error("-netinfo requires alphad server to be running v0.21.0 and up");
502502
}
503503
const int64_t time_now{TicksSinceEpoch<std::chrono::seconds>(CliClock::now())};
504504

@@ -842,7 +842,7 @@ static UniValue CallRPC(BaseRequestHandler* rh, const std::string& strMethod, co
842842
if (response.error != -1) {
843843
responseErrorMessage = strprintf(" (error code %d - \"%s\")", response.error, http_errorstring(response.error));
844844
}
845-
throw CConnectionFailed(strprintf("Could not connect to the server %s:%d%s\n\nMake sure the bitcoind server is running and that you are connecting to the correct RPC port.", host, port, responseErrorMessage));
845+
throw CConnectionFailed(strprintf("Could not connect to the server %s:%d%s\n\nMake sure the alphad server is running and that you are connecting to the correct RPC port.", host, port, responseErrorMessage));
846846
} else if (response.status == HTTP_UNAUTHORIZED) {
847847
if (failedToGetAuthCookie) {
848848
throw std::runtime_error(strprintf(

0 commit comments

Comments
 (0)