Commit graph

18629 commits

Author SHA1 Message Date
Gregory Sanders
4ea4401e93
Merge #516: [0.17] Fix progress reporting issue
5b8c79a Fix progress reporting issue (Steven Roose)

Pull request description:

  Based on https://github.com/ElementsProject/elements/pull/515

  Reimplementation of https://github.com/Blockstream/liquid/pull/6

Tree-SHA512: 292be614802d0ca74bc9a19080bce46812bc4d5c386ed01f87e74898830946276359100d404868dda8fd4b4087699a9be804370a8ad387c7d92f4a3f5572d0b0
2019-03-21 08:09:25 -04:00
Gregory Sanders
efd6164af2
Merge #518: [0.17] Manual pak RPC calls
3f6f7b3 Add getpegoutkeys RPC call (Gregory Sanders)
4d486e6 add generatepegoutproof RPC call (Gregory Sanders)

Pull request description:

  These aid in integration testing allowing the caller to sends funds wherever.

Tree-SHA512: 3eaade83256df892604974a6f528d1fbadaae8f4e5c382a58ca74a1f422432c182ae64aa047306d4942eb3d7880f035e38cc3f9eccb8aa7d872345e7544ef81e
2019-03-21 08:01:47 -04:00
Gregory Sanders
928c756171
Merge #517: [0.17] backport "Validation: stop logging fake pow data"
a657da0 Validation: stop logging fake pow data (Sjors Provoost)

Pull request description:

  Based on #515.

  Backport of https://github.com/Blockstream/liquid/pull/8

Tree-SHA512: 0f81430ca9905c4aa9b9e50ee3cd5a856132cc641dbc3346f982c2d5a023ab83cf68b64a3008f1adbda52d277d4357ed2d89e8ed6335c6288294fe5275743ba0
2019-03-21 07:11:12 -04:00
Gregory Sanders
add62e477b
Merge #519: [0.17] backport "Remove comma for claimpegin in command line help info "
831319e Remove comma for `claimpegin` in command line help info (Stefan Liu)

Pull request description:

  https://github.com/Blockstream/liquid/pull/4/commits

