c79ad5fe0 getnewblockhex: Take data push for arbitrary data in block coinbase commitment (Gregory Sanders)
Pull request description:
…ommitment
backport of https://github.com/ElementsProject/elements/pull/753
Tree-SHA512: b118f33643a5f62978c4d839c7d38917b65fdf7b8ef86fe8091485ea4f80024b5e8dbaecb00b778c8e9898611bc742b4169d5ce69b59dae8faff749d040c5120
7f0bd205c Reduce min relay to 100 sat/vkB (Gregory Sanders)
a40fdbedb modify p2p_feefilter test to catch rounding error (Gregory Sanders)
2f013fde6 Disallow implicit conversion for CFeeRate constructor (Gregory Sanders)
14463785a feefilter: Compute the absolute fee rather than stored rate to match mempool acceptance logic (Gregory Sanders)
Pull request description:
backport of https://github.com/ElementsProject/elements/pull/684
Tree-SHA512: 31f3f494f7666b38fdbdfb7490297162bdfb4aef4c7e5748effe9bcad17d6a14a48d24d8dee49d0cf5c978cc42ec7e6ae63c8a45cf956a8bdb3dfbcd3c8e4357
f72e57a3a Use Elements PSBT magic when in Elements mode (Andrew Chow)
8be2a9e35 Change Proprietary types to use the method specified in BIP 174 (Andrew Chow)
Pull request description:
Backport of https://github.com/ElementsProject/elements/pull/730
Tree-SHA512: d0484639049de772989f4f97cc926fbdea0e5c27a294c1f2b5ec0b0f28ca6e620ac5a6306d029ff90d77c1c390848fbad94b3b51fe5e67d4792bb117b000c07b
f7a41c5ff finalizecompactblock: Fix it, make test easier to fail (Gregory Sanders)
8bbd5a3aa Fix finalizecompactblock filling in more found txs from mempool (Gregory Sanders)
e7b77b757 Don't run normal functional tests twice. (Gregory Sanders)
5f628d542 Sprinkle a bunch of syncs to avoid peg-in failure hanging (Gregory Sanders)
87e80602f feature_fedpeg.py: just use testmempoolaccept checking blinded peg-in transactions (Gregory Sanders)
244cccd09 Take mempool locks when doing compact block RPC calls touching mempool (Gregory Sanders)
e66aca4d5 Disable functional tests for sanitzer runs which just OOM (Gregory Sanders)
12eb9b961 Don't run unit tests for compatibility run(which is a NOP) (Gregory Sanders)
Pull request description:
1) Don't run unit tests for compatibility run(redundant)
2) Disable functional tests for sanitizer runs which have been OOM for a while now
3) only use mempool sync in fedpeg test to avoid connection complexity, add a bunch of sync calls to avoid hanging validation failure corner cases
4) run functional tests exactly once
5) fix finalizecompactblock RPC
Tree-SHA512: 2c682d3855cd474fb6e8c039a0cc308cf68321da0f57adbbf2aa8e3aa17b06e244942be7e2f8518581ad972fedfa80f4d898e1cd72a95e9660463413a3b47efe
5c76fc5e9 Update initpegoutwallet help to describe derivation paths properly. (Gregory Sanders)
651b28c4c Fix other bug in initpegoutwallet descriptor parsing (Steven Roose)
bf86c4466 Temp disable pegout descriptors that are not pkh() (Steven Roose)
19c477ede Support descriptors with checksums in initpegoutwallet (Steven Roose)
Pull request description:
Backport of #726.
Tree-SHA512: 603c6896f4407c53ef44ebbbab5064827203a1dccaaa8e7e164dfa085a914ef836dde58cfe85877c8c8bccd4aac4f405f42e820a5a8a42caa0ac24bf43e3d475
f11f066db Generalize the number of epochs old a peg-in can be and still be valid (Gregory Sanders)
d47a7e081 feature_fedpeg.py: Run in various dynafed transition settings (Gregory Sanders)
5b2c79e49 Fix compilation of raw transaction operations with peg-in inputs (Gregory Sanders)
0a44ff67a p2sh-wrap peg-in addresses if fedpeg_program is p2sh-wrapped (Gregory Sanders)
be4606970 Refactor IsPAKValid to not magically acquire chainparams (Gregory Sanders)
c6070be5a Remove script/standard dependence of ContextualCheckDynaFedHeader (Gregory Sanders)
d9431c092 Remove dyanfed.cpp's dependency on script/standard.h (Gregory Sanders)
a7dc478ba After a reorg, boot all peg-ins and peg-outs from mempool (Gregory Sanders)
9a3b9b9cf Enforce PAK checks on dynafed proposals (Gregory Sanders)
ffec60954 Replace fedpeg template init check for pak one (Gregory Sanders)
8dc1de4db Update python test framework for DynaFedParamEntry fedpeg program (Gregory Sanders)
d3d2bc3da Add functional test for illegal proposals (Gregory Sanders)
25bdb0a85 Update dynafed functional test to new behavior (Gregory Sanders)
04cadcd68 fixup proposal checks (Gregory Sanders)
0a21f531a getnewblockhex fills out proposal fedpeg program (Gregory Sanders)
1892b67f9 Make future parent segwit versions in fedpegscripts be vacuously true (Gregory Sanders)
1122fc28a Add dynafed proposal restrictions (Gregory Sanders)
69e881a59 Add description of NextBlockIsParameterTransition (Gregory Sanders)
a7bb36f6c Remove misleading comment for ContextualCheckDynaFedHeader use (Gregory Sanders)
b7aaf4be9 Add fedpeg_program field in dynafed header (Gregory Sanders)
cc2f57a96 CreatePAKListFromExtensionSpace just uses FromBytes for correctness (Gregory Sanders)
7e4f88b68 Remove short-circuit dynafed vote fail for readability (Gregory Sanders)
285daab40 s/m_dyna_params/m_dynafed_params/ (Gregory Sanders)
e963834d2 Light explanation of dynamic federations fields (Gregory Sanders)
8f12b617f s/ConsensusParamEntry/DynaFedParamEntry/ (Gregory Sanders)
6ddf46cde s/m_sbs_wit_limit/m_signblock_witness_limit/ (Gregory Sanders)
1d1cf23fd s/HF_MASK/DYNAFED_HF_MASK/ (Gregory Sanders)
5e2aca1b9 s/d_params/dynafed_params/ (Gregory Sanders)
4829b3a88 signrawtransaction* should use up to date fedpegscript for peg-in signing (Gregory Sanders)
8bd702784 Dynafed RPC support, tests, and deployment for custom chains (Gregory Sanders)
f08756b5d OP_TRUE outputs should be allowed to be segwit-ified by decodescript (Gregory Sanders)
2eded09b6 Have removeForBlock boot transactions when required (Gregory Sanders)
0cfe03bec Expose fedpeg fetching to consensus and mempool internals (Gregory Sanders)
b00515e22 GetTransactionSigOpCost shouldn't need fedpegscript to evaluate (Gregory Sanders)
b096f8dda Add and update startup args for dynafed (Gregory Sanders)
8436710b4 Add unused dynamic genesis block style in chainparams (Gregory Sanders)
f2e3495d6 Create epoch length chainparam (Gregory Sanders)
85467c06c Set default of multi_data_permitted to enforce_pak (Gregory Sanders)
e1474d1bc Correct comment about liquidv1 fedpeg matching template (Gregory Sanders)
4818e5e2b Miner should stop trying to account for old PAK system (Gregory Sanders)
f277ec52f Add miner ability to make dynafed blocks (Gregory Sanders)
f5e46328e ContextualCheckBlockHeader: dynafed doesn't call CheckChallenge (Gregory Sanders)
fb333b3ed Introduce contextual block checks for dynafed (Gregory Sanders)
8f2194c90 Enable pak enforcement at mempool/block level when appropriate (Gregory Sanders)
fac525bac ScriptHasValidPAKProof takes fedpeg as arg (Gregory Sanders)
144d48622 Remove old mempool-booting logic (Gregory Sanders)
1c7782451 Remove standardness checks for PAK (Gregory Sanders)
a306c0c6e Update PAK internals, helper functions (Gregory Sanders)
60d4093eb Disable PAK loading from configuration on init, disable pak test (Gregory Sanders)
5e273e806 Add inactive versionbits dynafed deployment (Gregory Sanders)
1f470d320 ReadBlockFromDisk: do genesis block check before block proof check (Gregory Sanders)
cd5d87cbc Bump last old block version for versonbits due to elements (Gregory Sanders)
86ed316bc Add python implementation of dynafed block serialization (Gregory Sanders)
7ec6c5350 Deserialize merkle proofs without witness, which matters for dynafed (Gregory Sanders)
af485a818 Add fedpegscript-fetching helper (Gregory Sanders)
d1207bdd9 calculate_contract: remove most template checks and assert in preperation for dynafed (Gregory Sanders)
21cf12843 Add note on peg-in sigops (Gregory Sanders)
c37a8fe88 Add dynafed helper functions (Gregory Sanders)
fa1f497a2 Refactor block_proof to support dynafed (Gregory Sanders)
0402da670 Add dynamic federation blockheader fields to chaindb serialization (Gregory Sanders)
ab6e3e37f Add dynamic federations blockheader serialization with HF bit (Gregory Sanders)
f49c0a684 Define dynamic federations primitives (Gregory Sanders)
Pull request description:
Tree-SHA512: dcc7f9f225dcc5921cc325e267e30367283afe4b8d88c9a008dccf72393b35245b50cc48eddce035b2dbbe2a0b669b5027998fc88f30bfc18cf78af7f0a484a4