From 5b68ff97b58d3464d375f1864df5e117769e6bad Mon Sep 17 00:00:00 2001 From: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Date: Sat, 7 Jan 2023 20:26:32 -0600 Subject: [PATCH 01/10] fix: avoid re-propogating old qfcommit messages (#5145) ## Issue being fixed or feature implemented This fixes an issue where qfcommit messages can be replayed from the past, then are validated and propagated to other nodes. This patch changes it so that old qfcommits are not relayed. ## What was done? ## How Has This Been Tested? Deployed to a node, and ensured that the log messages are shown. ## Breaking Changes ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation **For repository code-owners and collaborators only** - [ ] I have assigned this pull request to a milestone --- src/llmq/blockprocessor.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/llmq/blockprocessor.cpp b/src/llmq/blockprocessor.cpp index 6add6aa746..27be179ca7 100644 --- a/src/llmq/blockprocessor.cpp +++ b/src/llmq/blockprocessor.cpp @@ -91,6 +91,19 @@ void CQuorumBlockProcessor::ProcessMessage(CNode* pfrom, const std::string& msg_ Misbehaving(pfrom->GetId(), 100); return; } + if (pQuorumBaseBlockIndex->nHeight < (::ChainActive().Height() - GetLLMQParams(type).dkgInterval)) { + LogPrint(BCLog::LLMQ, "CQuorumBlockProcessor::%s -- block %s is too old, peer=%d\n", __func__, + qc.quorumHash.ToString(), pfrom->GetId()); + // TODO: enable punishment in some future version when all/most nodes are running with this fix + // Misbehaving(peer.GetId(), 100); + return; + } + if (HasMinedCommitment(type, qc.quorumHash)) { + LogPrint(BCLog::LLMQ, "CQuorumBlockProcessor::%s -- commitment for quorum hash[%s], type[%d], quorumIndex[%d] is already mined, peer=%d\n", + __func__, qc.quorumHash.ToString(), uint8_t(type), qc.quorumIndex, pfrom->GetId()); + // NOTE: do not punish here + return; + } } { From 2962c6def47c27024b417131b0594a8d510a0825 Mon Sep 17 00:00:00 2001 From: pasta Date: Sat, 7 Jan 2023 19:45:01 -0600 Subject: [PATCH 02/10] chore: bump version --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fbc715fcc3..c55eac5a1c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_PREREQ([2.69]) define(_CLIENT_VERSION_MAJOR, 18) define(_CLIENT_VERSION_MINOR, 1) -define(_CLIENT_VERSION_BUILD, 0) +define(_CLIENT_VERSION_BUILD, 1) define(_CLIENT_VERSION_RC, 0) define(_CLIENT_VERSION_IS_RELEASE, true) define(_COPYRIGHT_YEAR, 2022) From 55615d6b322aa6eae4bfda4f7d5421551e33f306 Mon Sep 17 00:00:00 2001 From: pasta Date: Sat, 7 Jan 2023 20:05:07 -0600 Subject: [PATCH 03/10] chore: add release notes for v18.1.1 --- doc/release-notes.md | 251 +----------- .../dash/release-notes-18.1.0.md | 357 ++++++++++++++++++ 2 files changed, 369 insertions(+), 239 deletions(-) create mode 100644 doc/release-notes/dash/release-notes-18.1.0.md diff --git a/doc/release-notes.md b/doc/release-notes.md index 3fbe266f2a..9518801b0c 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -1,14 +1,11 @@ -Dash Core version v18.1.0 -========================= +Dash Core version 18.1.1 +======================== Release is now available from: -This is a new minor version release, bringing new features, various bugfixes -and other improvements. - -This release is optional for all nodes. +This is a new hotfix release. All nodes should upgrade. Please report bugs using the issue tracker at github: @@ -38,10 +35,6 @@ downgrade to an older version is only possible with a reindex Downgrade warning ----------------- -### Downgrade to a version < v18.1.0 - -Downgrading to a version older than v18.1.0 is supported. - ### Downgrade to a version < v18.0.1 Downgrading to a version older than v18.0.1 is not supported due to changes in @@ -55,250 +48,29 @@ masternodes. This results in PoSe punishment/banning for outdated masternodes, so downgrading even prior to the activation of the introduced hard-fork changes is not recommended. -Versioning ----------- - -Dash Core imperfectly follows semantic versioning. Breaking changes should be -expected in a major release. The number and severity of breaking changes in minor -releases are minimized, however we do not guarantee there are no breaking changes. -Bitcoin backports often introduce breaking changes, and are a likely source of -breaking changes in minor releases. Patch releases should never contain breaking changes. - -This release **does** include breaking changes. Please read below to see if they will affect you. - Notable changes =============== -BIP70 Support Removed ---------------------- +This release fixes an issue where outdated qfcommit messages replayed to the network were validated and propagated to +other nodes rather than dropped. This patch updates the behavior so that old qfcommits will no longer be relayed. -Support for the BIP70 Payment Protocol has been dropped from Dash Qt. -Interacting with BIP70-formatted URIs will return an error message informing them -of support removal. The `allowselfsignedrootcertificates` and `rootcertificates` -launch arguments are no longer valid. +18.1.1 Change log +=================== -systemd init file ------------------ +See detailed [set of changes](https://github.com/dashpay/dash/compare/v18.1.0...dashpay:v18.1.1`). -The systemd init file (`contrib/init/dashd.service`) has been changed to use -`/var/lib/dashd` as the data directory instead of `~dash/.dash`. This -change makes Dash Core more consistent with other services, and makes the -systemd init config more consistent with existing Upstart and OpenRC configs. - -The configuration, PID, and data directories are now completely managed by -systemd, which will take care of their creation, permissions, etc. See -[`systemd.exec (5)`](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=) -for more details. - -When using the provided init files under `contrib/init`, overriding the -`datadir` option in `/etc/dash/dash.conf` will have no effect. This is -because the command line arguments specified in the init files take precedence -over the options specified in `/etc/dash/dash.conf`. - -Account API removed -------------------- - -The 'account' API was deprecated in v18.0 and has been fully removed in v18.1. -The 'label' API was introduced in v18.0 as a replacement for accounts. - -See the [release notes from v18.0.1](https://github.com/dashpay/dash/blob/v18.0.1/doc/release-notes.md) for a full description of the changes from the -'account' API to the 'label' API. - -Build system changes --------------------- - -Python >=3.5 is now required by all aspects of the project. This includes the build -systems, test framework and linters. The previously supported minimum (3.4), was EOL -in March 2019. See bitcoin#14954 for more details. - -Coin selection: Reuse Avoidance --------------- - -A new wallet flag `avoid_reuse` has been added (default off). When enabled, -a wallet will distinguish between used and unused addresses, and default to not -use the former in coin selection. - -(Note: rescanning the blockchain is required, to correctly mark previously -used destinations.) - -Together with "avoid partial spends" (present as of Bitcoin v0.17), this -addresses a serious privacy issue where a malicious user can track spends by -peppering a previously paid to address with near-dust outputs, which would then -be inadvertently included in future payments. - -Auto Loading Wallets -------------- - -Wallets created or loaded in the GUI will now be automatically loaded on -startup, so they don't need to be manually reloaded next time Bitcoin is -started. The list of wallets to load on startup is stored in -`\/settings.json` and augments any command line or `bitcoin.conf` -`-wallet=` settings that specify more wallets to load. Wallets that are -unloaded in the GUI get removed from the settings list so they won't load again -automatically next startup. (bitcoin#19754) - -The `createwallet`, `loadwallet`, and `unloadwallet` RPCs now accept -`load_on_startup` options to modify the settings list. Unless these options are -explicitly set to true or false, the list is not modified, so the RPC methods -remain backwards compatible. (bitcoin#15937) - -Changes regarding misbehaving peers ------------------------------------ - -Peers that misbehave (e.g. send us invalid blocks) are now referred to as -discouraged nodes in log output, as they're not (and weren't) strictly banned: -incoming connections are still allowed from them, but they're preferred for -eviction. - -Furthermore, a few additional changes are introduced to how discouraged -addresses are treated: - -- Discouraging an address does not time out automatically after 24 hours - (or the `-bantime` setting). Depending on traffic from other peers, - discouragement may time out at an indeterminate time. - -- Discouragement is not persisted over restarts. - -- There is no method to list discouraged addresses. They are not returned by - the `listbanned` RPC. That RPC also no longer reports the `ban_reason` - field, as `"manually added"` is the only remaining option. - -- Discouragement cannot be removed with the `setban remove` RPC command. - If you need to remove a discouragement, you can remove all discouragements by - stop-starting your node. - -Remote Procedure Call (RPC) Changes ------------------------------------ - -Most changes here were introduced through Bitcoin backports mostly related to -the deprecation of wallet accounts in DashCore v0.17 and introduction of PSBT -format. - -### The new RPCs are: -- A new `setwalletflag` RPC sets/unsets flags for an existing wallet. -- The `spork` RPC call will no longer offer both get (labelled as "basic mode") and set (labelled as "advanced mode") functionality. `spork` will now only offer "basic" functionality. "Advanced" functionality is now exposed through the `sporkupdate` RPC call. -- The `generateblock` RPC call will mine an array of ordered transactions, defined by hex array `transactions` that can contain either transaction IDs or a hex-encoded serialized raw transaction and set the coinbase destination defined by the `address/descriptor` argument. -- The `mockscheduler` is a debug RPC call that allows forwarding the scheduler by `delta_time`. This RPC call is hidden and will only be functional on mockable chains (i.e. primarily regtest). `delta_time` must be between 0 - 3600. -- `dumptxoutset` see bitcoin#16899 and the help text. This RPC is used for UTXO snapshot creation which is a part of the assume utxo project -- `generatetodescriptor` Mine blocks immediately to a specified descriptor. see bitcoin#16943 - -### The removed RPCs are: -- The wallet's `generate` RPC method has been removed. `generate` is only used for testing. -The RPC call reaches across multiple subsystems (wallet and mining), so is deprecated to simplify the wallet-node -interface. Projects that are using `generate` for testing purposes should -transition to using the `generatetoaddress` call, which does not require or use -the wallet component. Calling `generatetoaddress` with an address returned by -`getnewaddress` gives the same functionality as the old `generate` method. - -### Changes in existing RPCs introduced through bitcoin backports: -- The `gettxoutsetinfo` RPC call now accept one optional argument (`hash_type`) that defines the algorithm used for calcluating the UTXO set hash, it will default to `hash_serialized_2` unless explicitly specified otherwise. `hash_type` will influence the key that is used to refer to refer to the UTXO set hash. -- The `generatedescriptor` RPC call has been introduced to allow mining a set number of blocks, defined by argument `num_blocks`, with the coinbase destination set to a descriptor, defined by the `descriptor` argument. The optional `maxtries` argument can be used to limit iterations. -- Descriptors with key origin information imported through `importmulti` will have their key origin information stored in the wallet for use with creating PSBTs. -- If `bip32derivs` of both `walletprocesspsbt` and `walletcreatefundedpsbt` is set to true but the key metadata for a public key has not been updated yet, then that key will have a derivation path as if it were just an independent key (i.e. no derivation path and its master fingerprint is itself) -- The `getblockstats` RPC is faster for fee calculation by using BlockUndo data. Also, `-txindex` is no longer required and `getblockstats` works for all non-pruned blocks. -- The `unloadwallet` RPC is now synchronous, meaning that it blocks until the wallet is fully unloaded. -- RPCs which have an `include_watchonly` argument or `includeWatching` - option now default to `true` for watch-only wallets. Affected RPCs - are: `getbalance`, `listreceivedbyaddress`, `listreceivedbylabel`, - `listtransactions`, `listsinceblock`, `gettransaction`, - `walletcreatefundedpsbt`, and `fundrawtransaction`. -- `createwallet` now returns a warning if an empty string is used as an encryption password, and does not encrypt the wallet, instead of raising an error. - This makes it easier to disable encryption but also specify other options when using the `bitcoin-cli` tool. -- The RPC `joinpsbts` will shuffle the order of the inputs and outputs of the resulting joined psbt. - Previously inputs and outputs were added in the order that the PSBTs were provided which makes correlating inputs to outputs extremely easy. -- `importprivkey`: new label behavior. -Previously, `importprivkey` automatically added the default empty label -("") to all addresses associated with the imported private key. Now it -defaults to using any existing label for those addresses. For example: - - - Old behavior: you import a watch-only address with the label "cold - wallet". Later, you import the corresponding private key using the - default settings. The address's label is changed from "cold wallet" - to "". - - - New behavior: you import a watch-only address with the label "cold - wallet". Later, you import the corresponding private key using the - default settings. The address's label remains "cold wallet". - - In both the previous and current case, if you directly specify a label - during the import, that label will override whatever previous label the - addresses may have had. Also in both cases, if none of the addresses - previously had a label, they will still receive the default empty label - (""). Examples: - - You import a watch-only address with the label "temporary". Later you - import the corresponding private key with the label "final". The - address's label will be changed to "final". - - You use the default settings to import a private key for an address that - was not previously in the wallet. Its addresses will receive the default - empty label (""). -- The `createwallet`, `loadwallet`, and `unloadwallet` RPCs now accept - `load_on_startup` options to modify the settings list. -- Several RPCs have been updated to include an "avoid_reuse" flag, used to control - whether already used addresses should be left out or included in the operation. - These include: - - `createwallet` - - `getbalance` - - `sendtoaddress` - - In addition, `sendtoaddress` has been changed to enable `-avoidpartialspends` when - `avoid_reuse` is enabled. - The `listunspent` RPC has also been updated to now include a "reused" bool, for nodes - with "avoid_reuse" enabled. - -### Dash-specific changes in existing RPCs: -- In rpc `upgradetohd` new parameter `rescan` was added which allows users to skip or force blockchain rescan. This params defaults to `false` when `mnemonic` parameter is empty and `true` otherwise. - -Please check `help ` for more detailed information on specific RPCs. - -Command-line options --------------------- - -Most changes here were introduced through Bitcoin backports. - -New cmd-line options: -- RPC Whitelist system. It can give certain RPC users permissions to only some RPC calls. - It can be set with two command line arguments (`rpcwhitelist` and `rpcwhitelistdefault`). (bitcoin#12763) - -Removed cmd-line options: -- The `-zapwallettxes` startup option has been removed and its functionality removed from the wallet. - This option was originally intended to allow for the fee bumping of transactions that did not - signal RBF. This functionality has been superseded with the abandon transaction feature. - -Changes in existing cmd-line options: -- The `testnet` field in `dash-cli -getinfo` has been renamed to `chain` and now returns the current network name as defined in BIP70 (main, test, regtest). -- Importing blocks upon startup via the `bootstrap.dat` file no longer occurs by default. The file must now be specified with `-loadblock=`. - -Please check `Help -> Command-line options` in Qt wallet or `dashd --help` for -more information. - -Backports from Bitcoin Core ---------------------------- - -This release introduces many hundreds updates from Bitcoin v0.18/v0.19/v0.20/v0.21/v22. Bitcoin changes that do not align with Dash’s product needs, such as SegWit and RBF, are excluded from our backporting. For additional detail on what’s included in Bitcoin, please refer to their release notes. - -v18.1.0 Change log -================== - -See detailed [set of changes](https://github.com/dashpay/dash/compare/v18.0.2...dashpay:v18.1.0). +- [`82d7b6e94a154c4b16bd634ef1a5eb168e22030c`](https://github.com/dashpay/dash/commit/82d7b6e94a154c4b16bd634ef1a5eb168e22030c) fix: avoid re-propogating old qfcommit messages (#5145) +- [`6c5a310c14e5d97794fbaa84e5ca993c0961ae09`](https://github.com/dashpay/dash/commit/6c5a310c14e5d97794fbaa84e5ca993c0961ae09) chore: bump version Credits ======= Thanks to everyone who directly contributed to this release: -- Kittywhiskers Van Gogh -- Konstantin Akimov -- Munkybooty -- Nathan Marley -- Odysseas Gabrielides -- Oleg Girko - PastaPastaPasta -- strophy -- thephez - UdjinM6 -- Vijay -As well as everyone that submitted issues, reviewed pull requests, helped debug the release candidates, and write DIPs that were implemented in this release. +As well as everyone that submitted issues and reviewed pull requests. Older releases ============== @@ -323,6 +95,7 @@ Dash Core tree 0.12.1.x was a fork of Bitcoin Core tree 0.12. These release are considered obsolete. Old release notes can be found here: +- [v18.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.1.0.md) released October/17/2022 - [v18.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.2.md) released October/09/2022 - [v18.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.1.md) released August/17/2022 - [v0.17.0.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.17.0.3.md) released June/07/2021 diff --git a/doc/release-notes/dash/release-notes-18.1.0.md b/doc/release-notes/dash/release-notes-18.1.0.md new file mode 100644 index 0000000000..3fbe266f2a --- /dev/null +++ b/doc/release-notes/dash/release-notes-18.1.0.md @@ -0,0 +1,357 @@ +Dash Core version v18.1.0 +========================= + +Release is now available from: + + + +This is a new minor version release, bringing new features, various bugfixes +and other improvements. + +This release is optional for all nodes. + +Please report bugs using the issue tracker at github: + + + + +Upgrading and downgrading +========================= + +How to Upgrade +-------------- + +If you are running an older version, shut it down. Wait until it has completely +shut down (which might take a few minutes for older versions), then run the +installer (on Windows) or just copy over /Applications/Dash-Qt (on Mac) or +dashd/dash-qt (on Linux). If you upgrade after DIP0003 activation and you were +using version < 0.13 you will have to reindex (start with -reindex-chainstate +or -reindex) to make sure your wallet has all the new data synced. Upgrading +from version 0.13 should not require any additional actions. + +When upgrading from a version prior to 18.0.1, the +first startup of Dash Core will run a migration process which can take anywhere +from a few minutes to thirty minutes to finish. After the migration, a +downgrade to an older version is only possible with a reindex +(or reindex-chainstate). + +Downgrade warning +----------------- + +### Downgrade to a version < v18.1.0 + +Downgrading to a version older than v18.1.0 is supported. + +### Downgrade to a version < v18.0.1 + +Downgrading to a version older than v18.0.1 is not supported due to changes in +the indexes database folder. If you need to use an older version, you must +either reindex or re-sync the whole chain. + +### Downgrade of masternodes to < v18.0.1 + +Starting with the 0.16 release, masternodes verify the protocol version of other +masternodes. This results in PoSe punishment/banning for outdated masternodes, +so downgrading even prior to the activation of the introduced hard-fork changes +is not recommended. + +Versioning +---------- + +Dash Core imperfectly follows semantic versioning. Breaking changes should be +expected in a major release. The number and severity of breaking changes in minor +releases are minimized, however we do not guarantee there are no breaking changes. +Bitcoin backports often introduce breaking changes, and are a likely source of +breaking changes in minor releases. Patch releases should never contain breaking changes. + +This release **does** include breaking changes. Please read below to see if they will affect you. + +Notable changes +=============== + +BIP70 Support Removed +--------------------- + +Support for the BIP70 Payment Protocol has been dropped from Dash Qt. +Interacting with BIP70-formatted URIs will return an error message informing them +of support removal. The `allowselfsignedrootcertificates` and `rootcertificates` +launch arguments are no longer valid. + +systemd init file +----------------- + +The systemd init file (`contrib/init/dashd.service`) has been changed to use +`/var/lib/dashd` as the data directory instead of `~dash/.dash`. This +change makes Dash Core more consistent with other services, and makes the +systemd init config more consistent with existing Upstart and OpenRC configs. + +The configuration, PID, and data directories are now completely managed by +systemd, which will take care of their creation, permissions, etc. See +[`systemd.exec (5)`](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=) +for more details. + +When using the provided init files under `contrib/init`, overriding the +`datadir` option in `/etc/dash/dash.conf` will have no effect. This is +because the command line arguments specified in the init files take precedence +over the options specified in `/etc/dash/dash.conf`. + +Account API removed +------------------- + +The 'account' API was deprecated in v18.0 and has been fully removed in v18.1. +The 'label' API was introduced in v18.0 as a replacement for accounts. + +See the [release notes from v18.0.1](https://github.com/dashpay/dash/blob/v18.0.1/doc/release-notes.md) for a full description of the changes from the +'account' API to the 'label' API. + +Build system changes +-------------------- + +Python >=3.5 is now required by all aspects of the project. This includes the build +systems, test framework and linters. The previously supported minimum (3.4), was EOL +in March 2019. See bitcoin#14954 for more details. + +Coin selection: Reuse Avoidance +-------------- + +A new wallet flag `avoid_reuse` has been added (default off). When enabled, +a wallet will distinguish between used and unused addresses, and default to not +use the former in coin selection. + +(Note: rescanning the blockchain is required, to correctly mark previously +used destinations.) + +Together with "avoid partial spends" (present as of Bitcoin v0.17), this +addresses a serious privacy issue where a malicious user can track spends by +peppering a previously paid to address with near-dust outputs, which would then +be inadvertently included in future payments. + +Auto Loading Wallets +------------- + +Wallets created or loaded in the GUI will now be automatically loaded on +startup, so they don't need to be manually reloaded next time Bitcoin is +started. The list of wallets to load on startup is stored in +`\/settings.json` and augments any command line or `bitcoin.conf` +`-wallet=` settings that specify more wallets to load. Wallets that are +unloaded in the GUI get removed from the settings list so they won't load again +automatically next startup. (bitcoin#19754) + +The `createwallet`, `loadwallet`, and `unloadwallet` RPCs now accept +`load_on_startup` options to modify the settings list. Unless these options are +explicitly set to true or false, the list is not modified, so the RPC methods +remain backwards compatible. (bitcoin#15937) + +Changes regarding misbehaving peers +----------------------------------- + +Peers that misbehave (e.g. send us invalid blocks) are now referred to as +discouraged nodes in log output, as they're not (and weren't) strictly banned: +incoming connections are still allowed from them, but they're preferred for +eviction. + +Furthermore, a few additional changes are introduced to how discouraged +addresses are treated: + +- Discouraging an address does not time out automatically after 24 hours + (or the `-bantime` setting). Depending on traffic from other peers, + discouragement may time out at an indeterminate time. + +- Discouragement is not persisted over restarts. + +- There is no method to list discouraged addresses. They are not returned by + the `listbanned` RPC. That RPC also no longer reports the `ban_reason` + field, as `"manually added"` is the only remaining option. + +- Discouragement cannot be removed with the `setban remove` RPC command. + If you need to remove a discouragement, you can remove all discouragements by + stop-starting your node. + +Remote Procedure Call (RPC) Changes +----------------------------------- + +Most changes here were introduced through Bitcoin backports mostly related to +the deprecation of wallet accounts in DashCore v0.17 and introduction of PSBT +format. + +### The new RPCs are: +- A new `setwalletflag` RPC sets/unsets flags for an existing wallet. +- The `spork` RPC call will no longer offer both get (labelled as "basic mode") and set (labelled as "advanced mode") functionality. `spork` will now only offer "basic" functionality. "Advanced" functionality is now exposed through the `sporkupdate` RPC call. +- The `generateblock` RPC call will mine an array of ordered transactions, defined by hex array `transactions` that can contain either transaction IDs or a hex-encoded serialized raw transaction and set the coinbase destination defined by the `address/descriptor` argument. +- The `mockscheduler` is a debug RPC call that allows forwarding the scheduler by `delta_time`. This RPC call is hidden and will only be functional on mockable chains (i.e. primarily regtest). `delta_time` must be between 0 - 3600. +- `dumptxoutset` see bitcoin#16899 and the help text. This RPC is used for UTXO snapshot creation which is a part of the assume utxo project +- `generatetodescriptor` Mine blocks immediately to a specified descriptor. see bitcoin#16943 + +### The removed RPCs are: +- The wallet's `generate` RPC method has been removed. `generate` is only used for testing. +The RPC call reaches across multiple subsystems (wallet and mining), so is deprecated to simplify the wallet-node +interface. Projects that are using `generate` for testing purposes should +transition to using the `generatetoaddress` call, which does not require or use +the wallet component. Calling `generatetoaddress` with an address returned by +`getnewaddress` gives the same functionality as the old `generate` method. + +### Changes in existing RPCs introduced through bitcoin backports: +- The `gettxoutsetinfo` RPC call now accept one optional argument (`hash_type`) that defines the algorithm used for calcluating the UTXO set hash, it will default to `hash_serialized_2` unless explicitly specified otherwise. `hash_type` will influence the key that is used to refer to refer to the UTXO set hash. +- The `generatedescriptor` RPC call has been introduced to allow mining a set number of blocks, defined by argument `num_blocks`, with the coinbase destination set to a descriptor, defined by the `descriptor` argument. The optional `maxtries` argument can be used to limit iterations. +- Descriptors with key origin information imported through `importmulti` will have their key origin information stored in the wallet for use with creating PSBTs. +- If `bip32derivs` of both `walletprocesspsbt` and `walletcreatefundedpsbt` is set to true but the key metadata for a public key has not been updated yet, then that key will have a derivation path as if it were just an independent key (i.e. no derivation path and its master fingerprint is itself) +- The `getblockstats` RPC is faster for fee calculation by using BlockUndo data. Also, `-txindex` is no longer required and `getblockstats` works for all non-pruned blocks. +- The `unloadwallet` RPC is now synchronous, meaning that it blocks until the wallet is fully unloaded. +- RPCs which have an `include_watchonly` argument or `includeWatching` + option now default to `true` for watch-only wallets. Affected RPCs + are: `getbalance`, `listreceivedbyaddress`, `listreceivedbylabel`, + `listtransactions`, `listsinceblock`, `gettransaction`, + `walletcreatefundedpsbt`, and `fundrawtransaction`. +- `createwallet` now returns a warning if an empty string is used as an encryption password, and does not encrypt the wallet, instead of raising an error. + This makes it easier to disable encryption but also specify other options when using the `bitcoin-cli` tool. +- The RPC `joinpsbts` will shuffle the order of the inputs and outputs of the resulting joined psbt. + Previously inputs and outputs were added in the order that the PSBTs were provided which makes correlating inputs to outputs extremely easy. +- `importprivkey`: new label behavior. +Previously, `importprivkey` automatically added the default empty label +("") to all addresses associated with the imported private key. Now it +defaults to using any existing label for those addresses. For example: + + - Old behavior: you import a watch-only address with the label "cold + wallet". Later, you import the corresponding private key using the + default settings. The address's label is changed from "cold wallet" + to "". + + - New behavior: you import a watch-only address with the label "cold + wallet". Later, you import the corresponding private key using the + default settings. The address's label remains "cold wallet". + + In both the previous and current case, if you directly specify a label + during the import, that label will override whatever previous label the + addresses may have had. Also in both cases, if none of the addresses + previously had a label, they will still receive the default empty label + (""). Examples: + - You import a watch-only address with the label "temporary". Later you + import the corresponding private key with the label "final". The + address's label will be changed to "final". + - You use the default settings to import a private key for an address that + was not previously in the wallet. Its addresses will receive the default + empty label (""). +- The `createwallet`, `loadwallet`, and `unloadwallet` RPCs now accept + `load_on_startup` options to modify the settings list. +- Several RPCs have been updated to include an "avoid_reuse" flag, used to control + whether already used addresses should be left out or included in the operation. + These include: + - `createwallet` + - `getbalance` + - `sendtoaddress` + + In addition, `sendtoaddress` has been changed to enable `-avoidpartialspends` when + `avoid_reuse` is enabled. + The `listunspent` RPC has also been updated to now include a "reused" bool, for nodes + with "avoid_reuse" enabled. + +### Dash-specific changes in existing RPCs: +- In rpc `upgradetohd` new parameter `rescan` was added which allows users to skip or force blockchain rescan. This params defaults to `false` when `mnemonic` parameter is empty and `true` otherwise. + +Please check `help ` for more detailed information on specific RPCs. + +Command-line options +-------------------- + +Most changes here were introduced through Bitcoin backports. + +New cmd-line options: +- RPC Whitelist system. It can give certain RPC users permissions to only some RPC calls. + It can be set with two command line arguments (`rpcwhitelist` and `rpcwhitelistdefault`). (bitcoin#12763) + +Removed cmd-line options: +- The `-zapwallettxes` startup option has been removed and its functionality removed from the wallet. + This option was originally intended to allow for the fee bumping of transactions that did not + signal RBF. This functionality has been superseded with the abandon transaction feature. + +Changes in existing cmd-line options: +- The `testnet` field in `dash-cli -getinfo` has been renamed to `chain` and now returns the current network name as defined in BIP70 (main, test, regtest). +- Importing blocks upon startup via the `bootstrap.dat` file no longer occurs by default. The file must now be specified with `-loadblock=`. + +Please check `Help -> Command-line options` in Qt wallet or `dashd --help` for +more information. + +Backports from Bitcoin Core +--------------------------- + +This release introduces many hundreds updates from Bitcoin v0.18/v0.19/v0.20/v0.21/v22. Bitcoin changes that do not align with Dash’s product needs, such as SegWit and RBF, are excluded from our backporting. For additional detail on what’s included in Bitcoin, please refer to their release notes. + +v18.1.0 Change log +================== + +See detailed [set of changes](https://github.com/dashpay/dash/compare/v18.0.2...dashpay:v18.1.0). + +Credits +======= + +Thanks to everyone who directly contributed to this release: + +- Kittywhiskers Van Gogh +- Konstantin Akimov +- Munkybooty +- Nathan Marley +- Odysseas Gabrielides +- Oleg Girko +- PastaPastaPasta +- strophy +- thephez +- UdjinM6 +- Vijay + +As well as everyone that submitted issues, reviewed pull requests, helped debug the release candidates, and write DIPs that were implemented in this release. + +Older releases +============== + +Dash was previously known as Darkcoin. + +Darkcoin tree 0.8.x was a fork of Litecoin tree 0.8, original name was XCoin +which was first released on Jan/18/2014. + +Darkcoin tree 0.9.x was the open source implementation of masternodes based on +the 0.8.x tree and was first released on Mar/13/2014. + +Darkcoin tree 0.10.x used to be the closed source implementation of Darksend +which was released open source on Sep/25/2014. + +Dash Core tree 0.11.x was a fork of Bitcoin Core tree 0.9, +Darkcoin was rebranded to Dash. + +Dash Core tree 0.12.0.x was a fork of Bitcoin Core tree 0.10. + +Dash Core tree 0.12.1.x was a fork of Bitcoin Core tree 0.12. + +These release are considered obsolete. Old release notes can be found here: + +- [v18.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.2.md) released October/09/2022 +- [v18.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.1.md) released August/17/2022 +- [v0.17.0.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.17.0.3.md) released June/07/2021 +- [v0.17.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.17.0.2.md) released May/19/2021 +- [v0.16.1.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.1.1.md) released November/17/2020 +- [v0.16.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.1.0.md) released November/14/2020 +- [v0.16.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.0.1.md) released September/30/2020 +- [v0.15.0.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.15.0.0.md) released Febrary/18/2020 +- [v0.14.0.5](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.5.md) released December/08/2019 +- [v0.14.0.4](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.4.md) released November/22/2019 +- [v0.14.0.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.3.md) released August/15/2019 +- [v0.14.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.2.md) released July/4/2019 +- [v0.14.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.1.md) released May/31/2019 +- [v0.14.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.md) released May/22/2019 +- [v0.13.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.3.md) released Apr/04/2019 +- [v0.13.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.2.md) released Mar/15/2019 +- [v0.13.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.1.md) released Feb/9/2019 +- [v0.13.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.0.md) released Jan/14/2019 +- [v0.12.3.4](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.4.md) released Dec/14/2018 +- [v0.12.3.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.3.md) released Sep/19/2018 +- [v0.12.3.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.2.md) released Jul/09/2018 +- [v0.12.3.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.1.md) released Jul/03/2018 +- [v0.12.2.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.3.md) released Jan/12/2018 +- [v0.12.2.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.2.md) released Dec/17/2017 +- [v0.12.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.md) released Nov/08/2017 +- [v0.12.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.1.md) released Feb/06/2017 +- [v0.12.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.0.md) released Aug/15/2015 +- [v0.11.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.2.md) released Mar/04/2015 +- [v0.11.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.1.md) released Feb/10/2015 +- [v0.11.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.0.md) released Jan/15/2015 +- [v0.10.x](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.10.0.md) released Sep/25/2014 +- [v0.9.x](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.9.0.md) released Mar/13/2014 From 60946b660c6a9115c4c6e80419194099f0a2effc Mon Sep 17 00:00:00 2001 From: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> Date: Sat, 7 Jan 2023 20:26:32 -0600 Subject: [PATCH 04/10] fix: avoid re-propogating old qfcommit messages (#5145) ## Issue being fixed or feature implemented This fixes an issue where qfcommit messages can be replayed from the past, then are validated and propagated to other nodes. This patch changes it so that old qfcommits are not relayed. ## What was done? ## How Has This Been Tested? Deployed to a node, and ensured that the log messages are shown. ## Breaking Changes ## Checklist: - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation **For repository code-owners and collaborators only** - [ ] I have assigned this pull request to a milestone --- src/llmq/blockprocessor.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/llmq/blockprocessor.cpp b/src/llmq/blockprocessor.cpp index 10e048dfd4..76ac87905a 100644 --- a/src/llmq/blockprocessor.cpp +++ b/src/llmq/blockprocessor.cpp @@ -91,6 +91,19 @@ void CQuorumBlockProcessor::ProcessMessage(const CNode& peer, std::string_view m Misbehaving(peer.GetId(), 100); return; } + if (pQuorumBaseBlockIndex->nHeight < (::ChainActive().Height() - GetLLMQParams(type).dkgInterval)) { + LogPrint(BCLog::LLMQ, "CQuorumBlockProcessor::%s -- block %s is too old, peer=%d\n", __func__, + qc.quorumHash.ToString(), peer.GetId()); + // TODO: enable punishment in some future version when all/most nodes are running with this fix + // Misbehaving(peer.GetId(), 100); + return; + } + if (HasMinedCommitment(type, qc.quorumHash)) { + LogPrint(BCLog::LLMQ, "CQuorumBlockProcessor::%s -- commitment for quorum hash[%s], type[%d], quorumIndex[%d] is already mined, peer=%d\n", + __func__, qc.quorumHash.ToString(), uint8_t(type), qc.quorumIndex, peer.GetId()); + // NOTE: do not punish here + return; + } } { From 5eab2ce0ed6db4ce0f3b5516c84aadeacd42a973 Mon Sep 17 00:00:00 2001 From: Odysseas Gabrielides Date: Tue, 10 Jan 2023 23:14:27 +0200 Subject: [PATCH 05/10] fix!: Rotation members calc v19 (#5142) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With 18.2, block `0000000000000044356e582f9748f9baf084e5b7946e6386b32620d540830fda` is marked invalid with `bad-qc-invalid`. ## Issue being fixed or feature implemented While the 19 isn’t active -> Calculate rotation members based on 18.1 code Once 19 active -> Calculate rotation members based on 18.2 code ## What was done? ## How Has This Been Tested? ## Breaking Changes ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation **For repository code-owners and collaborators only** - [x] I have assigned this pull request to a milestone --- src/llmq/utils.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/llmq/utils.cpp b/src/llmq/utils.cpp index da4ec2fd0d..1531934a34 100644 --- a/src/llmq/utils.cpp +++ b/src/llmq/utils.cpp @@ -256,9 +256,11 @@ std::vector> BuildNewQuorumQuarterMembers(cons auto MnsNotUsedAtH = CDeterministicMNList(); std::vector MnsUsedAtHIndexed(nQuorums); + bool skipRemovedMNs = IsV19Active(pQuorumBaseBlockIndex) || (Params().NetworkIDString() == CBaseChainParams::TESTNET); + for (auto i = 0; i < nQuorums; ++i) { for (const auto& mn : previousQuarters.quarterHMinusC[i]) { - if (!allMns.HasMN(mn->proTxHash)) { + if (skipRemovedMNs && !allMns.HasMN(mn->proTxHash)) { continue; } if (allMns.IsMNPoSeBanned(mn->proTxHash)) { @@ -274,7 +276,7 @@ std::vector> BuildNewQuorumQuarterMembers(cons } } for (const auto& mn : previousQuarters.quarterHMinus2C[i]) { - if (!allMns.HasMN(mn->proTxHash)) { + if (skipRemovedMNs && !allMns.HasMN(mn->proTxHash)) { continue; } if (allMns.IsMNPoSeBanned(mn->proTxHash)) { @@ -290,7 +292,7 @@ std::vector> BuildNewQuorumQuarterMembers(cons } } for (const auto& mn : previousQuarters.quarterHMinus3C[i]) { - if (!allMns.HasMN(mn->proTxHash)) { + if (skipRemovedMNs && !allMns.HasMN(mn->proTxHash)) { continue; } if (allMns.IsMNPoSeBanned(mn->proTxHash)) { From 54ea80e00d4fce1e1609da0d79f69f102ba443cd Mon Sep 17 00:00:00 2001 From: pasta Date: Wed, 11 Jan 2023 22:12:05 -0600 Subject: [PATCH 06/10] chore: remove IsV19Active check since v18.2.1 is non-breaking --- src/llmq/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/llmq/utils.cpp b/src/llmq/utils.cpp index 1531934a34..1876d586eb 100644 --- a/src/llmq/utils.cpp +++ b/src/llmq/utils.cpp @@ -256,7 +256,7 @@ std::vector> BuildNewQuorumQuarterMembers(cons auto MnsNotUsedAtH = CDeterministicMNList(); std::vector MnsUsedAtHIndexed(nQuorums); - bool skipRemovedMNs = IsV19Active(pQuorumBaseBlockIndex) || (Params().NetworkIDString() == CBaseChainParams::TESTNET); + bool skipRemovedMNs = /*IsV19Active(pQuorumBaseBlockIndex) || */(Params().NetworkIDString() == CBaseChainParams::TESTNET); for (auto i = 0; i < nQuorums; ++i) { for (const auto& mn : previousQuarters.quarterHMinusC[i]) { From 2b23c8ef6eec0a59bb71a1bed375f35d72051164 Mon Sep 17 00:00:00 2001 From: pasta Date: Wed, 11 Jan 2023 22:00:42 -0600 Subject: [PATCH 07/10] chore: bump version to v18.2.1 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 7023f1111e..9985badfbb 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_PREREQ([2.69]) define(_CLIENT_VERSION_MAJOR, 18) define(_CLIENT_VERSION_MINOR, 2) -define(_CLIENT_VERSION_BUILD, 0) +define(_CLIENT_VERSION_BUILD, 1) define(_CLIENT_VERSION_RC, 0) define(_CLIENT_VERSION_IS_RELEASE, true) define(_COPYRIGHT_YEAR, 2022) From 31f8bbec48a2a275b768ce605e69470e8cbd708f Mon Sep 17 00:00:00 2001 From: pasta Date: Wed, 11 Jan 2023 22:17:57 -0600 Subject: [PATCH 08/10] docs: archive v18.2.0 release notes and add v18.2.1 release notes --- doc/release-notes.md | 70 +++--- .../dash/release-notes-18.2.0.md | 202 ++++++++++++++++++ 2 files changed, 229 insertions(+), 43 deletions(-) create mode 100644 doc/release-notes/dash/release-notes-18.2.0.md diff --git a/doc/release-notes.md b/doc/release-notes.md index 7c1b3526c2..1c02774229 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -1,16 +1,19 @@ -Dash Core version v18.2.0 +Dash Core version v18.2.1 ========================= Release is now available from: -This is a new minor version release, bringing new features, various bugfixes -and other improvements. +This is a new hotfix version release, bringing various bugfixes. -This release is optional for all nodes. +Please note that v18.2.0 was revoked due to a bug; this version fixes that bug. -Please report bugs using the issue tracker at github: +This release is optional for all nodes; however, v18.2.1 is required to be +able to use both mainnet and testnet. Currently, v18.2.0 is not working on mainnet, +and v18.1.1 is not working on testnet; v18.2.1 will work on both networks. + +Please report bugs using the issue tracker at GitHub: @@ -38,9 +41,9 @@ downgrade to an older version is only possible with a reindex Downgrade warning ----------------- -### Downgrade to a version < v18.2.0 +### Downgrade to a version < v18.2.1 -Downgrading to a version older than v18.2.0 is supported. +Downgrading to a version older than v18.2.1 is supported. ### Downgrade to a version < v18.0.1 @@ -48,6 +51,11 @@ Downgrading to a version older than v18.0.1 is not supported due to changes in the indexes database folder. If you need to use an older version, you must either reindex or re-sync the whole chain. +### Downgrade of masternodes to < 18.2.1 + +It is highly recommended not to downgrade masternodes below 18.2.1, as 18.2.1 (and 18.1.1) +fix important bugs which may result in your masternode being PoSe banned. + ### Downgrade of masternodes to < v18.0.1 Starting with the 0.16 release, masternodes verify the protocol version of other @@ -64,48 +72,26 @@ releases are minimized, however we do not guarantee there are no breaking change Bitcoin backports often introduce breaking changes, and are a likely source of breaking changes in minor releases. Patch releases should never contain breaking changes. -This release **does** include breaking changes. Please read below to see if they will affect you. - Notable changes =============== +See #5145 and #5142; these 2 PR fix important bugs in previous versions. Specifically, +#5145 fixes an issue where qfcommit messages can be replayed from the past, then are +validated and propagated to other nodes. This patch prevents old qfcommits +from being relayed. #5142 is a fix which enables this version to function both on testnet +and mainnet. Remote Procedure Call (RPC) Changes ----------------------------------- ### The new RPCs are: - -- `analyzepsbt` examines a PSBT and provides information about what - the PSBT contains and the next steps that need to be taken in order - to complete the transaction. For each input of a PSBT, `analyzepsbt` - provides information about what information is missing for that - input, including whether a UTXO needs to be provided, what pubkeys - still need to be provided, which scripts need to be provided, and - what signatures are still needed. Every input will also list which - role is needed to complete that input, and `analyzepsbt` will also - list the next role in general needed to complete the PSBT. - `analyzepsbt` will also provide the estimated fee rate and estimated - virtual size of the completed transaction if it has enough - information to do so. -- `quorum listextended` is the cousin of `quorum list` with a more enriched reply. By using the `height` parameter, the RPC will list active quorums at a specified height (or at the tip if `height` is not specified). - This RPC returns the following data per quorum grouped per llmqTypes: - - For each `quorumHash`: - - `creationHeight`: Block height where its DKG started - - `quorumIndex`: Returned only for rotated llmqTypes - - `minedBlockHash`: Hash of the block containing the mined final commitment - - `numValidMembers`: The total of valid members. - - `healthRatio`: The ratio of healthy members to quorum size. Range [0.0 - 1.0]. -- `getbalances` returns an object with all balances (`mine`, - `untrusted_pending` and `immature`). Please refer to the RPC help of - `getbalances` for details. The new RPC is intended to replace - `getunconfirmedbalance` and the balance fields in `getwalletinfo`, as well as - `getbalance`. The old calls may be removed in a future version. +None ### The removed RPCs are: None ### Changes in existing RPCs introduced through bitcoin backports: -- `walletprocesspsbt` and `walletcreatefundedpsbt` now include BIP 32 derivation paths by default for public keys if we know them. This can be disabled by setting `bip32derivs` to `false`. +None ### Dash-specific changes in existing RPCs: None @@ -114,20 +100,19 @@ Please check `help ` for more detailed information on specific RPCs. Command-line options -------------------- - +None Please check `Help -> Command-line options` in Qt wallet or `dashd --help` for more information. Backports from Bitcoin Core --------------------------- +None -This release introduces many hundreds updates from Bitcoin v0.18/v0.19/v0.20/v0.21/v22. Bitcoin changes that do not align with Dash’s product needs, such as SegWit and RBF, are excluded from our backporting. For additional detail on what’s included in Bitcoin, please refer to their release notes. - -v18.2.0 Change log +v18.2.1 Change log ================== -See detailed [set of changes](https://github.com/dashpay/dash/compare/v18.1.0...dashpay:v18.2.0). +See detailed [set of changes](https://github.com/dashpay/dash/compare/v18.2.0...dashpay:v18.2.1). Credits ======= @@ -138,8 +123,6 @@ Thanks to everyone who directly contributed to this release: - Konstantin Akimov - Odysseas Gabrielides - PastaPastaPasta -- strophy -- thephez - UdjinM6 As well as everyone that submitted issues, reviewed pull requests, helped debug the release candidates, and write DIPs that were implemented in this release. @@ -167,6 +150,7 @@ Dash Core tree 0.12.1.x was a fork of Bitcoin Core tree 0.12. These release are considered obsolete. Old release notes can be found here: +- [v18.2.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.2.0.md) released Jan/01/2023 - [v18.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.1.0.md) released October/09/2022 - [v18.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.2.md) released October/09/2022 - [v18.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.1.md) released August/17/2022 diff --git a/doc/release-notes/dash/release-notes-18.2.0.md b/doc/release-notes/dash/release-notes-18.2.0.md new file mode 100644 index 0000000000..7c1b3526c2 --- /dev/null +++ b/doc/release-notes/dash/release-notes-18.2.0.md @@ -0,0 +1,202 @@ +Dash Core version v18.2.0 +========================= + +Release is now available from: + + + +This is a new minor version release, bringing new features, various bugfixes +and other improvements. + +This release is optional for all nodes. + +Please report bugs using the issue tracker at github: + + + + +Upgrading and downgrading +========================= + +How to Upgrade +-------------- + +If you are running an older version, shut it down. Wait until it has completely +shut down (which might take a few minutes for older versions), then run the +installer (on Windows) or just copy over /Applications/Dash-Qt (on Mac) or +dashd/dash-qt (on Linux). If you upgrade after DIP0003 activation and you were +using version < 0.13 you will have to reindex (start with -reindex-chainstate +or -reindex) to make sure your wallet has all the new data synced. Upgrading +from version 0.13 should not require any additional actions. + +When upgrading from a version prior to 18.0.1, the +first startup of Dash Core will run a migration process which can take anywhere +from a few minutes to thirty minutes to finish. After the migration, a +downgrade to an older version is only possible with a reindex +(or reindex-chainstate). + +Downgrade warning +----------------- + +### Downgrade to a version < v18.2.0 + +Downgrading to a version older than v18.2.0 is supported. + +### Downgrade to a version < v18.0.1 + +Downgrading to a version older than v18.0.1 is not supported due to changes in +the indexes database folder. If you need to use an older version, you must +either reindex or re-sync the whole chain. + +### Downgrade of masternodes to < v18.0.1 + +Starting with the 0.16 release, masternodes verify the protocol version of other +masternodes. This results in PoSe punishment/banning for outdated masternodes, +so downgrading even prior to the activation of the introduced hard-fork changes +is not recommended. + +Versioning +---------- + +Dash Core imperfectly follows semantic versioning. Breaking changes should be +expected in a major release. The number and severity of breaking changes in minor +releases are minimized, however we do not guarantee there are no breaking changes. +Bitcoin backports often introduce breaking changes, and are a likely source of +breaking changes in minor releases. Patch releases should never contain breaking changes. + +This release **does** include breaking changes. Please read below to see if they will affect you. + +Notable changes +=============== + + +Remote Procedure Call (RPC) Changes +----------------------------------- + +### The new RPCs are: + +- `analyzepsbt` examines a PSBT and provides information about what + the PSBT contains and the next steps that need to be taken in order + to complete the transaction. For each input of a PSBT, `analyzepsbt` + provides information about what information is missing for that + input, including whether a UTXO needs to be provided, what pubkeys + still need to be provided, which scripts need to be provided, and + what signatures are still needed. Every input will also list which + role is needed to complete that input, and `analyzepsbt` will also + list the next role in general needed to complete the PSBT. + `analyzepsbt` will also provide the estimated fee rate and estimated + virtual size of the completed transaction if it has enough + information to do so. +- `quorum listextended` is the cousin of `quorum list` with a more enriched reply. By using the `height` parameter, the RPC will list active quorums at a specified height (or at the tip if `height` is not specified). + This RPC returns the following data per quorum grouped per llmqTypes: + - For each `quorumHash`: + - `creationHeight`: Block height where its DKG started + - `quorumIndex`: Returned only for rotated llmqTypes + - `minedBlockHash`: Hash of the block containing the mined final commitment + - `numValidMembers`: The total of valid members. + - `healthRatio`: The ratio of healthy members to quorum size. Range [0.0 - 1.0]. +- `getbalances` returns an object with all balances (`mine`, + `untrusted_pending` and `immature`). Please refer to the RPC help of + `getbalances` for details. The new RPC is intended to replace + `getunconfirmedbalance` and the balance fields in `getwalletinfo`, as well as + `getbalance`. The old calls may be removed in a future version. + +### The removed RPCs are: +None + +### Changes in existing RPCs introduced through bitcoin backports: +- `walletprocesspsbt` and `walletcreatefundedpsbt` now include BIP 32 derivation paths by default for public keys if we know them. This can be disabled by setting `bip32derivs` to `false`. + +### Dash-specific changes in existing RPCs: +None + +Please check `help ` for more detailed information on specific RPCs. + +Command-line options +-------------------- + + +Please check `Help -> Command-line options` in Qt wallet or `dashd --help` for +more information. + +Backports from Bitcoin Core +--------------------------- + +This release introduces many hundreds updates from Bitcoin v0.18/v0.19/v0.20/v0.21/v22. Bitcoin changes that do not align with Dash’s product needs, such as SegWit and RBF, are excluded from our backporting. For additional detail on what’s included in Bitcoin, please refer to their release notes. + +v18.2.0 Change log +================== + +See detailed [set of changes](https://github.com/dashpay/dash/compare/v18.1.0...dashpay:v18.2.0). + +Credits +======= + +Thanks to everyone who directly contributed to this release: + +- Kittywhiskers Van Gogh +- Konstantin Akimov +- Odysseas Gabrielides +- PastaPastaPasta +- strophy +- thephez +- UdjinM6 + +As well as everyone that submitted issues, reviewed pull requests, helped debug the release candidates, and write DIPs that were implemented in this release. + +Older releases +============== + +Dash was previously known as Darkcoin. + +Darkcoin tree 0.8.x was a fork of Litecoin tree 0.8, original name was XCoin +which was first released on Jan/18/2014. + +Darkcoin tree 0.9.x was the open source implementation of masternodes based on +the 0.8.x tree and was first released on Mar/13/2014. + +Darkcoin tree 0.10.x used to be the closed source implementation of Darksend +which was released open source on Sep/25/2014. + +Dash Core tree 0.11.x was a fork of Bitcoin Core tree 0.9, +Darkcoin was rebranded to Dash. + +Dash Core tree 0.12.0.x was a fork of Bitcoin Core tree 0.10. + +Dash Core tree 0.12.1.x was a fork of Bitcoin Core tree 0.12. + +These release are considered obsolete. Old release notes can be found here: + +- [v18.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.1.0.md) released October/09/2022 +- [v18.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.2.md) released October/09/2022 +- [v18.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.1.md) released August/17/2022 +- [v0.17.0.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.17.0.3.md) released June/07/2021 +- [v0.17.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.17.0.2.md) released May/19/2021 +- [v0.16.1.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.1.1.md) released November/17/2020 +- [v0.16.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.1.0.md) released November/14/2020 +- [v0.16.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.0.1.md) released September/30/2020 +- [v0.15.0.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.15.0.0.md) released Febrary/18/2020 +- [v0.14.0.5](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.5.md) released December/08/2019 +- [v0.14.0.4](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.4.md) released November/22/2019 +- [v0.14.0.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.3.md) released August/15/2019 +- [v0.14.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.2.md) released July/4/2019 +- [v0.14.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.1.md) released May/31/2019 +- [v0.14.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.md) released May/22/2019 +- [v0.13.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.3.md) released Apr/04/2019 +- [v0.13.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.2.md) released Mar/15/2019 +- [v0.13.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.1.md) released Feb/9/2019 +- [v0.13.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.0.md) released Jan/14/2019 +- [v0.12.3.4](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.4.md) released Dec/14/2018 +- [v0.12.3.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.3.md) released Sep/19/2018 +- [v0.12.3.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.2.md) released Jul/09/2018 +- [v0.12.3.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.1.md) released Jul/03/2018 +- [v0.12.2.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.3.md) released Jan/12/2018 +- [v0.12.2.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.2.md) released Dec/17/2017 +- [v0.12.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.md) released Nov/08/2017 +- [v0.12.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.1.md) released Feb/06/2017 +- [v0.12.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.0.md) released Aug/15/2015 +- [v0.11.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.2.md) released Mar/04/2015 +- [v0.11.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.1.md) released Feb/10/2015 +- [v0.11.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.0.md) released Jan/15/2015 +- [v0.10.x](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.10.0.md) released Sep/25/2014 +- [v0.9.x](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.9.0.md) released Mar/13/2014 From eaf9526ccb3d2bb61f417ee328c5faaa49ce844a Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 13 Jan 2023 00:48:03 +0300 Subject: [PATCH 09/10] Merge pull request #5159 from UdjinM6/merge_master_18.1.1 chore: merge master 18.1.1 back into develop, archive 18.1.1 release notes --- doc/release-notes.md | 1 + .../dash/release-notes-18.1.1.md | 129 ++++++++++++++++++ 2 files changed, 130 insertions(+) create mode 100644 doc/release-notes/dash/release-notes-18.1.1.md diff --git a/doc/release-notes.md b/doc/release-notes.md index 1c02774229..53e4e78995 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -151,6 +151,7 @@ Dash Core tree 0.12.1.x was a fork of Bitcoin Core tree 0.12. These release are considered obsolete. Old release notes can be found here: - [v18.2.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.2.0.md) released Jan/01/2023 +- [v18.1.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.1.1.md) released January/08/2023 - [v18.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.1.0.md) released October/09/2022 - [v18.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.2.md) released October/09/2022 - [v18.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.1.md) released August/17/2022 diff --git a/doc/release-notes/dash/release-notes-18.1.1.md b/doc/release-notes/dash/release-notes-18.1.1.md new file mode 100644 index 0000000000..c009865102 --- /dev/null +++ b/doc/release-notes/dash/release-notes-18.1.1.md @@ -0,0 +1,129 @@ +Dash Core version 18.1.1 +======================== + +Release is now available from: + + + +This is a new hotfix release. All nodes should upgrade. + +Please report bugs using the issue tracker at github: + + + + +Upgrading and downgrading +========================= + +How to Upgrade +-------------- + +If you are running an older version, shut it down. Wait until it has completely +shut down (which might take a few minutes for older versions), then run the +installer (on Windows) or just copy over /Applications/Dash-Qt (on Mac) or +dashd/dash-qt (on Linux). If you upgrade after DIP0003 activation and you were +using version < 0.13 you will have to reindex (start with -reindex-chainstate +or -reindex) to make sure your wallet has all the new data synced. Upgrading +from version 0.13 should not require any additional actions. + +When upgrading from a version prior to 18.0.1, the +first startup of Dash Core will run a migration process which can take anywhere +from a few minutes to thirty minutes to finish. After the migration, a +downgrade to an older version is only possible with a reindex +(or reindex-chainstate). + +Downgrade warning +----------------- + +### Downgrade to a version < v18.0.1 + +Downgrading to a version older than v18.0.1 is not supported due to changes in +the indexes database folder. If you need to use an older version, you must +either reindex or re-sync the whole chain. + +### Downgrade of masternodes to < v18.0.1 + +Starting with the 0.16 release, masternodes verify the protocol version of other +masternodes. This results in PoSe punishment/banning for outdated masternodes, +so downgrading even prior to the activation of the introduced hard-fork changes +is not recommended. + +Notable changes +=============== + +This release fixes an issue where outdated qfcommit messages replayed to the network were validated and propagated to +other nodes rather than dropped. This patch updates the behavior so that old qfcommits will no longer be relayed. + +18.1.1 Change log +=================== + +See detailed [set of changes](https://github.com/dashpay/dash/compare/v18.1.0...dashpay:v18.1.1`). + +- [`82d7b6e94a154c4b16bd634ef1a5eb168e22030c`](https://github.com/dashpay/dash/commit/82d7b6e94a154c4b16bd634ef1a5eb168e22030c) fix: avoid re-propogating old qfcommit messages (#5145) +- [`6c5a310c14e5d97794fbaa84e5ca993c0961ae09`](https://github.com/dashpay/dash/commit/6c5a310c14e5d97794fbaa84e5ca993c0961ae09) chore: bump version +Credits +======= + +Thanks to everyone who directly contributed to this release: + +- PastaPastaPasta +- UdjinM6 + +As well as everyone that submitted issues and reviewed pull requests. + +Older releases +============== + +Dash was previously known as Darkcoin. + +Darkcoin tree 0.8.x was a fork of Litecoin tree 0.8, original name was XCoin +which was first released on Jan/18/2014. + +Darkcoin tree 0.9.x was the open source implementation of masternodes based on +the 0.8.x tree and was first released on Mar/13/2014. + +Darkcoin tree 0.10.x used to be the closed source implementation of Darksend +which was released open source on Sep/25/2014. + +Dash Core tree 0.11.x was a fork of Bitcoin Core tree 0.9, +Darkcoin was rebranded to Dash. + +Dash Core tree 0.12.0.x was a fork of Bitcoin Core tree 0.10. + +Dash Core tree 0.12.1.x was a fork of Bitcoin Core tree 0.12. + +These release are considered obsolete. Old release notes can be found here: + +- [v18.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.1.0.md) released October/17/2022 +- [v18.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.2.md) released October/09/2022 +- [v18.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-18.0.1.md) released August/17/2022 +- [v0.17.0.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.17.0.3.md) released June/07/2021 +- [v0.17.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.17.0.2.md) released May/19/2021 +- [v0.16.1.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.1.1.md) released November/17/2020 +- [v0.16.1.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.1.0.md) released November/14/2020 +- [v0.16.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.16.0.1.md) released September/30/2020 +- [v0.15.0.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.15.0.0.md) released Febrary/18/2020 +- [v0.14.0.5](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.5.md) released December/08/2019 +- [v0.14.0.4](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.4.md) released November/22/2019 +- [v0.14.0.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.3.md) released August/15/2019 +- [v0.14.0.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.2.md) released July/4/2019 +- [v0.14.0.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.1.md) released May/31/2019 +- [v0.14.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.14.0.md) released May/22/2019 +- [v0.13.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.3.md) released Apr/04/2019 +- [v0.13.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.2.md) released Mar/15/2019 +- [v0.13.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.1.md) released Feb/9/2019 +- [v0.13.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.13.0.md) released Jan/14/2019 +- [v0.12.3.4](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.4.md) released Dec/14/2018 +- [v0.12.3.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.3.md) released Sep/19/2018 +- [v0.12.3.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.2.md) released Jul/09/2018 +- [v0.12.3.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.3.1.md) released Jul/03/2018 +- [v0.12.2.3](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.3.md) released Jan/12/2018 +- [v0.12.2.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.2.md) released Dec/17/2017 +- [v0.12.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.2.md) released Nov/08/2017 +- [v0.12.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.1.md) released Feb/06/2017 +- [v0.12.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.12.0.md) released Aug/15/2015 +- [v0.11.2](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.2.md) released Mar/04/2015 +- [v0.11.1](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.1.md) released Feb/10/2015 +- [v0.11.0](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.11.0.md) released Jan/15/2015 +- [v0.10.x](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.10.0.md) released Sep/25/2014 +- [v0.9.x](https://github.com/dashpay/dash/blob/master/doc/release-notes/dash/release-notes-0.9.0.md) released Mar/13/2014 From 6293e722732050ec9f075dd45a8d8f2813e51ab2 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Fri, 13 Jan 2023 00:51:59 +0300 Subject: [PATCH 10/10] Merge pull request #5160 from UdjinM6/bump_year_2023 chore: bump copyright year to 2023, add missing copyrights --- .github/workflows/handle_potential_conflicts.py | 3 +++ ci/dash/build-docker.sh | 3 +++ ci/dash/build_depends.sh | 3 +++ ci/dash/build_src.sh | 3 +++ ci/dash/matrix.sh | 3 +++ ci/dash/push-docker.sh | 3 +++ ci/dash/test_integrationtests.sh | 3 +++ ci/dash/test_unittests.sh | 3 +++ configure.ac | 2 +- contrib/auto_gdb/common_helpers.py | 3 +++ contrib/auto_gdb/dash_dbg.sh | 3 +++ contrib/auto_gdb/log_size.py | 3 +++ contrib/auto_gdb/simple_class_obj.py | 3 +++ contrib/auto_gdb/stl_containers.py | 3 +++ contrib/auto_gdb/used_size.py | 3 +++ contrib/containers/deploy/docker-entrypoint.sh | 3 +++ contrib/devtools/copyright_header.py | 10 ++++++++-- src/batchedlogger.cpp | 2 +- src/batchedlogger.h | 2 +- src/bench/ecdsa.cpp | 2 +- src/bench/string_cast.cpp | 2 +- src/bls/bls_batchverifier.h | 2 +- src/bls/bls_ies.cpp | 2 +- src/cachemap.h | 2 +- src/cachemultimap.h | 2 +- src/chainparams.cpp | 2 +- src/coinjoin/client.cpp | 2 +- src/coinjoin/client.h | 2 +- src/coinjoin/coinjoin.cpp | 2 +- src/coinjoin/coinjoin.h | 2 +- src/coinjoin/server.cpp | 2 +- src/coinjoin/server.h | 2 +- src/dsnotificationinterface.cpp | 2 +- src/evo/deterministicmns.cpp | 2 +- src/evo/dmnstate.h | 2 +- src/evo/evodb.cpp | 2 +- src/evo/evodb.h | 2 +- src/evo/mnauth.cpp | 2 +- src/flat-database.h | 2 +- src/governance/classes.cpp | 2 +- src/governance/classes.h | 2 +- src/governance/governance.cpp | 2 +- src/governance/object.cpp | 2 +- src/governance/vote.cpp | 2 +- src/governance/vote.h | 2 +- src/hdchain.h | 2 +- src/init.cpp | 2 +- src/llmq/blockprocessor.cpp | 2 +- src/llmq/chainlocks.cpp | 2 +- src/llmq/chainlocks.h | 2 +- src/llmq/context.cpp | 2 +- src/llmq/instantsend.cpp | 2 +- src/llmq/instantsend.h | 2 +- src/llmq/quorums.cpp | 2 +- src/llmq/quorums.h | 2 +- src/llmq/utils.cpp | 2 +- src/masternode/meta.h | 2 +- src/masternode/payments.cpp | 2 +- src/masternode/payments.h | 2 +- src/masternode/utils.cpp | 2 +- src/masternode/utils.h | 2 +- src/messagesigner.cpp | 2 +- src/messagesigner.h | 2 +- src/net.cpp | 2 +- src/netfulfilledman.cpp | 2 +- src/netfulfilledman.h | 2 +- src/qt/appearancewidget.cpp | 2 +- src/qt/appearancewidget.h | 2 +- src/qt/askpassphrasedialog.cpp | 2 +- src/qt/bitcoinaddressvalidator.cpp | 2 +- src/qt/bitcoinunits.h | 2 +- src/qt/editaddressdialog.cpp | 2 +- src/qt/governancelist.cpp | 4 ++++ src/qt/governancelist.h | 4 ++++ src/qt/guiconstants.h | 2 +- src/qt/masternodelist.cpp | 4 ++++ src/qt/masternodelist.h | 4 ++++ src/qt/networkstyle.cpp | 2 +- src/qt/networkstyle.h | 2 +- src/qt/test/trafficgraphdatatests.cpp | 4 ++++ src/qt/test/trafficgraphdatatests.h | 4 ++++ src/qt/trafficgraphdata.cpp | 4 ++++ src/qt/trafficgraphdata.h | 4 ++++ src/rpc/governance.cpp | 2 +- src/rpc/masternode.cpp | 2 +- src/rpc/mining.cpp | 2 +- src/rpc/misc.cpp | 2 +- src/saltedhasher.cpp | 2 +- src/saltedhasher.h | 2 +- src/statsd_client.h | 4 ++++ src/support/allocators/mt_pooled_secure.h | 2 +- src/support/allocators/pooled_secure.h | 2 +- src/test/specialtx_tests.cpp | 2 +- src/uint256.h | 2 +- src/validation.cpp | 2 +- src/version.h | 2 +- src/wallet/rpcdump.cpp | 2 +- src/wallet/rpcwallet.cpp | 2 +- src/wallet/wallet.cpp | 2 +- src/wallet/wallet.h | 2 +- test/functional/feature_llmq_chainlocks.py | 2 +- test/functional/feature_llmq_connections.py | 2 +- test/functional/feature_llmq_data_recovery.py | 2 +- test/functional/feature_llmq_dkgerrors.py | 2 +- test/functional/feature_llmq_is_retroactive.py | 2 +- test/functional/feature_llmq_simplepose.py | 2 +- test/functional/feature_multikeysporks.py | 2 +- test/functional/feature_sporks.py | 2 +- test/functional/p2p_connect_to_devnet.py | 2 +- test/functional/rpc_masternode.py | 2 +- test/functional/rpc_mnauth.py | 2 +- test/functional/rpc_platform_filter.py | 2 +- test/functional/rpc_verifychainlock.py | 2 +- 113 files changed, 177 insertions(+), 90 deletions(-) diff --git a/.github/workflows/handle_potential_conflicts.py b/.github/workflows/handle_potential_conflicts.py index cf744de059..bd4232752f 100644 --- a/.github/workflows/handle_potential_conflicts.py +++ b/.github/workflows/handle_potential_conflicts.py @@ -1,3 +1,6 @@ +# Copyright (c) 2022 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. import sys import requests diff --git a/ci/dash/build-docker.sh b/ci/dash/build-docker.sh index 5aea849fc6..fd541928e8 100755 --- a/ci/dash/build-docker.sh +++ b/ci/dash/build-docker.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2021-2022 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C diff --git a/ci/dash/build_depends.sh b/ci/dash/build_depends.sh index 40639bcd12..cefd55047c 100755 --- a/ci/dash/build_depends.sh +++ b/ci/dash/build_depends.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2021 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # # This script is executed inside the builder image diff --git a/ci/dash/build_src.sh b/ci/dash/build_src.sh index 013fc4a10b..d2af35179f 100755 --- a/ci/dash/build_src.sh +++ b/ci/dash/build_src.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2021-2022 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # # This script is executed inside the builder image diff --git a/ci/dash/matrix.sh b/ci/dash/matrix.sh index c498cd4b81..21028410a4 100755 --- a/ci/dash/matrix.sh +++ b/ci/dash/matrix.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2019-2022 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # # This script is meant to be sourced into the actual build script. It contains the build matrix and will set all # necessary environment variables for the request build target diff --git a/ci/dash/push-docker.sh b/ci/dash/push-docker.sh index 3b3d0a5c47..93fa734506 100755 --- a/ci/dash/push-docker.sh +++ b/ci/dash/push-docker.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2021 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C diff --git a/ci/dash/test_integrationtests.sh b/ci/dash/test_integrationtests.sh index 2fc86c4417..fb45f14bd9 100755 --- a/ci/dash/test_integrationtests.sh +++ b/ci/dash/test_integrationtests.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2018-2022 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # # This script is executed inside the builder image diff --git a/ci/dash/test_unittests.sh b/ci/dash/test_unittests.sh index 0a8d180897..e7abe0a804 100755 --- a/ci/dash/test_unittests.sh +++ b/ci/dash/test_unittests.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2021-2022 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # # This script is executed inside the builder image diff --git a/configure.ac b/configure.ac index 9985badfbb..ea0d3acf00 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,7 @@ define(_CLIENT_VERSION_MINOR, 2) define(_CLIENT_VERSION_BUILD, 1) define(_CLIENT_VERSION_RC, 0) define(_CLIENT_VERSION_IS_RELEASE, true) -define(_COPYRIGHT_YEAR, 2022) +define(_COPYRIGHT_YEAR, 2023) define(_COPYRIGHT_HOLDERS,[The %s developers]) define(_COPYRIGHT_HOLDERS_SUBSTITUTION,[[Dash Core]]) AC_INIT([Dash Core],m4_join([.], _CLIENT_VERSION_MAJOR, _CLIENT_VERSION_MINOR, _CLIENT_VERSION_BUILD)m4_if(_CLIENT_VERSION_RC, [0], [], [rc]_CLIENT_VERSION_RC),[https://github.com/dashpay/dash/issues],[dashcore],[https://dash.org/]) diff --git a/contrib/auto_gdb/common_helpers.py b/contrib/auto_gdb/common_helpers.py index d85ffb0b04..fafecd63b7 100644 --- a/contrib/auto_gdb/common_helpers.py +++ b/contrib/auto_gdb/common_helpers.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2018-2020 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # import sys diff --git a/contrib/auto_gdb/dash_dbg.sh b/contrib/auto_gdb/dash_dbg.sh index dd9588c906..0486c18894 100755 --- a/contrib/auto_gdb/dash_dbg.sh +++ b/contrib/auto_gdb/dash_dbg.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2018-2020 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # use testnet settings, if you need mainnet, use ~/.dashcore/dashd.pid file instead export LC_ALL=C diff --git a/contrib/auto_gdb/log_size.py b/contrib/auto_gdb/log_size.py index 4bb84e2eb2..149b6a2935 100644 --- a/contrib/auto_gdb/log_size.py +++ b/contrib/auto_gdb/log_size.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2018-2021 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # try: diff --git a/contrib/auto_gdb/simple_class_obj.py b/contrib/auto_gdb/simple_class_obj.py index b3c9d852e6..d624a23df6 100644 --- a/contrib/auto_gdb/simple_class_obj.py +++ b/contrib/auto_gdb/simple_class_obj.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2018-2021 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # import sys diff --git a/contrib/auto_gdb/stl_containers.py b/contrib/auto_gdb/stl_containers.py index a4fdb4afe9..9e50becbe6 100644 --- a/contrib/auto_gdb/stl_containers.py +++ b/contrib/auto_gdb/stl_containers.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2018-2020 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # try: diff --git a/contrib/auto_gdb/used_size.py b/contrib/auto_gdb/used_size.py index 9ca88507bb..14cfac289a 100644 --- a/contrib/auto_gdb/used_size.py +++ b/contrib/auto_gdb/used_size.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2018-2021 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. # try: diff --git a/contrib/containers/deploy/docker-entrypoint.sh b/contrib/containers/deploy/docker-entrypoint.sh index 493d8d4e44..313c2d44f1 100755 --- a/contrib/containers/deploy/docker-entrypoint.sh +++ b/contrib/containers/deploy/docker-entrypoint.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2021 The Dash Core developers +# Distributed under the MIT software license, see the accompanying +# file COPYING or http://www.opensource.org/licenses/mit-license.php. export LC_ALL=C set -e diff --git a/contrib/devtools/copyright_header.py b/contrib/devtools/copyright_header.py index 8a70bbb68c..2fcb69c054 100755 --- a/contrib/devtools/copyright_header.py +++ b/contrib/devtools/copyright_header.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # Copyright (c) 2016-2019 The Bitcoin Core developers -# Copyright (c) 2019-2021 The Dash Core developers +# Copyright (c) 2019-2023 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -17,10 +17,16 @@ import os EXCLUDE = [ # auto generated: - 'src/qt/bitcoinstrings.cpp', + 'src/qt/dashstrings.cpp', 'src/chainparamsseeds.h', # other external copyrights: + 'src/bip39.cpp', + 'src/bip39.h', + 'src/bip39_english.h', + 'src/crypto/*', + 'src/ctpl_stl.h', 'src/reverse_iterator.h', + 'src/statsd_client.cpp', 'src/test/fuzz/FuzzedDataProvider.h', 'src/tinyformat.h', 'src/bench/nanobench.h', diff --git a/src/batchedlogger.cpp b/src/batchedlogger.cpp index 562eca0cd6..0199ae4227 100644 --- a/src/batchedlogger.cpp +++ b/src/batchedlogger.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/batchedlogger.h b/src/batchedlogger.h index e86b9dbad6..09e72d3625 100644 --- a/src/batchedlogger.h +++ b/src/batchedlogger.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/ecdsa.cpp b/src/bench/ecdsa.cpp index a26e932ad4..7a835a268f 100644 --- a/src/bench/ecdsa.cpp +++ b/src/bench/ecdsa.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bench/string_cast.cpp b/src/bench/string_cast.cpp index 65a3b911a0..a14b1a4c5d 100644 --- a/src/bench/string_cast.cpp +++ b/src/bench/string_cast.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bls/bls_batchverifier.h b/src/bls/bls_batchverifier.h index 4e5f162f13..c897d1567c 100644 --- a/src/bls/bls_batchverifier.h +++ b/src/bls/bls_batchverifier.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/bls/bls_ies.cpp b/src/bls/bls_ies.cpp index 2928ed5ffc..b57dfdb2ed 100644 --- a/src/bls/bls_ies.cpp +++ b/src/bls/bls_ies.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/cachemap.h b/src/cachemap.h index 5d7d0a5f52..011e28824c 100644 --- a/src/cachemap.h +++ b/src/cachemap.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/cachemultimap.h b/src/cachemultimap.h index d036be08a2..ab61b5806c 100644 --- a/src/cachemultimap.h +++ b/src/cachemultimap.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 8d1f6dc8f6..d1d86b12fc 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coinjoin/client.cpp b/src/coinjoin/client.cpp index 604d2dcac4..e82315a8b0 100644 --- a/src/coinjoin/client.cpp +++ b/src/coinjoin/client.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coinjoin/client.h b/src/coinjoin/client.h index 9da375096d..ffc1f46daf 100644 --- a/src/coinjoin/client.h +++ b/src/coinjoin/client.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coinjoin/coinjoin.cpp b/src/coinjoin/coinjoin.cpp index 8a61863751..ff84975119 100644 --- a/src/coinjoin/coinjoin.cpp +++ b/src/coinjoin/coinjoin.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coinjoin/coinjoin.h b/src/coinjoin/coinjoin.h index d30c5eb423..9ceb7e2f84 100644 --- a/src/coinjoin/coinjoin.h +++ b/src/coinjoin/coinjoin.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coinjoin/server.cpp b/src/coinjoin/server.cpp index d0cdf1f387..5572195ab4 100644 --- a/src/coinjoin/server.cpp +++ b/src/coinjoin/server.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/coinjoin/server.h b/src/coinjoin/server.h index cee35ad1cc..325f5e0342 100644 --- a/src/coinjoin/server.h +++ b/src/coinjoin/server.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/dsnotificationinterface.cpp b/src/dsnotificationinterface.cpp index 810d756580..6ca5bc87ff 100644 --- a/src/dsnotificationinterface.cpp +++ b/src/dsnotificationinterface.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/evo/deterministicmns.cpp b/src/evo/deterministicmns.cpp index afbaacd9cc..1be2c7c08d 100644 --- a/src/evo/deterministicmns.cpp +++ b/src/evo/deterministicmns.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2022 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/evo/dmnstate.h b/src/evo/dmnstate.h index 6501ce5361..cc8438ac97 100644 --- a/src/evo/dmnstate.h +++ b/src/evo/dmnstate.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2022 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/evo/evodb.cpp b/src/evo/evodb.cpp index 39dc8ec4dd..708ae52a7e 100644 --- a/src/evo/evodb.cpp +++ b/src/evo/evodb.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/evo/evodb.h b/src/evo/evodb.h index 7aa22780ed..2b3ad2c4df 100644 --- a/src/evo/evodb.h +++ b/src/evo/evodb.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2021 The Dash Core developers +// Copyright (c) 2018-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/evo/mnauth.cpp b/src/evo/mnauth.cpp index 5fe23f17e0..9915136bf9 100644 --- a/src/evo/mnauth.cpp +++ b/src/evo/mnauth.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 The Dash Core developers +// Copyright (c) 2019-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/flat-database.h b/src/flat-database.h index 424c21b517..3235569c0c 100644 --- a/src/flat-database.h +++ b/src/flat-database.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/governance/classes.cpp b/src/governance/classes.cpp index 3be148bffa..e3ceb77be5 100644 --- a/src/governance/classes.cpp +++ b/src/governance/classes.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/governance/classes.h b/src/governance/classes.h index 8d2b96c3c6..2ae710c34a 100644 --- a/src/governance/classes.h +++ b/src/governance/classes.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_GOVERNANCE_CLASSES_H diff --git a/src/governance/governance.cpp b/src/governance/governance.cpp index 66f4313900..00bc40a443 100644 --- a/src/governance/governance.cpp +++ b/src/governance/governance.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/governance/object.cpp b/src/governance/object.cpp index 488d4beb27..538ae3ebda 100644 --- a/src/governance/object.cpp +++ b/src/governance/object.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/governance/vote.cpp b/src/governance/vote.cpp index 23845a7c89..49cf254818 100644 --- a/src/governance/vote.cpp +++ b/src/governance/vote.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/governance/vote.h b/src/governance/vote.h index 9fab997fce..0675b59c25 100644 --- a/src/governance/vote.h +++ b/src/governance/vote.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/hdchain.h b/src/hdchain.h index e1a146e03b..35e055a95e 100644 --- a/src/hdchain.h +++ b/src/hdchain.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying #ifndef BITCOIN_HDCHAIN_H #define BITCOIN_HDCHAIN_H diff --git a/src/init.cpp b/src/init.cpp index b776d76e7c..7ff61aaa11 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/blockprocessor.cpp b/src/llmq/blockprocessor.cpp index 76ac87905a..cc41da5623 100644 --- a/src/llmq/blockprocessor.cpp +++ b/src/llmq/blockprocessor.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2022 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/chainlocks.cpp b/src/llmq/chainlocks.cpp index 0672ca7227..8ac053f4f4 100644 --- a/src/llmq/chainlocks.cpp +++ b/src/llmq/chainlocks.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 The Dash Core developers +// Copyright (c) 2019-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/chainlocks.h b/src/llmq/chainlocks.h index 910657d4a0..632b1acbbd 100644 --- a/src/llmq/chainlocks.h +++ b/src/llmq/chainlocks.h @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 The Dash Core developers +// Copyright (c) 2019-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/context.cpp b/src/llmq/context.cpp index 9c0bb0209e..5a9a3fc2b1 100644 --- a/src/llmq/context.cpp +++ b/src/llmq/context.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2022 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/instantsend.cpp b/src/llmq/instantsend.cpp index 9648786c59..0581024b9a 100644 --- a/src/llmq/instantsend.cpp +++ b/src/llmq/instantsend.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 The Dash Core developers +// Copyright (c) 2019-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/instantsend.h b/src/llmq/instantsend.h index f6d040a786..980bb96a46 100644 --- a/src/llmq/instantsend.h +++ b/src/llmq/instantsend.h @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2022 The Dash Core developers +// Copyright (c) 2019-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/quorums.cpp b/src/llmq/quorums.cpp index b1ac354d95..ef8d7203c2 100644 --- a/src/llmq/quorums.cpp +++ b/src/llmq/quorums.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2022 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/quorums.h b/src/llmq/quorums.h index 697caa533f..3073a80d4a 100644 --- a/src/llmq/quorums.h +++ b/src/llmq/quorums.h @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2022 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/llmq/utils.cpp b/src/llmq/utils.cpp index 1876d586eb..c06d19cfc9 100644 --- a/src/llmq/utils.cpp +++ b/src/llmq/utils.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2018-2022 The Dash Core developers +// Copyright (c) 2018-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/masternode/meta.h b/src/masternode/meta.h index 662456fced..e0f15c0c8a 100644 --- a/src/masternode/meta.h +++ b/src/masternode/meta.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/masternode/payments.cpp b/src/masternode/payments.cpp index dfbadea925..9f3400fbc1 100644 --- a/src/masternode/payments.cpp +++ b/src/masternode/payments.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/masternode/payments.h b/src/masternode/payments.h index c166b50758..37d7cfe342 100644 --- a/src/masternode/payments.h +++ b/src/masternode/payments.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/masternode/utils.cpp b/src/masternode/utils.cpp index 7ffcb32b11..03d11f78f9 100644 --- a/src/masternode/utils.cpp +++ b/src/masternode/utils.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/masternode/utils.h b/src/masternode/utils.h index 69d1ca9f0c..831a8ec936 100644 --- a/src/masternode/utils.h +++ b/src/masternode/utils.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/messagesigner.cpp b/src/messagesigner.cpp index cf0740ec12..1cb8a99a27 100644 --- a/src/messagesigner.cpp +++ b/src/messagesigner.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/messagesigner.h b/src/messagesigner.h index 4f54fe39cf..6b063936c3 100644 --- a/src/messagesigner.h +++ b/src/messagesigner.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/net.cpp b/src/net.cpp index 03ba621bec..8072dacd5c 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netfulfilledman.cpp b/src/netfulfilledman.cpp index 8a2462010e..03fe91ea87 100644 --- a/src/netfulfilledman.cpp +++ b/src/netfulfilledman.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/netfulfilledman.h b/src/netfulfilledman.h index f97fa339b2..9cd7c40254 100644 --- a/src/netfulfilledman.h +++ b/src/netfulfilledman.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/appearancewidget.cpp b/src/qt/appearancewidget.cpp index e265b0ead6..ba1872e287 100644 --- a/src/qt/appearancewidget.cpp +++ b/src/qt/appearancewidget.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2021 The Dash Core developers +// Copyright (c) 2020-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/appearancewidget.h b/src/qt/appearancewidget.h index 0de5b18da7..85bfaccc65 100644 --- a/src/qt/appearancewidget.h +++ b/src/qt/appearancewidget.h @@ -1,4 +1,4 @@ -// Copyright (c) 2020-2021 The Dash Core developers +// Copyright (c) 2020-2022 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/askpassphrasedialog.cpp b/src/qt/askpassphrasedialog.cpp index c6b91a092b..98132f5650 100644 --- a/src/qt/askpassphrasedialog.cpp +++ b/src/qt/askpassphrasedialog.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2011-2015 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/bitcoinaddressvalidator.cpp b/src/qt/bitcoinaddressvalidator.cpp index 168f9b481f..e09c61ae35 100644 --- a/src/qt/bitcoinaddressvalidator.cpp +++ b/src/qt/bitcoinaddressvalidator.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2011-2014 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/bitcoinunits.h b/src/qt/bitcoinunits.h index 3b7f04dd43..3c2fccf1ab 100644 --- a/src/qt/bitcoinunits.h +++ b/src/qt/bitcoinunits.h @@ -1,5 +1,5 @@ // Copyright (c) 2011-2015 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/editaddressdialog.cpp b/src/qt/editaddressdialog.cpp index 2a136f7958..b6ab268707 100644 --- a/src/qt/editaddressdialog.cpp +++ b/src/qt/editaddressdialog.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2011-2014 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/governancelist.cpp b/src/qt/governancelist.cpp index 08d89e3e5c..0ced87e011 100644 --- a/src/qt/governancelist.cpp +++ b/src/qt/governancelist.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2021-2022 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include #include diff --git a/src/qt/governancelist.h b/src/qt/governancelist.h index 568cac6685..65834e54e5 100644 --- a/src/qt/governancelist.h +++ b/src/qt/governancelist.h @@ -1,3 +1,7 @@ +// Copyright (c) 2021-2022 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_QT_GOVERNANCELIST_H #define BITCOIN_QT_GOVERNANCELIST_H diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h index 8d7486e9e9..4e5b8db3bb 100644 --- a/src/qt/guiconstants.h +++ b/src/qt/guiconstants.h @@ -1,5 +1,5 @@ // Copyright (c) 2011-2015 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/masternodelist.cpp b/src/qt/masternodelist.cpp index 79a32638e6..ef03bebca1 100644 --- a/src/qt/masternodelist.cpp +++ b/src/qt/masternodelist.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2016-2022 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include #include diff --git a/src/qt/masternodelist.h b/src/qt/masternodelist.h index acfd100742..c623893537 100644 --- a/src/qt/masternodelist.h +++ b/src/qt/masternodelist.h @@ -1,3 +1,7 @@ +// Copyright (c) 2016-2021 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_QT_MASTERNODELIST_H #define BITCOIN_QT_MASTERNODELIST_H diff --git a/src/qt/networkstyle.cpp b/src/qt/networkstyle.cpp index 9b28277122..47f8f3e7eb 100644 --- a/src/qt/networkstyle.cpp +++ b/src/qt/networkstyle.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2014 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/networkstyle.h b/src/qt/networkstyle.h index e7278a2d3d..96f76a420d 100644 --- a/src/qt/networkstyle.h +++ b/src/qt/networkstyle.h @@ -1,5 +1,5 @@ // Copyright (c) 2014 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/qt/test/trafficgraphdatatests.cpp b/src/qt/test/trafficgraphdatatests.cpp index ef25a739b4..a6ca93fa44 100644 --- a/src/qt/test/trafficgraphdatatests.cpp +++ b/src/qt/test/trafficgraphdatatests.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2017-2020 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include #include #include diff --git a/src/qt/test/trafficgraphdatatests.h b/src/qt/test/trafficgraphdatatests.h index c7032f0198..0df2349983 100644 --- a/src/qt/test/trafficgraphdatatests.h +++ b/src/qt/test/trafficgraphdatatests.h @@ -1,3 +1,7 @@ +// Copyright (c) 2017-2018 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_QT_TEST_TRAFFICGRAPHDATATESTS_H #define BITCOIN_QT_TEST_TRAFFICGRAPHDATATESTS_H diff --git a/src/qt/trafficgraphdata.cpp b/src/qt/trafficgraphdata.cpp index 277a08ace6..5474b2fc9f 100644 --- a/src/qt/trafficgraphdata.cpp +++ b/src/qt/trafficgraphdata.cpp @@ -1,3 +1,7 @@ +// Copyright (c) 2017-2020 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #include const int TrafficGraphData::RangeMinutes[] = {5,10,15,30,60,120,180,360,720,1440}; diff --git a/src/qt/trafficgraphdata.h b/src/qt/trafficgraphdata.h index 096baeae04..5a3a0764d9 100644 --- a/src/qt/trafficgraphdata.h +++ b/src/qt/trafficgraphdata.h @@ -1,3 +1,7 @@ +// Copyright (c) 2017-2020 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_QT_TRAFFICGRAPHDATA_H #define BITCOIN_QT_TRAFFICGRAPHDATA_H diff --git a/src/rpc/governance.cpp b/src/rpc/governance.cpp index c253d2e842..3b2046c292 100644 --- a/src/rpc/governance.cpp +++ b/src/rpc/governance.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/masternode.cpp b/src/rpc/masternode.cpp index e2f3ef69d9..4d0e1ecfae 100644 --- a/src/rpc/masternode.cpp +++ b/src/rpc/masternode.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 1e4bcaed03..1c2c58a46e 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index fe8d95dc7e..ec754b05e0 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/saltedhasher.cpp b/src/saltedhasher.cpp index 856c84eb62..93ec9a6d69 100644 --- a/src/saltedhasher.cpp +++ b/src/saltedhasher.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2021 The Dash Core developers +// Copyright (c) 2019-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/saltedhasher.h b/src/saltedhasher.h index aeeb16195e..917642a052 100644 --- a/src/saltedhasher.h +++ b/src/saltedhasher.h @@ -1,4 +1,4 @@ -// Copyright (c) 2019-2021 The Dash Core developers +// Copyright (c) 2019-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/statsd_client.h b/src/statsd_client.h index b222918eb3..ed331ccd58 100644 --- a/src/statsd_client.h +++ b/src/statsd_client.h @@ -1,3 +1,7 @@ +// Copyright (c) 2020-2022 The Dash Core developers +// Distributed under the MIT software license, see the accompanying +// file COPYING or http://www.opensource.org/licenses/mit-license.php. + #ifndef BITCOIN_STATSD_CLIENT_H #define BITCOIN_STATSD_CLIENT_H diff --git a/src/support/allocators/mt_pooled_secure.h b/src/support/allocators/mt_pooled_secure.h index 9f2a61cf67..c479cb0edf 100644 --- a/src/support/allocators/mt_pooled_secure.h +++ b/src/support/allocators/mt_pooled_secure.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/support/allocators/pooled_secure.h b/src/support/allocators/pooled_secure.h index 00dba8ecb1..289cd9c187 100644 --- a/src/support/allocators/pooled_secure.h +++ b/src/support/allocators/pooled_secure.h @@ -1,4 +1,4 @@ -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/test/specialtx_tests.cpp b/src/test/specialtx_tests.cpp index 11f330c5eb..d9098df4e8 100644 --- a/src/test/specialtx_tests.cpp +++ b/src/test/specialtx_tests.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2021-2022 The Dash Core developers +// Copyright (c) 2021-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/uint256.h b/src/uint256.h index f8c99afbd6..b6aee3cf14 100644 --- a/src/uint256.h +++ b/src/uint256.h @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers -// Copyright (c) 2014-2021 The Dash Core developers +// Copyright (c) 2014-2022 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/validation.cpp b/src/validation.cpp index 4014e92be6..da48ee708d 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2018 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/version.h b/src/version.h index 2888cade7f..290389b1f4 100644 --- a/src/version.h +++ b/src/version.h @@ -1,5 +1,5 @@ // Copyright (c) 2012-2014 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/rpcdump.cpp b/src/wallet/rpcdump.cpp index 39ef066dbe..25f0d91655 100644 --- a/src/wallet/rpcdump.cpp +++ b/src/wallet/rpcdump.cpp @@ -1,5 +1,5 @@ // Copyright (c) 2009-2015 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index d69961ff66..7ec71bed84 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index f1b3ac3f61..bf2e14d27f 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index f84d946a36..f527d8ffdb 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -1,6 +1,6 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers -// Copyright (c) 2014-2022 The Dash Core developers +// Copyright (c) 2014-2023 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/feature_llmq_chainlocks.py b/test/functional/feature_llmq_chainlocks.py index 9efc391621..87ea496af2 100755 --- a/test/functional/feature_llmq_chainlocks.py +++ b/test/functional/feature_llmq_chainlocks.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2021 The Dash Core developers +# Copyright (c) 2015-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/feature_llmq_connections.py b/test/functional/feature_llmq_connections.py index cb6ffcda8e..37e1979a63 100755 --- a/test/functional/feature_llmq_connections.py +++ b/test/functional/feature_llmq_connections.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2021 The Dash Core developers +# Copyright (c) 2015-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/feature_llmq_data_recovery.py b/test/functional/feature_llmq_data_recovery.py index a2a98e067a..1aa70de2cb 100755 --- a/test/functional/feature_llmq_data_recovery.py +++ b/test/functional/feature_llmq_data_recovery.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2021 The Dash Core developers +# Copyright (c) 2021-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/feature_llmq_dkgerrors.py b/test/functional/feature_llmq_dkgerrors.py index 74ae53ea73..72a0a17fb1 100755 --- a/test/functional/feature_llmq_dkgerrors.py +++ b/test/functional/feature_llmq_dkgerrors.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2021 The Dash Core developers +# Copyright (c) 2015-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/feature_llmq_is_retroactive.py b/test/functional/feature_llmq_is_retroactive.py index e38bb6c2cc..9f82b1883d 100755 --- a/test/functional/feature_llmq_is_retroactive.py +++ b/test/functional/feature_llmq_is_retroactive.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2021 The Dash Core developers +# Copyright (c) 2015-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/feature_llmq_simplepose.py b/test/functional/feature_llmq_simplepose.py index 650b13f0ef..bc254c552a 100755 --- a/test/functional/feature_llmq_simplepose.py +++ b/test/functional/feature_llmq_simplepose.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2015-2021 The Dash Core developers +# Copyright (c) 2015-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/feature_multikeysporks.py b/test/functional/feature_multikeysporks.py index cda780e16e..01b7ac1ba5 100755 --- a/test/functional/feature_multikeysporks.py +++ b/test/functional/feature_multikeysporks.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018-2021 The Dash Core developers +# Copyright (c) 2018-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import time diff --git a/test/functional/feature_sporks.py b/test/functional/feature_sporks.py index d41237f37e..60597ce5ea 100755 --- a/test/functional/feature_sporks.py +++ b/test/functional/feature_sporks.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2018-2021 The Dash Core developers +# Copyright (c) 2018-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/p2p_connect_to_devnet.py b/test/functional/p2p_connect_to_devnet.py index 0586e05752..ebe53ed22e 100755 --- a/test/functional/p2p_connect_to_devnet.py +++ b/test/functional/p2p_connect_to_devnet.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2021 The Dash Core developers +# Copyright (c) 2021-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test being able to connect to the same devnet""" diff --git a/test/functional/rpc_masternode.py b/test/functional/rpc_masternode.py index cdf74c24ce..7ec1c34d47 100755 --- a/test/functional/rpc_masternode.py +++ b/test/functional/rpc_masternode.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2020-2021 The Dash Core developers +# Copyright (c) 2020-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import DashTestFramework diff --git a/test/functional/rpc_mnauth.py b/test/functional/rpc_mnauth.py index 6a3b417e5e..8711d327ba 100755 --- a/test/functional/rpc_mnauth.py +++ b/test/functional/rpc_mnauth.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2021 The Dash Core developers +# Copyright (c) 2021-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. diff --git a/test/functional/rpc_platform_filter.py b/test/functional/rpc_platform_filter.py index 6e678b50a7..264f78a47a 100755 --- a/test/functional/rpc_platform_filter.py +++ b/test/functional/rpc_platform_filter.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2020-2021 The Dash Core developers +# Copyright (c) 2020-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. """Test that commands submitted by the platform user are filtered.""" diff --git a/test/functional/rpc_verifychainlock.py b/test/functional/rpc_verifychainlock.py index 85779a641a..fcb3132129 100755 --- a/test/functional/rpc_verifychainlock.py +++ b/test/functional/rpc_verifychainlock.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# Copyright (c) 2021 The Dash Core developers +# Copyright (c) 2021-2022 The Dash Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php.