Commit graph

13701 commits

Author SHA1 Message Date
Gregory Sanders
c79ad5fe0c getnewblockhex: Take data push for arbitrary data in block coinbase commitment 2019-10-28 14:22:37 -04:00
Gregory Sanders
7f0bd205ce Reduce min relay to 100 sat/vkB 2019-10-22 12:31:43 -04:00
Gregory Sanders
2f013fde64 Disallow implicit conversion for CFeeRate constructor 2019-10-22 12:31:35 -04:00
Gregory Sanders
14463785ad feefilter: Compute the absolute fee rather than stored rate to match mempool acceptance logic 2019-10-22 12:31:31 -04:00
Andrew Chow
f72e57a3af Use Elements PSBT magic when in Elements mode
Elements PSBTs are incompatible with normal PSBTs due to differing transaction
formats, so use different magic bytes to distinguish.
2019-10-14 10:25:23 -04:00
Andrew Chow
8be2a9e355 Change Proprietary types to use the method specified in BIP 174 2019-10-14 10:25:20 -04:00
Gregory Sanders
f7a41c5ff2 finalizecompactblock: Fix it, make test easier to fail 2019-10-11 09:26:32 -04:00
Gregory Sanders
8bbd5a3aa8 Fix finalizecompactblock filling in more found txs from mempool 2019-10-10 12:51:13 -04:00
Gregory Sanders
244cccd09b Take mempool locks when doing compact block RPC calls touching mempool 2019-10-09 15:30:45 -04:00
Gregory Sanders
5c76fc5e9a
Update initpegoutwallet help to describe derivation paths properly. 2019-09-30 18:57:57 +02:00
Steven Roose
651b28c4ca
Fix other bug in initpegoutwallet descriptor parsing 2019-09-30 18:57:51 +02:00
Steven Roose
bf86c44666
Temp disable pegout descriptors that are not pkh() 2019-09-30 18:57:46 +02:00
Steven Roose
19c477edea
Support descriptors with checksums in initpegoutwallet 2019-09-30 18:57:41 +02:00
Gregory Sanders
8d043f37af
Dynafed blocks must have sighash byte
It is not included in the signature hash.
The sighash byte MUST be SIGHASH_ALL to avoid
malleability.
2019-09-30 01:21:06 +02:00
Gregory Sanders
4afb69f994
Merge #718: [0.18 backport] backport of #717
03150229c Bump _CLIENT_VERSION_BUILD (Steven Roose)
500a3731a Add legacy pak arg for custom chains (Gregory Sanders)

Pull request description:

  backport of #717