Tree-SHA512: 5af989b97582dc9eca7af1e591222019a9715bb8ee073aea3b2cb37ce2225005fb704b29e5895dcfc51f56a64fbfe87015920fa973c9999f19d17a5e8028001b
2019-03-21 07:09:57 -04:00
Steven Roose
5b8c79ac9d
Fix progress reporting issue
Reimplementation of https://github.com/Blockstream/liquid/pull/6
2019-03-21 11:01:16 +00:00
Gregory Sanders
3f6f7b3f5a Add getpegoutkeys RPC call 2019-03-21 06:55:09 -04:00
Gregory Sanders
4d486e6a7b add generatepegoutproof RPC call 2019-03-21 06:45:39 -04:00
Stefan Liu
831319e264
Remove comma for claimpegin in command line help info
When calling this method(`claimpegin`) with liquid-cli, we don't commas between parameters.
2019-03-20 23:07:09 +00:00
Sjors Provoost
a657da02a7
Validation: stop logging fake pow data 2019-03-20 23:05:15 +00:00
Steven Roose
e9f6e82bbf
Merge #515: [0.17] Cleaned up CA
ac642808a Set correct ports for Liquid network params (Steven Roose)
6491b4da5 Use upstream Shuffle which doesn't cause DEBUG panic (Gregory Sanders)
de56cd82b move fee estimation test to extended tests, takes too long (Gregory Sanders)
1f062da26 Fix compilation of certain builds (Gregory Sanders)
7d86c7d97 remove leftover asset debug printing (Gregory Sanders)
1fec77f46 Add elements transaction unit test data to EXTRA_DIST (Gregory Sanders)
665d9ebe0 Whitespace and tab linting (Gregory Sanders)
30552459d Spelling linter (Gregory Sanders)
0148024dd Functional test linting (Gregory Sanders)
242515fd6 LogPrints need \n (Gregory Sanders)
b4c9ccb8f remove duplicate includes in test_bitcoin (Gregory Sanders)
8371cfcda Fixup blind.h guard (Gregory Sanders)
bc9a6104a Fixup wallet log print (Gregory Sanders)
f56de12cd Remove all but one circular dep: coinselection <-> wallet (Gregory Sanders)
5c3481a91 Lint RPC args (Gregory Sanders)
04a8f2e05 Document blindedprefix arg (Gregory Sanders)
a687dd9a3 Add assets and issuance functional tests (Steven Roose)
96af43b18 Add confidential transactions functional test (Steven Roose)
39020cdc7 Adapt existing functional tests to CA (Steven Roose)
6113bf89c [BROKEN] Add fee outputs to functional tests (Steven Roose)
b48aea828 [BROKEN] Account for assets in all balance inspection in tests (Steven Roose)
43f8b459d [BROKEN] Adapt bitcoin_functional tests to CA (Steven Roose)
5f9f578ee [BROKEN] Unbreak Qt code after CA (Steven Roose)
f7920d77e [BROKEN] Add issuance wallet RPCs (Steven Roose)
a361dda7a [BROKEN] Add CA wallet RPCs (Steven Roose)
b6397d695 [BROKEN] Adapt wallet unit tests to CA (Steven Roose)
d3ab44de4 [BROKEN] Adapt wallet to CA (Steven Roose)
49e808373 [BROKEN] Add raw issuance RPCs (Steven Roose)
a03239dd3 [BROKEN] Add raw tx RPCs for CA (Steven Roose)
6038c37c7 [BROKEN] Add unit test for blinding logic (Steven Roose)
aa33202bd [BROKEN] Add blinding logic (Steven Roose)
cd5662664 [BROKEN] Adapt existing unit tests to CA (Steven Roose)
f4553d4b6 [BROKEN] Adapt existing benchmarks to CA (Steven Roose)
703db5b42 [BROKEN] Adapt existing RPCs to CA (Steven Roose)
6493ad902 Adapt bitcoin-tx to CA (Steven Roose)
0b5066143 [BROKEN] Add CA validation (Steven Roose)
d53479c9f [BROKEN] Introduce CA in data structures (Steven Roose)
04d06917d Rename con_elementswitness to con_elementsmode (Steven Roose)
484d83c37 Add new arguments (Steven Roose)
fde9fe101 Add basic issuance boilerplate (Steven Roose)
f81122f94 Add asset and value blinding functionality (Steven Roose)
8b8256d9f Add ConfidentialCommitment-based types (Steven Roose)
d0322f7f7 Add initial issuance boilerplate (Steven Roose)
fd411bb17 Enable surjection proof module in secp256k1-zkp (Steven Roose)
84954c811 Add CAssetsDir (Steven Roose)
10773c6c1 Add CAsset and CAmountMap (Steven Roose)
14af0b653 Implement blech32 addresses, expose over RPC (Gregory Sanders)
0f2878036 Add blech32 implementation and API (Steven Roose)
9cb2fa051 Add blech32 python implementation with diff annotation with segwit_addr.py (Gregory Sanders)
17a22f149 Add support for blinded addresses (Steven Roose)
00fba7771 Add liquidv1 chainparams (Gregory Sanders)
045e61569 Add CKey::ECDH (Steven Roose)
aa375e66c Replace CScriptID and CKeyID in CTxDestination with dedicated type (Gregory Sanders)
3e7cff1e4 Disable tests that are not relevant for Elements (Steven Roose)
3a0b3b70a Add tweakfedpeg and compatbility test (Gregory Sanders)
36a5d5d0f Fix bug in calculate_contract for Liquid (Steven Roose)
77ba5eec4 RPC params convertion cleanup (Steven Roose)
ce19a5f6c Add secure reporting document, link in README (Gregory Sanders)

Pull request description:

  Cleaned up version of https://github.com/ElementsProject/elements/pull/503.

