@@ -72,10 +72,10 @@ void RPCTypeCheckObj(const UniValue& o,
7272 * Utilities: convert hex-encoded Values
7373 * (throws error if not hex).
7474 */
75- extern uint256 ParseHashV (const UniValue& v, std::string strName);
76- extern uint256 ParseHashO (const UniValue& o, std::string strKey);
77- extern std::vector<unsigned char > ParseHexV (const UniValue& v, std::string strName);
78- extern std::vector<unsigned char > ParseHexO (const UniValue& o, std::string strKey);
75+ uint256 ParseHashV (const UniValue& v, std::string strName);
76+ uint256 ParseHashO (const UniValue& o, std::string strKey);
77+ std::vector<unsigned char > ParseHexV (const UniValue& v, std::string strName);
78+ std::vector<unsigned char > ParseHexO (const UniValue& o, std::string strKey);
7979
8080/* *
8181 * Validate and return a CAmount from a UniValue number or string.
@@ -84,13 +84,13 @@ extern std::vector<unsigned char> ParseHexO(const UniValue& o, std::string strKe
8484 * @param[in] decimals Number of significant digits (default: 8).
8585 * @returns a CAmount if the various checks pass.
8686 */
87- extern CAmount AmountFromValue (const UniValue& value, int decimals = 8 );
87+ CAmount AmountFromValue (const UniValue& value, int decimals = 8 );
8888
8989using RPCArgList = std::vector<std::pair<std::string, UniValue>>;
90- extern std::string HelpExampleCli (const std::string& methodname, const std::string& args);
91- extern std::string HelpExampleCliNamed (const std::string& methodname, const RPCArgList& args);
92- extern std::string HelpExampleRpc (const std::string& methodname, const std::string& args);
93- extern std::string HelpExampleRpcNamed (const std::string& methodname, const RPCArgList& args);
90+ std::string HelpExampleCli (const std::string& methodname, const std::string& args);
91+ std::string HelpExampleCliNamed (const std::string& methodname, const RPCArgList& args);
92+ std::string HelpExampleRpc (const std::string& methodname, const std::string& args);
93+ std::string HelpExampleRpcNamed (const std::string& methodname, const RPCArgList& args);
9494
9595CPubKey HexToPubKey (const std::string& hex_in);
9696CPubKey AddrToPubKey (const FillableSigningProvider& keystore, const std::string& addr_in);
0 commit comments