Tree-SHA512: 01e20fd612ef9647b005686fc571ccdb8cf7897f8198b336e8f96c914e24fae96344e94bdf8ff96887568e87849538ef816d4a21ed4fbe3c3e6931d5ee7ae9ea
2019-09-27 10:05:32 -04:00
Gregory Sanders
9e1c98eaa1
Don't activate dynafed like custom chains 2019-09-27 10:40:20 +02:00
Gregory Sanders
200a392d85
Fix liquidv1 sync
A single field wasn't given a positive value which
meant it considers no peg-ins to be valid.
2019-09-27 10:40:13 +02:00
Gregory Sanders
500a3731a6
Add legacy pak arg for custom chains 2019-09-25 16:09:47 +02:00
Gregory Sanders
817ebcd073
sendtomainchain_pak: Fix minimum send amount message 2019-09-11 14:46:42 +01:00
Gregory Sanders
08eee04be8
RPC: Fix tweakfedpegscript for dynafed, add basic test 2019-09-10 17:56:10 +01:00
Gregory Sanders
f11f066db4 Generalize the number of epochs old a peg-in can be and still be valid 2019-09-06 10:24:00 -04:00
Gregory Sanders
d47a7e0814 feature_fedpeg.py: Run in various dynafed transition settings 2019-09-06 10:24:00 -04:00
Gregory Sanders
5b2c79e49a Fix compilation of raw transaction operations with peg-in inputs 2019-09-06 10:24:00 -04:00
Gregory Sanders
0a44ff67a7 p2sh-wrap peg-in addresses if fedpeg_program is p2sh-wrapped 2019-09-06 10:24:00 -04:00
Gregory Sanders
be4606970e Refactor IsPAKValid to not magically acquire chainparams 2019-09-06 10:24:00 -04:00
Gregory Sanders
c6070be5a2 Remove script/standard dependence of ContextualCheckDynaFedHeader 2019-09-06 10:24:00 -04:00
Gregory Sanders
d9431c092a Remove dyanfed.cpp's dependency on script/standard.h 2019-09-06 10:24:00 -04:00
Gregory Sanders
a7dc478ba2 After a reorg, boot all peg-ins and peg-outs from mempool 2019-09-06 10:24:00 -04:00
Gregory Sanders
9a3b9b9cfd Enforce PAK checks on dynafed proposals 2019-09-06 10:24:00 -04:00
Gregory Sanders
ffec60954d Replace fedpeg template init check for pak one 2019-09-06 10:24:00 -04:00
Gregory Sanders
04cadcd689 fixup proposal checks 2019-09-06 10:24:00 -04:00
Gregory Sanders
0a21f531ae getnewblockhex fills out proposal fedpeg program 2019-09-06 10:24:00 -04:00
Gregory Sanders
1892b67f99 Make future parent segwit versions in fedpegscripts be vacuously true 2019-09-06 10:24:00 -04:00
Gregory Sanders
1122fc28af Add dynafed proposal restrictions 2019-09-06 10:24:00 -04:00
Gregory Sanders
69e881a597 Add description of NextBlockIsParameterTransition 2019-09-06 10:24:00 -04:00
Gregory Sanders
a7bb36f6cf Remove misleading comment for ContextualCheckDynaFedHeader use 2019-09-06 10:24:00 -04:00
Gregory Sanders
b7aaf4be9e Add fedpeg_program field in dynafed header 2019-09-06 10:24:00 -04:00
Gregory Sanders
cc2f57a960 CreatePAKListFromExtensionSpace just uses FromBytes for correctness 2019-09-06 10:24:00 -04:00
Gregory Sanders
7e4f88b688 Remove short-circuit dynafed vote fail for readability 2019-09-06 10:24:00 -04:00
Gregory Sanders
285daab400 s/m_dyna_params/m_dynafed_params/ 2019-09-06 10:24:00 -04:00
Gregory Sanders
e963834d27 Light explanation of dynamic federations fields 2019-09-06 10:24:00 -04:00
Gregory Sanders
8f12b617fc s/ConsensusParamEntry/DynaFedParamEntry/ 2019-09-06 10:24:00 -04:00
Gregory Sanders
6ddf46cde1 s/m_sbs_wit_limit/m_signblock_witness_limit/ 2019-09-06 10:24:00 -04:00
Gregory Sanders
1d1cf23fd2 s/HF_MASK/DYNAFED_HF_MASK/ 2019-09-06 10:24:00 -04:00
Gregory Sanders
5e2aca1b9d s/d_params/dynafed_params/ 2019-09-06 10:24:00 -04:00
Gregory Sanders
4829b3a88c signrawtransaction* should use up to date fedpegscript for peg-in signing 2019-09-06 10:24:00 -04:00
Gregory Sanders
8bd702784b Dynafed RPC support, tests, and deployment for custom chains 2019-09-06 10:24:00 -04:00
Gregory Sanders
f08756b5d7 OP_TRUE outputs should be allowed to be segwit-ified by decodescript 2019-09-06 10:06:44 -04:00
Gregory Sanders
2eded09b6a Have removeForBlock boot transactions when required 2019-09-06 10:06:44 -04:00
Gregory Sanders
0cfe03bec4 Expose fedpeg fetching to consensus and mempool internals 2019-09-06 10:06:44 -04:00