Tree-SHA512: fb82a182a49384dd4be5838c147f6049f3b554f6d861681df46d83819c39c460b469cb68a8f6c47a2e8d3c17e439fea8818f8bca03b200027e6a127875376892
2019-03-20 22:56:47 +00:00
Steven Roose
ac642808ab
Set correct ports for Liquid network params 2019-03-20 22:10:03 +00:00
Gregory Sanders
6491b4da5d Use upstream Shuffle which doesn't cause DEBUG panic 2019-03-20 16:59:03 -04:00
Gregory Sanders
de56cd82b6 move fee estimation test to extended tests, takes too long 2019-03-20 16:58:47 -04:00
Gregory Sanders
1f062da26c Fix compilation of certain builds 2019-03-20 13:20:49 -04:00
Gregory Sanders
7d86c7d976 remove leftover asset debug printing 2019-03-20 13:01:18 -04:00
Gregory Sanders
1fec77f467 Add elements transaction unit test data to EXTRA_DIST 2019-03-20 11:57:47 -04:00
Gregory Sanders
665d9ebe0e Whitespace and tab linting 2019-03-20 11:19:07 -04:00
Gregory Sanders
30552459dc Spelling linter 2019-03-20 11:05:49 -04:00
Gregory Sanders
0148024dd8 Functional test linting 2019-03-20 11:00:50 -04:00
Gregory Sanders
242515fd63 LogPrints need \n 2019-03-20 10:32:08 -04:00
Gregory Sanders
b4c9ccb8fb remove duplicate includes in test_bitcoin 2019-03-20 10:26:26 -04:00
Gregory Sanders
8371cfcdad Fixup blind.h guard 2019-03-20 10:19:19 -04:00
Gregory Sanders
bc9a6104a9 Fixup wallet log print 2019-03-20 10:16:12 -04:00
Gregory Sanders
f56de12cdd Remove all but one circular dep: coinselection <-> wallet 2019-03-20 10:10:43 -04:00
Gregory Sanders
5c3481a91e Lint RPC args 2019-03-20 09:53:33 -04:00
Gregory Sanders
04a8f2e051 Document blindedprefix arg 2019-03-20 09:32:21 -04:00
Steven Roose
a687dd9a34
Add assets and issuance functional tests 2019-03-20 12:06:05 +00:00
Steven Roose
96af43b185
Add confidential transactions functional test 2019-03-20 12:06:04 +00:00
Steven Roose
39020cdc7b
Adapt existing functional tests to CA 2019-03-20 12:06:03 +00:00
Steven Roose
6113bf89cf
[BROKEN] Add fee outputs to functional tests 2019-03-20 12:06:02 +00:00
Steven Roose
b48aea8284
[BROKEN] Account for assets in all balance inspection in tests 2019-03-20 12:06:01 +00:00
Steven Roose
43f8b459dc
[BROKEN] Adapt bitcoin_functional tests to CA 2019-03-20 12:06:00 +00:00
Steven Roose
5f9f578ee6
[BROKEN] Unbreak Qt code after CA 2019-03-20 12:05:59 +00:00
Steven Roose
f7920d77ec
[BROKEN] Add issuance wallet RPCs 2019-03-20 12:05:58 +00:00
Steven Roose
a361dda7a3
[BROKEN] Add CA wallet RPCs 2019-03-20 12:05:57 +00:00
Steven Roose
b6397d6959
[BROKEN] Adapt wallet unit tests to CA 2019-03-20 12:05:56 +00:00
Steven Roose
d3ab44de44
[BROKEN] Adapt wallet to CA 2019-03-20 12:05:55 +00:00
Steven Roose
49e808373e
[BROKEN] Add raw issuance RPCs 2019-03-20 12:05:54 +00:00
Steven Roose
a03239dd31
[BROKEN] Add raw tx RPCs for CA 2019-03-20 12:05:53 +00:00
Steven Roose
6038c37c7e
[BROKEN] Add unit test for blinding logic 2019-03-20 12:05:52 +00:00
Steven Roose
aa33202bda
[BROKEN] Add blinding logic 2019-03-20 12:05:51 +00:00
Steven Roose
cd56626647
[BROKEN] Adapt existing unit tests to CA 2019-03-20 12:05:50 +00:00
Steven Roose
f4553d4b6d
[BROKEN] Adapt existing benchmarks to CA 2019-03-20 12:05:49 +00:00
Steven Roose
703db5b42f
[BROKEN] Adapt existing RPCs to CA 2019-03-20 12:05:48 +00:00
Steven Roose
6493ad902a
Adapt bitcoin-tx to CA 2019-03-20 12:05:47 +00:00
Steven Roose
0b5066143d
[BROKEN] Add CA validation 2019-03-20 12:05:46 +00:00
Steven Roose
d53479c9ff
[BROKEN] Introduce CA in data structures 2019-03-20 12:05:45 +00:00
Steven Roose
04d06917d2
Rename con_elementswitness to con_elementsmode
It will have effect on more than just witness structure from now on.
2019-03-20 12:05:44 +00:00
Steven Roose
484d83c371
Add new arguments 2019-03-20 12:05:43 +00:00
Steven Roose
fde9fe1010
Add basic issuance boilerplate 2019-03-20 12:05:42 +00:00