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
|
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 |
|
Gregory Sanders
|
b00515e223
|
GetTransactionSigOpCost shouldn't need fedpegscript to evaluate
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
b096f8ddac
|
Add and update startup args for dynafed
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
8436710b4a
|
Add unused dynamic genesis block style in chainparams
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
f2e3495d60
|
Create epoch length chainparam
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
85467c06ce
|
Set default of multi_data_permitted to enforce_pak
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
e1474d1bc7
|
Correct comment about liquidv1 fedpeg matching template
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
4818e5e2b4
|
Miner should stop trying to account for old PAK system
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
f277ec52f1
|
Add miner ability to make dynafed blocks
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
f5e46328ee
|
ContextualCheckBlockHeader: dynafed doesn't call CheckChallenge
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
fb333b3ed8
|
Introduce contextual block checks for dynafed
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
8f2194c901
|
Enable pak enforcement at mempool/block level when appropriate
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
fac525bac6
|
ScriptHasValidPAKProof takes fedpeg as arg
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
144d486220
|
Remove old mempool-booting logic
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
1c7782451a
|
Remove standardness checks for PAK
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
a306c0c6ec
|
Update PAK internals, helper functions
|
2019-09-06 10:06:44 -04:00 |
|
Gregory Sanders
|
60d4093eb9
|
Disable PAK loading from configuration on init, disable pak test
|
2019-09-06 10:06:44 -04:00 |
|