624a6153f Squashed 'src/secp256k1/' changes from 53ad841..43dd1f4 (Gregory Sanders)
Pull request description:
Type mismatch may have been causing rangeproof verification failure in secp unit tests on 32 bit systems.
The rangeproof unit tests also run far too long, so iterations are cut down to avoid a 10 minute Travis timeout.
Tree-SHA512: a23ea2db3338d122fef9e05527f88850cc71f597d1afca6bad5978312587effa945effe7d61866d88a2e576ea14a177ca878f524f6fb74bdce8d0ae310e898c1
43dd1f4 Merge pull request #40 from instagibbs/size_t
6532fa0 Merge pull request #39 from instagibbs/more_builds
2b2429d rangeproof: reduce iteration count in unit tests
12b0e5d Enable more builds with rest of experimental flags
8c444ee use proper types for rangeproof min/max
git-subtree-dir: src/secp256k1
git-subtree-split: 43dd1f4fe732268734f0b4efd8e99ea4ff1e49a1
ff32b17c5 elements style genesis block commits to signblockscript in CommitToArguments (Gregory Sanders)
3169d380a added blocksign functional test (Gregory Sanders)
d78f0763a Signed blocks by default for custom chains (Gregory Sanders)
8723debb3 RPC support for signed blocks, compact blocks infrastructure (Gregory Sanders)
5877da8ed Expose signed block information over RPC when active (Gregory Sanders)
0d7e0f989 Miner support for signed blocks (Gregory Sanders)
0e473228e Expose signed blocks in validation.cpp (Gregory Sanders)
cd4e55391 CProof (re)setting and validation helper functions (Gregory Sanders)
2a3dcde9a Set genesis block CProof to signblockscript if signed blocks active (Gregory Sanders)
6ad13bbbe Signed blocks have work of 1 each (Gregory Sanders)
6856bebb9 Have chainstate store CProof for each block header (Gregory Sanders)
60f70620c Define block signatures, active IFF g_signed_blocks active (Gregory Sanders)
f7c5cf7d9 Add not yet enforced chainparam arguments for signed blocks (Gregory Sanders)
7bc578a39 Add SimpleSignatureChecker, SCRIPT_NO_SIGHASH_BYTE validation flag (Gregory Sanders)
6c9144698 Expose check_pow for compact blocks, helper to get available Tx list (Gregory Sanders)
Pull request description:
Squashed and rebased version of: https://github.com/ElementsProject/elements/pull/452 on my own repo.
Adds `-con_signed_blocks` which enables signed block mode with `-signblockscript` defining the encumbrance, which replaces pow-based data in block headers with that script. `-con_max_block_sig_size` is a novel argument compared to `elements-0.14.1`, which caps the total size of the signature in the block header. This avoids all number of DoS concerns and simplifies the miner code.
This also creates signed block RPCs, as well as compact block RPCs for blocksigner use.
Tree-SHA512: af2624ff8d456673c40fba283f3cdbd2559b528b87ff9b10335f5fb893ff7d7b286655c9856bb23f84b5722c7ad0091e77208c89c18a6f71b1cbd18076841071
c00d83f Set walletrbf default to 1 (Gregory Sanders)
0853a23 Make it possible to unconditionally RBF with mempoolreplacement=fee,-optin (Luke Dashjr)
d0cccad Recognise temporary REPLACE_BY_FEE service bit (Luke Dashjr)
Pull request description:
Setting `-mempoolreplacement=fee,-optin` will cause the node to honor any RBF replacements even if they had the opt-out flags set.
This also sets the default for the wallet to create bip125-signaling transactions.
Tree-SHA512: 04ecc010b6255b5346357f831609702a8a33531fb21e83e061b19945b4a83afe2e5bd82b6602e04394871d9f0c074c54847ff4616930bcd2c17f3c3ddd808fae