Commit graph

18647 commits

Author SHA1 Message Date
Steven Roose
ade539cbb4 Don't assume mainchain is Bitcoin 2019-03-21 19:30:52 +00:00
Steven Roose
cf77a238de Update README to Elements Project 2019-03-21 19:29:27 +00:00
Gregory Sanders
753a1ce2a3
Merge #526: [0.17] Add test for superfulous witness record in deserialization
310c4dc Add test for superfulous witness record in deserialization (Gregory Sanders)

Pull request description:

  Backport of 7c1ad7c036

Tree-SHA512: 4f67814e411209ef3424e2ae80bd3c2c4ec92e670742b795c3c79ac7c9eb4be92727472d1611e5dade8710207d47d6157db0b790d62ab8f27c79e7c6141660ae
2019-03-21 15:08:51 -04:00
Gregory Sanders
f9cb345798
Merge #524: [0.17] Make validatepegin default to true if has parent chain
aba54b3 Make validatepegin default to true if has parent chain (Steven Roose)

Pull request description:

Tree-SHA512: 9b28426c0b00c6a31b70dfe906841069a1a3c8725357c3cb5e0d2e7eebe8d8c289033bb74f2b65effe8ff4a51965a60c654557a716a767ca6c7c9cdc13f28e96
2019-03-21 14:54:08 -04:00
Gregory Sanders
310c4dc262 Add test for superfulous witness record in deserialization 2019-03-21 14:06:41 -04:00
Steven Roose
aba54b3f92
Make validatepegin default to true if has parent chain 2019-03-21 17:55:02 +00:00
Gregory Sanders
3c8206a36c
Merge #525: [0.17] Disallow extended encoding for non-witness transactions
e11c6f5 Disallow extended encoding for non-witness transactions (Pieter Wuille)

Pull request description:

  backport of https://github.com/ElementsProject/elements/pull/402 which is a backport of upstream

Tree-SHA512: 01cccbc0d54a9f039ed16c88f1d9ec7ebac3a936fb4a77e664c9103e06bb142741a743ac980887ec16570429ccc0f9614e5b3076084b1c949190b3169844ed7d
2019-03-21 13:37:34 -04:00
Gregory Sanders
406580e2f2
Merge #520: [0.17] Default to elementsregtest, when syncing liquid, find cookie
5273ed5 Default to mainnet cookie for liquidv1 (Gregory Sanders)
8ea52ee Default to elementsregtest (Gregory Sanders)

Pull request description:

  Cookie defaults looking in `regtest` directory currently.

Tree-SHA512: df8e384f12c84e7adf86edcc2d4a96432187ce58b76f19ea347b911988f55177efebcd8f5a5986acfe19044535b27ad896ec3f75a273bae24826e33ba58f40e0
2019-03-21 12:47:09 -04:00
Gregory Sanders
7e3f687b12
Merge #523: [0.17] Fix no wallet build
8fe8485 Disable QT for NO_WALLET build to avoid compile timeout (Gregory Sanders)

Pull request description:

  Times out currently at QT build, really we just use this as a compile test for wallet ifdef macro junk.

Tree-SHA512: bf189908c327a0895cabf4757541e8850749e0d25cc9cfd17ae4266706a67b698894a1b7c56499511ed237e30e5a6660015e1912a798095a4ac2361e05a6ebda
2019-03-21 12:46:08 -04:00
Pieter Wuille
e11c6f5580 Disallow extended encoding for non-witness transactions 2019-03-21 15:50:35 +00:00
Gregory Sanders
8fe8485f5c Disable QT for NO_WALLET build to avoid compile timeout 2019-03-21 11:14:35 -04:00
Gregory Sanders
5273ed5bec Default to mainnet cookie for liquidv1 2019-03-21 10:43:20 -04:00
Gregory Sanders
8ea52eec38 Default to elementsregtest 2019-03-21 10:43:20 -04:00
Gregory Sanders
899690be2f
Merge #522: Fix occasional mempool_packages failure
a88eae1 Fix occasional mempool_packages failure (Steven Roose)

Pull request description:

Tree-SHA512: 89c3880a184294b5708304c9add8936b65572af8f03033505d1961da58f705776a8f42a29e8815c0eab3ca84f4dac36bc1c22ab5697cf0675ce50ba4d23b00ff
2019-03-21 10:05:22 -04:00
Steven Roose
a88eae1934
Fix occasional mempool_packages failure 2019-03-21 13:05:46 +00:00
Gregory Sanders
bfd2055d5f
Merge #508: Let's try to have more builds complete within allotted time
c84c95b Split up DEBUG build into functional and unit runs (Gregory Sanders)
09feb14 Disable unit tests for 32-bit builds to avoid Travis 10 min timeout (Gregory Sanders)

Pull request description:

  secp-zkp unit tests takes over 10 minutes, which triggers a Travis timeout.

  Until we fix it upstream it's probably better to know it compiles and maybe passes functional tests.

  DEBUG=1 builds are also timing out, so split up concerns into two different runs.

Tree-SHA512: 50dfba122085a9ff465be3685fbf1290d2ab651a2b49e2beeea020f47c6b17fb5328b16c648cf4986aeb03bad8d686e12b550cb5036b9e0bb85580f7e916e1eb
2019-03-21 08:40:24 -04:00
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
Gregory Sanders
c84c95bcd9 Split up DEBUG build into functional and unit runs 2019-03-21 07:06:39 -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
09feb14605 Disable unit tests for 32-bit builds to avoid Travis 10 min timeout 2019-03-21 07:00:42 -04: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