mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
Compare commits
4 Commits
57b266e630
...
616d8d223e
Author | SHA1 | Date | |
---|---|---|---|
|
616d8d223e | ||
|
ad7a373529 | ||
|
d75ee3a9e1 | ||
|
9766cbe6ac |
@ -86,10 +86,10 @@ likely require a reindex.
|
|||||||
- **glibc Requirement**
|
- **glibc Requirement**
|
||||||
- The minimum required glibc to run Dash Core is now **2.31**. This means that **RHEL 8** and **Ubuntu 18.04 (Bionic)** are no longer supported.
|
- The minimum required glibc to run Dash Core is now **2.31**. This means that **RHEL 8** and **Ubuntu 18.04 (Bionic)** are no longer supported.
|
||||||
|
|
||||||
## New RPCs
|
- **FreeBSD Improvements**
|
||||||
|
- Fixed issues with building Dash Core on FreeBSD.
|
||||||
|
|
||||||
- **`quorum platformsign`**
|
## New RPCs
|
||||||
- A new subcommand has been introduced, offering a structured way to perform platform-related quorum signing operations.
|
|
||||||
|
|
||||||
- **`coinjoinsalt`**
|
- **`coinjoinsalt`**
|
||||||
- Allows manipulation of a CoinJoin salt stored in a wallet.
|
- Allows manipulation of a CoinJoin salt stored in a wallet.
|
||||||
@ -153,7 +153,7 @@ likely require a reindex.
|
|||||||
## Devnet Breaking Changes
|
## Devnet Breaking Changes
|
||||||
|
|
||||||
- **Hardfork Activation Changes**
|
- **Hardfork Activation Changes**
|
||||||
- `BRR` (`realloc`), `DIP0020`, `DIP0024`, `V19`, `V20`, and `MN_R` hardforks are now activated at **block 2** instead of block **300** on devnets.
|
- `BRR` (`realloc`), `DIP0020`, `DIP0024`, `V19`, `V20`, and `MN_RR` hardforks are now activated at **block 2** instead of block **300** on devnets.
|
||||||
- **Implications:**
|
- **Implications:**
|
||||||
- Breaking change.
|
- Breaking change.
|
||||||
- Inability to sync on devnets created with earlier Dash Core versions and vice versa.
|
- Inability to sync on devnets created with earlier Dash Core versions and vice versa.
|
||||||
|
@ -235,7 +235,7 @@ Remote Procedure Calls (RPCs)
|
|||||||
support for coin selection and a custom fee rate. The `send` RPC is experimental
|
support for coin selection and a custom fee rate. The `send` RPC is experimental
|
||||||
and may change in subsequent releases. Using it is encouraged once it's no
|
and may change in subsequent releases. Using it is encouraged once it's no
|
||||||
longer experimental: `sendmany` and `sendtoaddress` may be deprecated in a future release.
|
longer experimental: `sendmany` and `sendtoaddress` may be deprecated in a future release.
|
||||||
- A new `quorum signplatform` RPC is added for Platform needs. This composite command limits Platform to only request signatures from the Platform quorum type. It is equivalent to `quorum sign <platform type>`.
|
- A new `quorum platformsign` RPC is added for Platform needs. This composite command limits Platform to only request signatures from the Platform quorum type. It is equivalent to `quorum sign <platform type>`.
|
||||||
|
|
||||||
### RPC changes
|
### RPC changes
|
||||||
- `createwallet` has an updated argument list: `createwallet "wallet_name" ( disable_private_keys blank "passphrase" avoid_reuse descriptors load_on_startup )`
|
- `createwallet` has an updated argument list: `createwallet "wallet_name" ( disable_private_keys blank "passphrase" avoid_reuse descriptors load_on_startup )`
|
||||||
|
@ -47,14 +47,10 @@
|
|||||||
static RPCHelpMan debug()
|
static RPCHelpMan debug()
|
||||||
{
|
{
|
||||||
return RPCHelpMan{"debug",
|
return RPCHelpMan{"debug",
|
||||||
"Change debug category on the fly. Specify single category or use '+' to specify many.\n"
|
"DEPRECATED. Use instead the 'logging' RPC instead.\n"
|
||||||
"The valid logging categories are: " + LogInstance().LogCategoriesString() + ".\n"
|
"For 'debug all': logging [\\\"all\\\"]\n"
|
||||||
"libevent logging is configured on startup and cannot be modified by this RPC during runtime.\n"
|
"For 'debug none': logging []\n"
|
||||||
"There are also a few meta-categories:\n"
|
"For 'debug X+Y': logging \"[\\\"X\\\", \\\"Y\\\"]\"",
|
||||||
" - \"all\", \"1\" and \"\" activate all categories at once;\n"
|
|
||||||
" - \"dash\" activates all Dash-specific categories at once;\n"
|
|
||||||
" - \"none\" (or \"0\") deactivates all categories at once.\n"
|
|
||||||
"Note: If specified category doesn't match any of the above, no error is thrown.\n",
|
|
||||||
{
|
{
|
||||||
{"category", RPCArg::Type::STR, RPCArg::Optional::NO, "The name of the debug category to turn on."},
|
{"category", RPCArg::Type::STR, RPCArg::Optional::NO, "The name of the debug category to turn on."},
|
||||||
},
|
},
|
||||||
@ -67,6 +63,9 @@ static RPCHelpMan debug()
|
|||||||
},
|
},
|
||||||
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
|
[&](const RPCHelpMan& self, const JSONRPCRequest& request) -> UniValue
|
||||||
{
|
{
|
||||||
|
if (!IsDeprecatedRPCEnabled("debug")) {
|
||||||
|
throw JSONRPCError(RPC_METHOD_DEPRECATED, "Please use logging instead");
|
||||||
|
}
|
||||||
|
|
||||||
std::string strMode = request.params[0].get_str();
|
std::string strMode = request.params[0].get_str();
|
||||||
LogInstance().DisableCategory(BCLog::ALL);
|
LogInstance().DisableCategory(BCLog::ALL);
|
||||||
@ -1505,7 +1504,6 @@ void RegisterMiscRPCCommands(CRPCTable &t)
|
|||||||
static const CRPCCommand commands[] =
|
static const CRPCCommand commands[] =
|
||||||
{ // category actor (function)
|
{ // category actor (function)
|
||||||
// --------------------- ------------------------
|
// --------------------- ------------------------
|
||||||
{ "control", &debug, },
|
|
||||||
{ "control", &getmemoryinfo, },
|
{ "control", &getmemoryinfo, },
|
||||||
{ "control", &logging, },
|
{ "control", &logging, },
|
||||||
{ "util", &validateaddress, },
|
{ "util", &validateaddress, },
|
||||||
@ -1530,6 +1528,7 @@ static const CRPCCommand commands[] =
|
|||||||
{ "dash", &sporkupdate, },
|
{ "dash", &sporkupdate, },
|
||||||
|
|
||||||
/* Not shown in help */
|
/* Not shown in help */
|
||||||
|
{ "hidden", &debug, },
|
||||||
{ "hidden", &setmocktime, },
|
{ "hidden", &setmocktime, },
|
||||||
{ "hidden", &mockscheduler, },
|
{ "hidden", &mockscheduler, },
|
||||||
{ "hidden", &echo, },
|
{ "hidden", &echo, },
|
||||||
|
Loading…
Reference in New Issue
Block a user