forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 714
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge #2273: [TierTwo] Deterministic masternode lists
6dbdf37 [Consensus] Serialize also shield inputs for ProReg inputshash (random-zebra) e0ff60f [Consensus] Serialize the whole scriptPayout for ProReg sign string (random-zebra) e659d7e [Trivial] Fix styling/logging nits (random-zebra) 170ab92 [Tests] Check for protx inputs hash in evo_specialtx_tests (random-zebra) a1cb227 [BUG] Add proper virtual dtor for CActiveDeterministicMasternodeManager (random-zebra) 0520ea9 [Init] Add -mnoperatorprivatekey to flag the active mn as deterministic (random-zebra) dcb5df9 [Refactoring] CADMM: GetLocalAddress static (random-zebra) 6cd5b0c [Refactoring] encapsulate activeMNINfo inside activeMNManager (random-zebra) ca9d10c Implement CActiveDeterministicMasternodeManager (Alexander Block) 66302c3 [Tests] Check deterministic masternodes unique properties (random-zebra) ddad010 [Validation] Check duplicate unique-properties for masternodes (random-zebra) 41869ec [Refactoring] Add IsDIP3Enforced/LegacyMNObsolete funcs to DMNManager (random-zebra) c013bf1 [Refactoring] Add evo Notification Interface (random-zebra) 180a311 [Validation] Connect deterministic manager to block processing (random-zebra) 7f2d2b5 [MOVE-ONLY] move special_tx_validation_test inside evo_* test file (random-zebra) 9ac0f37 [Tests] Introduce evo_deterministicmns_tests.cpp (random-zebra) 48c66dc Conflict handling for ProRegTx in mempool (Alexander Block) ae33972 [Core] Deterministic Masternode List implementation (random-zebra) 50c277b Implement std::unordered_map/set compatible hasher classes for salted hashes (Alexander Block) 0c064f8 [Tests] Add tests for SetTxPayload/GetTxPayload and CheckStringSig (random-zebra) 693772a [Core] Introduce ProRegTx payload (random-zebra) 6fb2496 Define hash function for uint256 to be used in STL-like containers (random-zebra) 3f74c88 [Build] CMake: add immer headers (random-zebra) e067443 [Build] Add "immer" functional/immutable containers library (random-zebra) b92de4d [Consensus] Reject special txes before V6 enforcement (random-zebra) Pull request description: Extracted from #2267. This is the first fundamental PR. Here we introduce the `PROREG` transaction type, the DMN manager (and active-masternode manager), and all the required classes (`CDeterministicMN`, `CDeterministicMNState`, `CDeterministicMNStateDiff`, `CDeterministicMNList` and `CDeterministicMNListDiff`). This contains also the headers-only immer library for persistent immutable data structures. Reasons for the inclusion are explained in #2267 (under "code architecture"). The headers are copied over, at the same commit used by Dash (`0a718d2d76bab6ebdcf43de943bd6c7d2dbfe2f9`). Later on, we might want to properly include this as a git subtree. Built on top of: - [x] #2271 ACKs for top commit: furszy: Code review ACK 6dbdf37. Fuzzbawls: Code ACK 6dbdf37 Tree-SHA512: 3b175eef5cd03c73ee4d125063a4a5f5a5eff6064fb6ff3f54c01b6f2d48562c6181cbfa2687025a2fc9a65a80b17d799581cba1f2937333dfee4c3212b5cfac
- Loading branch information
Showing
88 changed files
with
18,111 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.