dash/doc
Odysseas Gabrielides a37e196dd0
feat(rpc): Hide old banned mns by default (#5125)
<!--
*** Please remove the following help text before submitting: ***

Provide a general summary of your changes in the Title above

Pull requests without a rationale and clear improvement may be closed
immediately.

Please provide clear motivation for your patch and explain how it
improves
Dash Core user experience or Dash Core developer experience
significantly:

* Any test improvements or new tests that improve coverage are always
welcome.
* All other changes should have accompanying unit tests (see
`src/test/`) or
functional tests (see `test/`). Contributors should note which tests
cover
modified code. If no tests exist for a region of modified code, new
tests
  should accompany the change.
* Bug fixes are most welcome when they come with steps to reproduce or
an
explanation of the potential issue as well as reasoning for the way the
bug
  was fixed.
* Features are welcome, but might be rejected due to design or scope
issues.
If a feature is based on a lot of dependencies, contributors should
first
  consider building the system outside of Dash Core, if possible.
-->

## Issue being fixed or feature implemented
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->


## What was done?
<!--- Describe your changes in detail -->
It was requested by service desk to hide old banned masternodes when
calling rpc `masternodelist`.
The period from which a masternode is considered old banned is more than
a `SuperblockCycle`.

| Network        | SuperblockCycle           |
| ------------- |:-------------:|
| Mainnet      | 16616 |
| Testnet    | 24      |
| Devnet | 24     |
| Regtest | 10      |

The new mode `recent` was added to in order to hide old banned
masternodes.
Note: If the mode `recent` is used, then the reply mode is `JSON` (can
be additionally filtered)

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->


## Breaking Changes
<!--- Please describe any breaking changes your code introduces -->


## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have added or updated relevant unit/integration/functional/e2e
tests
- [x] 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
2023-01-01 19:04:35 -06:00
..
gitian-building
man merge bitcoin#15437: Remove BIP61 reject messages 2022-12-02 15:43:01 +05:30
release-notes revert: revert bitcoin#20186 (Make -wallet setting not create wallets) 2022-12-04 18:02:40 -06:00
.gitignore
assets-attribution.md
benchmarking.md Merge #17081: doc: fix Makefile target in benchmarking.md 2022-05-17 01:20:21 -04:00
bips.md merge bitcoin#15437: Remove BIP61 reject messages 2022-12-02 15:43:01 +05:30
bitcoin_logo_doxygen.png
build-cross.md
build-generic.md
build-netbsd.md
build-osx.md Merge #18070: doc: add note about brew doctor 2022-10-20 11:47:02 -04:00
build-unix.md docs/build: Kubuntu 22.04 build fix (#4843) 2022-05-30 10:57:01 -05:00
build-windows.md
dash-conf.md Merge bitcoin/bitcoin#22393: doc: added info to bitcoin.conf doc 2022-03-07 09:42:58 -06:00
descriptors.md Merge #18025: doc: Add missing supported rpcs to doc/descriptors.md 2022-03-07 09:40:31 -06:00
developer-notes.md merge bitcoin#21404: Remove MakeUnique<T>() 2022-10-20 16:08:45 -05:00
dnsseed-policy.md
Doxyfile.in Merge bitcoin/bitcoin#22001: doc: Generate doxygen documentation for test sources 2022-03-13 14:52:10 -05:00
files.md merge #15935: Add <datadir>/settings.json persistent settings storage 2022-06-21 19:08:55 +05:30
fuzzing.md merge bitcoin#20560: Link all targets once 2022-10-02 12:05:30 +05:30
gitian-building.md
init.md Merge #18157: doc: fixing init.md documentation to not require rpcpassword 2022-09-16 19:22:12 +05:30
instantsend.md
JSON-RPC-interface.md
masternode-budget.md
productivity.md Merge #18382: doc: note the costs of fetching all pull requests 2022-04-07 07:22:27 +05:30
psbt.md
README_doxygen.md
README_windows.txt
README.md merge bitcoin#17265: Remove OpenSSL 2022-04-25 15:29:52 +05:30
reduce-memory.md Merge bitcoin/bitcoin#21709: doc: update reduce-memory.md and bitcoin.conf -maxconnections info 2022-04-05 23:10:05 -05:00
reduce-traffic.md Merge #18464: doc: block-relay-only vs blocksonly 2022-04-03 18:08:53 -05:00
release-notes-4892.md merge bitcoin#15437: Remove BIP61 reject messages 2022-12-02 15:43:01 +05:30
release-notes-5017.md partial bitcoin#13932: Additional utility RPCs for PSBT 2022-09-24 08:51:04 +05:30
release-notes-5076.md feat: Enrich quorum listextended rpc reply (#5114) 2022-12-23 14:06:31 -06:00
release-notes-5125.md feat(rpc): Hide old banned mns by default (#5125) 2023-01-01 19:04:35 -06:00
release-notes-15454.md revert: revert bitcoin#15454 (Remove the automatic creation and loading of the default wallet) 2022-12-04 18:02:40 -06:00
release-notes-17264.md Merge #17264: rpc: set default bip32derivs to true for psbt methods 2022-10-20 11:47:02 -04:00
release-notes.md docs: write release notes 2022-10-17 11:31:26 -05:00
release-process.md
REST-interface.md Merge #17285: doc: Bip70 removal follow-up 2022-04-27 21:08:36 +03:00
shared-libraries.md revert dash#1432: Rename consensus source library and API 2022-08-09 14:16:28 +05:30
tor.md merge bitcoin#18077: Add NAT-PMP port forwarding support 2022-02-26 17:49:13 +05:30
translation_process.md
translation_strings_policy.md Merge #16224: gui: Bilingual GUI error messages 2022-04-07 10:41:24 -05:00
travis-ci.md
zmq.md

Dash Core

This is the official reference wallet for Dash digital currency and comprises the backbone of the Dash peer-to-peer network. You can download Dash Core or build it yourself using the guides below.

Running

The following are some helpful notes on how to run Dash Core on your native platform.

Unix

Unpack the files into a directory and run:

  • bin/dash-qt (GUI) or
  • bin/dashd (headless)

Windows

Unpack the files into a directory, and then run dash-qt.exe.

macOS

Drag Dash Core to your applications folder, and then run Dash Core.

Need Help?

Building

The following are developer notes on how to build Dash Core on your native platform. They are not complete guides, but include notes on the necessary libraries, compile flags, etc.

Development

The Dash Core repo's root README contains relevant information on the development process and automated testing.

Resources

Miscellaneous

License

Distributed under the MIT software license.