forked from ElementsProject/elements
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge ElementsProject#703: [0.18] Dynafed backport
f11f066 Generalize the number of epochs old a peg-in can be and still be valid (Gregory Sanders) d47a7e0 feature_fedpeg.py: Run in various dynafed transition settings (Gregory Sanders) 5b2c79e Fix compilation of raw transaction operations with peg-in inputs (Gregory Sanders) 0a44ff6 p2sh-wrap peg-in addresses if fedpeg_program is p2sh-wrapped (Gregory Sanders) be46069 Refactor IsPAKValid to not magically acquire chainparams (Gregory Sanders) c6070be Remove script/standard dependence of ContextualCheckDynaFedHeader (Gregory Sanders) d9431c0 Remove dyanfed.cpp's dependency on script/standard.h (Gregory Sanders) a7dc478 After a reorg, boot all peg-ins and peg-outs from mempool (Gregory Sanders) 9a3b9b9 Enforce PAK checks on dynafed proposals (Gregory Sanders) ffec609 Replace fedpeg template init check for pak one (Gregory Sanders) 8dc1de4 Update python test framework for DynaFedParamEntry fedpeg program (Gregory Sanders) d3d2bc3 Add functional test for illegal proposals (Gregory Sanders) 25bdb0a Update dynafed functional test to new behavior (Gregory Sanders) 04cadcd fixup proposal checks (Gregory Sanders) 0a21f53 getnewblockhex fills out proposal fedpeg program (Gregory Sanders) 1892b67 Make future parent segwit versions in fedpegscripts be vacuously true (Gregory Sanders) 1122fc2 Add dynafed proposal restrictions (Gregory Sanders) 69e881a Add description of NextBlockIsParameterTransition (Gregory Sanders) a7bb36f Remove misleading comment for ContextualCheckDynaFedHeader use (Gregory Sanders) b7aaf4b Add fedpeg_program field in dynafed header (Gregory Sanders) cc2f57a CreatePAKListFromExtensionSpace just uses FromBytes for correctness (Gregory Sanders) 7e4f88b Remove short-circuit dynafed vote fail for readability (Gregory Sanders) 285daab s/m_dyna_params/m_dynafed_params/ (Gregory Sanders) e963834 Light explanation of dynamic federations fields (Gregory Sanders) 8f12b61 s/ConsensusParamEntry/DynaFedParamEntry/ (Gregory Sanders) 6ddf46c s/m_sbs_wit_limit/m_signblock_witness_limit/ (Gregory Sanders) 1d1cf23 s/HF_MASK/DYNAFED_HF_MASK/ (Gregory Sanders) 5e2aca1 s/d_params/dynafed_params/ (Gregory Sanders) 4829b3a signrawtransaction* should use up to date fedpegscript for peg-in signing (Gregory Sanders) 8bd7027 Dynafed RPC support, tests, and deployment for custom chains (Gregory Sanders) f08756b OP_TRUE outputs should be allowed to be segwit-ified by decodescript (Gregory Sanders) 2eded09 Have removeForBlock boot transactions when required (Gregory Sanders) 0cfe03b Expose fedpeg fetching to consensus and mempool internals (Gregory Sanders) b00515e GetTransactionSigOpCost shouldn't need fedpegscript to evaluate (Gregory Sanders) b096f8d Add and update startup args for dynafed (Gregory Sanders) 8436710 Add unused dynamic genesis block style in chainparams (Gregory Sanders) f2e3495 Create epoch length chainparam (Gregory Sanders) 85467c0 Set default of multi_data_permitted to enforce_pak (Gregory Sanders) e1474d1 Correct comment about liquidv1 fedpeg matching template (Gregory Sanders) 4818e5e Miner should stop trying to account for old PAK system (Gregory Sanders) f277ec5 Add miner ability to make dynafed blocks (Gregory Sanders) f5e4632 ContextualCheckBlockHeader: dynafed doesn't call CheckChallenge (Gregory Sanders) fb333b3 Introduce contextual block checks for dynafed (Gregory Sanders) 8f2194c Enable pak enforcement at mempool/block level when appropriate (Gregory Sanders) fac525b ScriptHasValidPAKProof takes fedpeg as arg (Gregory Sanders) 144d486 Remove old mempool-booting logic (Gregory Sanders) 1c77824 Remove standardness checks for PAK (Gregory Sanders) a306c0c Update PAK internals, helper functions (Gregory Sanders) 60d4093 Disable PAK loading from configuration on init, disable pak test (Gregory Sanders) 5e273e8 Add inactive versionbits dynafed deployment (Gregory Sanders) 1f470d3 ReadBlockFromDisk: do genesis block check before block proof check (Gregory Sanders) cd5d87c Bump last old block version for versonbits due to elements (Gregory Sanders) 86ed316 Add python implementation of dynafed block serialization (Gregory Sanders) 7ec6c53 Deserialize merkle proofs without witness, which matters for dynafed (Gregory Sanders) af485a8 Add fedpegscript-fetching helper (Gregory Sanders) d1207bd calculate_contract: remove most template checks and assert in preperation for dynafed (Gregory Sanders) 21cf128 Add note on peg-in sigops (Gregory Sanders) c37a8fe Add dynafed helper functions (Gregory Sanders) fa1f497 Refactor block_proof to support dynafed (Gregory Sanders) 0402da6 Add dynamic federation blockheader fields to chaindb serialization (Gregory Sanders) ab6e3e3 Add dynamic federations blockheader serialization with HF bit (Gregory Sanders) f49c0a6 Define dynamic federations primitives (Gregory Sanders) Pull request description: Tree-SHA512: dcc7f9f225dcc5921cc325e267e30367283afe4b8d88c9a008dccf72393b35245b50cc48eddce035b2dbbe2a0b669b5027998fc88f30bfc18cf78af7f0a484a4
- Loading branch information
Showing
49 changed files
with
1,898 additions
and
801 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
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.