f95aae2b30
* Remove CActiveLegacyMasternodeManager * Remove sentinelping RPC * Remove unused P2P messages and inv types There are still places where these are used in the code. The next commits will clean these up. * Remove MNB/MNP/MNVERIFY related code from masternode(man).h/cpp * Remove all legacy code regarding block MN payee voting * Remove MASTERNODE_SYNC_LIST and MASTERNODE_SYNC_MNW states Also replace all uses of IsMasternodeListSynced and IsWinnersListSynced with IsBlockchainSynced. * Remove unsupported masternode RPCs * Remove UpdateLastPaid methods * Remove duplicate deterministicmns.h include * Remove masternode.conf support * Remove legacy MN lists support from masternode list GUI * Remove unnecessary AskForMN call * Remove compatibility code in CPrivateSendQueue::GetSignatureHash * Don't add locally calculated MN payee in case GetBlockTxOuts failed This is not valid in DIP3 mode * Remove check for IsDeterministicMNsSporkActive in "masternode status" * Move CMasternode::IsValidNetAddr to CActiveDeterministicMasternodeManager * Remove use of CMasternode::CheckCollateral in governance code * Remove uses of MASTERNODE_SENTINEL_PING_MAX_SECONDS/MASTERNODE_SENTINEL_PING_MAX_SECONDS * Remove support for "-masternodeprivkey" * Remove pre-DIP3 vote cleanup * Remove compatibility code for quorumModifierHash/masternodeProTxHash * Remove check for invalid nBlockHeight in CMasternodePayments::GetBlockTxOuts ...and let it crash instead. We expect this method to be called with the correct height now (after DIP3 was fully deployed). * Remove ECDSA based Sign/CheckSignature from CGovernanceObject Only masternodes sign governance objects, so there is no need for ECDSA support here anymore. * Always add superblock and MN reward payments into new block * Always check block payees (except if fLiteMode==true) * Always allow superblock and MN payees in same block * Remove/Fix a few references to masternode.conf and related stuff Also delete guide-startmany.md and masternode_conf.md * Implement NotifyMasternodeListChanged signal and call governance maintenance * Remove non-DIP3 code path from CMasternodeMan::Find * Remove remaining unused code from CMasternode/CMasternodeMan * Always load governance.dat on startup * Mine an empty block instead of incrementing nHeight from chain tip in miner tests This test is crashing otherwise in GetBlockTxOuts as it tries to access a previous block that is not existing. * Skip MN payments verification on historical blocks (pre-DIP3 blocks) Even though DIP3 was active on BIP9 level, the spork was not active yet at that point meaning that payments were not enforced at that time. * Remove unused state and CollateralStatus enums * Unconditionally return false from IsBlockPayeeValid when IsTransactionValid returns false IsTransactionValid already handles the case where IsDIP3Active() returns false, making it return true. * Add override keyword to CDSNotificationInterface::NotifyMasternodeListChanged * Fix help for masternodelist status (POSE_BANNED and no OUTPOINT_SPENT)
2.0 KiB
2.0 KiB
- banlist.dat: stores the IPs/Subnets of banned nodes
- dash.conf: contains configuration settings for dashd or dash-qt
- dashd.pid: stores the process id of dashd while running
- blocks/blk000??.dat: block data (custom, 128 MiB per file); since 0.8.0
- blocks/rev000??.dat; block undo data (custom); since 0.8.0 (format changed since pre-0.8)
- blocks/index/*; block index (LevelDB); since 0.8.0
- chainstate/*; block chain state database (LevelDB); since 0.8.0
- database/*: BDB database environment; only used for wallet since 0.8.0
- db.log: wallet database log file
- debug.log: contains debug information and general logging generated by dashd or dash-qt
- fee_estimates.dat: stores statistics used to estimate minimum transaction fees and priorities required for confirmation; since 0.10.0
- mempool.dat: dump of the mempool's transactions; since 0.14.0.
- governance.dat: stores data for governance obgects
- mncache.dat: stores data for masternode list
- netfulfilled.dat: stores data about recently made network requests
- peers.dat: peer IP address database (custom format); since 0.7.0
- wallet.dat: personal wallet (BDB) with keys and transactions
- .cookie: session RPC authentication cookie (written at start when cookie authentication is used, deleted on shutdown): since 0.12.0
- onion_private_key: cached Tor hidden service private key for
-listenonion
: since 0.12.0
Only used in pre-0.8.0
- blktree/; block chain index (LevelDB); since pre-0.8, replaced by blocks/index/ in 0.8.0
- coins/; unspent transaction output database (LevelDB); since pre-0.8, replaced by chainstate/ in 0.8.0
Only used before 0.8.0
- blkindex.dat: block chain index database (BDB); replaced by {chainstate/,blocks/index/,blocks/rev000??.dat} in 0.8.0
- blk000?.dat: block data (custom, 2 GiB per file); replaced by blocks/blk000??.dat in 0.8.0
Only used before 0.7.0
- addr.dat: peer IP address database (BDB); replaced by peers.dat in 0.7.0