Commit graph

30 commits

Author SHA1 Message Date
Andrew Poelstra
9cc26a716a Merge 5b2fe5563b into merged_master (Elements PR #642)
FIXME: we disable standardness checks for the non-PAK node in the PAK tests.
This is because of a bug in Elements which causes non-PAK nodes to reject
pegouts for standardness reasons. Need to fix it after the rebase.
2020-11-09 21:20:21 +00:00
Andrew Poelstra
bb82340205 Merge 7b302eb99d into merged_master (Elements PR #663) 2020-11-06 15:20:17 +00:00
Andrew Poelstra
daa130fe7b Merge ee642f5862 into merged_master (Elements PR #658) 2020-11-06 15:20:13 +00:00
Andrew Poelstra
041d9ca6c3 Merge 0e9cb2d24d into merged_master (Bitcoin PR #15773) 2020-10-28 15:28:06 +00:00
Andrew Poelstra
67d718b048 Merge a74d588f21 into merged_master (Bitcoin PR #14954) 2020-10-27 22:32:24 +00:00
Gregory Sanders
b105ff45e5 feature_fedpeg.py: Run in various dynafed transition settings 2019-09-05 10:51:09 -04:00
Gregory Sanders
50a2b599ca After a reorg, boot all peg-ins and peg-outs from mempool 2019-09-05 10:51:09 -04:00
Steven Roose
56358b8c0e
Add tests for blinding pegin transactions 2019-06-13 17:03:50 +01:00
Gregory Sanders
25b2674fd6 Expose pegin confirmation depth parameter via getsidechaininfo 2019-06-07 11:56:08 +02:00
Steven Roose
efe4e8ff04
MERGE-FIX: Fix functional tests 2019-05-24 17:11:47 +01:00
Steven Roose
dc900eb7d7
Merge branch 'master' into catchup 2019-05-14 16:49:18 +01:00
Steven Roose
5492cefcc6
MERGE-FIX: Fix fedpeg and pak tests for 0.18.0 2019-05-14 15:09:20 +01:00
Steven Roose
2939b5d41e
Make fedpeg test compatible with bitcoind v0.18.0 parent 2019-05-14 13:36:15 +01:00
Steven Roose
52ef28305f
Improve the fedpeg test with extra double claim tests
- changes the expected behavior of claimpegin to fail on double spend
- adds extra test to make sure a block with a double spend is also not
  accepted:
  1. a tx with two identical pegin inputs (mempool & block)
  2. a tx claiming a pegin that another mempool tx also claims
  3. a tx claiming a pegin that a confirmed tx already claimed (mempool
     & block)
2019-05-08 15:50:03 +01:00
Gregory Sanders
b919ca3d93 fedpeg test makes sure claim_script is wpkh 2019-05-01 10:54:06 -04:00
Gregory Sanders
ac98ca4eb1 python test support for issuance and peg-in serialization and data 2019-04-12 11:50:01 -04:00
Gregory Sanders
23095087f6 feature_fedpeg.py: change sidechain's parent bech32 prefix to match 2019-04-12 11:50:01 -04:00
Steven Roose
6c4f6efb64
Merge #563: Some more standard pegout testing
30eb323e9 ensure pak wallet is returning right kind of addresses (Gregory Sanders)
9e56c87ec have validateaddress give useful parent chain addr info (Gregory Sanders)
894d76e7c test all single-key pegout address types (Gregory Sanders)
40a62a151 DestinationEncoder: don't assert when a parent destination is unblinded (Gregory Sanders)

Pull request description:

  Added more utility to `validateaddress` for parent addresses by returning an additional object `parent_address_info`, then used it to enhance various tests.

Tree-SHA512: 941ef1dc8b7469c3274a50907ea788fe520398809d5c4ac901ef057dfa688f63b45f0be298de14c07c250015d02de8f2f4687e430da121fba759e3879823947f
2019-04-12 15:34:40 +01:00
Steven Roose
8fd8a45011
Merge #568: Adapt Elements default adress prefix bytes to elements-0.14 style
91294ca01 Adapt Elements default adress prefix bytes to elements-0.14 style (Gregory Sanders)
410d5fa08 sendtomainchain_base should be decoding parent destination (Gregory Sanders)

Pull request description:

  Also chose `ert` as bech32 hrp, just to make it distinct.

  Clustered the various address parameters for ease of the reader.

  resolves https://github.com/ElementsProject/elements/issues/567

Tree-SHA512: aae4b31b0c5ead9801dad13a50ddfc934216df783d6294bb4e2ae515bba27960a9643ccaae87a60c9637c44aeb6d4b0329eeb70846b07e6e88e9133edcd74315
2019-04-11 17:25:33 +01:00
Gregory Sanders
91294ca01a Adapt Elements default adress prefix bytes to elements-0.14 style 2019-04-10 16:08:39 -04:00
Gregory Sanders
8b718d25dc Turn off mempool consistency check in fedpeg test to avoid assert 2019-04-05 12:50:03 -04:00
Gregory Sanders
894d76e7c8 test all single-key pegout address types 2019-04-04 11:48:48 -04:00
Steven Roose
298c2fb482
Merge #538: Enforce coinbase maturity on bitcoin peg-ins
5acc42e4e feature_fedpeg.py: remove the spam output (Gregory Sanders)
870e41609 Enforce coinbase maturity on bitcoin peg-ins (Gregory Sanders)

Pull request description:

  resolves https://github.com/ElementsProject/elements/issues/14

  Technically a softfork but not really since the elements chain would eventually become valid anyways.

Tree-SHA512: bfdf404f7056e6b16adde3a82b0e11839b921fd08063ae6415d207b553e1a19c5f5a76cb308af1ca63164c001eb59b5874fe33160f7bf87061a6a4a507aa9241
2019-04-01 10:04:07 +01:00
Gregory Sanders
5acc42e4eb feature_fedpeg.py: remove the spam output 2019-03-28 16:53:11 -04:00
Gregory Sanders
870e41609e Enforce coinbase maturity on bitcoin peg-ins 2019-03-28 16:27:18 -04:00
Gregory Sanders
adcc2d2ada Re-enable no wallet functional tests 2019-03-26 11:48:16 -04:00
Steven Roose
2a7039f13d
Add Travis fedpeg test with downloaded bitcoind 2019-03-25 11:21:06 +00:00
Steven Roose
39020cdc7b
Adapt existing functional tests to CA 2019-03-20 12:06:03 +00:00
Gregory Sanders
4202671221 MERGE FIX: spelling linter fixes 2019-01-31 10:55:03 +00:00
Steven Roose
d358364a36
Integration test for pegins and pegouts 2019-01-02 18:46:07 +01:00