Commit graph

20732 commits

Author SHA1 Message Date
Steven Roose
b104f95651
Undo default signalling behavior for dynafed unless enabled 2021-05-07 13:45:54 +02:00
Steven Roose
2665406602
Merge #973: [elements-0.18] Bump version to 0.18.1.11
1c5086bd83 Bump version to 0.18.1.11 (Steven Roose)

Pull request description:

  Pending on inclusion of https://github.com/ElementsProject/elements/pull/972 and https://github.com/ElementsProject/elements/pull/971.

Tree-SHA512: 34a2c14b4e540b420ddb6d0149713068472011ba8c090502843afc20cb36429245fb3bc3de57a41bee28bdaedb3da6c67f2fd01a3db9c5a5ef1351a086ac423d
2021-03-16 17:12:16 +00:00
Steven Roose
e804229e3f
Merge #972: [elements-0.18] Update the copyright year to 2021
52cc9b507f Update the copyright year to 2021 (Philippe McLean)

Pull request description:

  Backport of #966.

Tree-SHA512: 9e343c9c16efd221560e9ad6a32491df8642e19cc67dab4bf4fa383d4f6bec1f238e16c0467934018d4237f5990ed69d53f37986d8338b099a4deb7914d34fb8
2021-03-16 17:11:09 +00:00
Steven Roose
67358f80a7
Merge #971: [elements-0.18] Specify the dynafed epoch length for liquidv1
92ae1f17b6 Specify the dynafed epoch length for liquidv1 (Steven Roose)

Pull request description:

  Backport of #970.

Tree-SHA512: 59769d0b57aa42d3333e38758307a08531560f524b7ebd75797e4b56def6aacf1fd51e97ac08877100a41cfa1724bde424a4342bff5086d7395f5947c745ae20
2021-03-16 17:10:33 +00:00
Steven Roose
1c5086bd83
Bump version to 0.18.1.11 2021-03-15 17:34:53 +00:00
Philippe McLean
52cc9b507f
Update the copyright year to 2021 2021-03-15 17:32:38 +00:00
Steven Roose
92ae1f17b6
Specify the dynafed epoch length for liquidv1 2021-03-15 17:30:46 +00:00
Steven Roose
3b5961d513
Merge #965: [elements-0.18] Bump version to 0.18.1.10
89dce1b4e Bump version to 0.18.1.10 (Steven Roose)

Pull request description:

Tree-SHA512: 4a1b60fd0e9e4da63a1721e8bdfc4d2e34bda0490b5ec6b7f2b8a5038363a96e1a26341ae2d77b2918309830630513e0bcfe4ed4b1fd39dd90baa53be23fcc47
2021-03-04 13:28:47 +00:00
Steven Roose
89dce1b4ec
Bump version to 0.18.1.10 2021-03-03 11:35:38 +00:00
Steven Roose
e163fd06ce
Merge #963: [elements-0.18] Add SIGHASH_RANGEPROOF support
4ace925c5 tests: Add test feature_sighash_rangeproof.py (Steven Roose)
559f1d15a Add SIGHASH_RANGEPROOF support (Steven Roose)
cb2d10341 Add set_wif to test frameworks's ECKey (Steven Roose)

Pull request description:

  Backport of #960.

Tree-SHA512: fb97696429c2b7ad101fafcce22d1e9f0bb6450f5c3252dc3cf0ca929b9ac8f63978c9b7115e2f37445b3fff6cae0878f076580256b4333086b020bfb5c99e7a
2021-03-03 11:31:35 +00:00
Steven Roose
da80f52359
Merge #962: [elements-0.18] Some minor dynafed improvements
868e92f78 Add two missing dynafed fields to getblockchaininfo (Steven Roose)
ae54a1bad dynafed: Support changing mainnet dynafed activation (Steven Roose)
0f9b1a2ed dynafed: Only verify proposed parameters if they differ from current (Steven Roose)

Pull request description:

  Backport of #958.

Tree-SHA512: d3f809e466b98f48ba76b8deacc1fc7516440089cd9146a94e9b53ef0dc20f9e53af88cc9edc507de6ccb2da74bf83ef3722f1ab81bb385e2b9a567a4d1f7e99
2021-03-03 10:51:56 +00:00
Steven Roose
4ace925c55
tests: Add test feature_sighash_rangeproof.py 2021-03-02 16:19:54 +00:00
Steven Roose
559f1d15a3
Add SIGHASH_RANGEPROOF support 2021-03-02 16:19:53 +00:00
Steven Roose
cb2d10341a
Add set_wif to test frameworks's ECKey 2021-03-02 16:19:51 +00:00
Steven Roose
868e92f78c
Add two missing dynafed fields to getblockchaininfo 2021-03-02 15:34:01 +00:00
Steven Roose
ae54a1bad4
dynafed: Support changing mainnet dynafed activation
This should obviously only be done by blocksigners. The flag used is not
documented.
2021-03-02 15:34:00 +00:00
Steven Roose
0f9b1a2ed1
dynafed: Only verify proposed parameters if they differ from current
This allows the initial relaxed restriction on non-segwit fedpeg
programs to be extended as long as the fedpeg program is not changed
while the block signing parameters can be changed.
2021-03-02 15:33:58 +00:00
Steven Roose
af1bef5c01
Merge #920: [0.18] Bump version to 0.18.1.9
8be8610e1 Bump version to 0.18.1.9 (Steven Roose)

Pull request description:

Tree-SHA512: 3c931edeb9a0726b9a3627163c04f99cc6d4024774531c3fcbd2827b2834d520a0139796ebe7a0cc24f7abba53c7e62560e6f0a5cae6e30f949b574b1d482132
2020-10-07 12:26:18 +02:00
Steven Roose
8be8610e1d
Bump version to 0.18.1.9 2020-10-06 20:10:16 +02:00
Steven Roose
2fd40d5481
Merge #918: [0.18 backport] Backport #912: Specify BIP9 deployment for DynaFed
47bc28aa8 Speficy dynafed deployment for Liquidv1 (Steven Roose)
385b670a9 Add comment to BIP9 time fields (Steven Roose)
6f70350d0 Move dynafed bit into the ELEMENTS fields (Steven Roose)

Pull request description:

Tree-SHA512: 12710e8fd04a3753d1afc26a81f62cdef66449071da00ca39854b1cd66c4002669c26e4db0a64636f3458206d451055ddbaeb66e4fc847166b57968cd2ce59e2
2020-10-06 20:07:31 +02:00
Steven Roose
a0bd8870d6
Merge #917: [0.18 backport] Backport #911: When decoding or signing a PSBT, check blinded values.
6d557b9a3 When decoding or signing a PSBT, check blinded values. (Glenn Willen)

Pull request description:

Tree-SHA512: 0604ae37e42d0f83487d3370c64ac3968cbb813580138a32280bb147bbe8378a4306a4f6fd194cc58024b5288a551627d17c162cc110a60032fa9c69c9d51c4b
2020-10-06 20:06:48 +02:00
Steven Roose
a882ef65b7
Merge #916: [0.18 backport] Backport #910: Fix mainchain RPC warmup message
c0e7cf64e Fix mainchain RPC warmup message (Steven Roose)

Pull request description:

Tree-SHA512: 671b91baff3281ec0ff32fa76ee402d23325e8554b33f2fbf36302299d1bf70e4008f32ce4042cfccaab92279200c3bfac6afb1406226dcbff2637e028f3b39f
2020-10-06 20:04:33 +02:00
Steven Roose
e77d754b88
Merge #915: [0.18 backport] Backport #904: Fix parsing of amount commitments from prevtxs in signrawtransactionw…
4e3161620 Fix parsing of amount commitments from prevtxs in signrawtransactionwithkey (Glenn Willen)

Pull request description:

Tree-SHA512: ead69e32fb14ee85f776f786f8510df1b71432e2f3fa02588913c94566219d7b951987162be205269a67acc8b1f1cca84e78278b4bb28fb129b9ca339cda1672
2020-10-06 20:03:47 +02:00
Steven Roose
ba357760c0
Merge #914: [0.18 backport] Backport #899: Use gitian infrastructure to install librsvg2-2 (in lieu of hard-code…
94a49e814 Use gitian infrastructure to install librsvg2-2 (in lieu of hard-coded wget) (Jeff Frontz)

Pull request description:

Tree-SHA512: e472ffa1d955e88767648cee99d337f9cedd181f5ae09ccdb5ec005873871087e0beec68f6405fd8b69b061e86c6599211067e9ca26a9827f896fac1f24d9cd4
2020-10-06 20:03:11 +02:00
Steven Roose
24ae8de235
Merge #913: [0.18 backport] Backport #896: Fix logic issues with randomization of outputs in [re]issueasset_base; minor refactoring
91ec3dd16 Make error messages distinct at each failure location. (Glenn Willen)
f335ff845 Fix logic issues with randomization of outputs in [re]issueasset_base; minor refactoring. (Glenn Willen)

Pull request description:

Tree-SHA512: b9bb0ebf8023dad1897063b57c3dcf34d3761cf571e4811a6c4e3ec6b7afec9aa5b29b38f1781eeee393b51171884d2b66894ff78016c35936c0bce75d46d2ed
2020-10-06 20:00:57 +02:00
Steven Roose
47bc28aa88
Speficy dynafed deployment for Liquidv1
Bit: 25
Start: block 1,000,000 (recent past)
Timeout: never
2020-10-06 13:45:32 +02:00
Steven Roose
385b670a9f
Add comment to BIP9 time fields
The semantics of these fields were changed in
6fc3fe04ef.
2020-10-06 13:45:31 +02:00
Steven Roose
6f70350d07
Move dynafed bit into the ELEMENTS fields 2020-10-06 13:45:30 +02:00
Glenn Willen
6d557b9a3c
When decoding or signing a PSBT, check blinded values.
When we decode or sign a PSBT given to us via RPC, first check that, if
it contains blinded output values, they verifiably match the unblinded
output values contained in the original transaction proposal. Otherwise fail.
2020-10-06 13:45:11 +02:00
Steven Roose
c0e7cf64eb
Fix mainchain RPC warmup message 2020-10-06 13:44:56 +02:00
Glenn Willen
4e31616206
Fix parsing of amount commitments from prevtxs in signrawtransactionwithkey 2020-10-06 13:44:37 +02:00
Jeff Frontz
94a49e814b
Use gitian infrastructure to install librsvg2-2 (in lieu of hard-coded wget) 2020-10-06 13:44:13 +02:00
Glenn Willen
91ec3dd165
Make error messages distinct at each failure location. 2020-10-06 13:43:39 +02:00
Glenn Willen
f335ff8456
Fix logic issues with randomization of outputs in [re]issueasset_base; minor refactoring. 2020-10-06 13:43:37 +02:00
Steven Roose
4ae7d7abf1
Merge #919: [0.18 backport] Backport #905: Update shellcheck URL per https://github.com/koalaman/shellcheck/issu
1ec4a8107 Update shellcheck URL per https://github.com/koalaman/shellcheck/issues/1871 (Glenn Willen)

Pull request description:

Tree-SHA512: b154f2a8fc11df6915d4638a537f7443f071b36cf0864c63b54791f0556e551957131d837e311c4a43d7d9a25704caab362a0ef03cc1d3d94f885081fce5bb5a
2020-10-06 13:38:15 +02:00
Glenn Willen
1ec4a81078
Update shellcheck URL per https://github.com/koalaman/shellcheck/issues/1871 2020-10-06 13:07:35 +02:00
Steven Roose
8b585d8f17
Merge #892: Change liquid PAK list for 0.18
a1ca01b74 Bump version 0.18.1.8 (Glenn Willen)
729fd3ab7 Update hardcoded PAK list for Liquid v1 (Glenn Willen)

Pull request description:

  Change Liquid PAK list and bump to 0.18.1.8.

Tree-SHA512: 68c6473b1ccd38edfa6129727e6b1c611ceda2fef27dbdf07ef828fa11f721ac0e7b63b4308a848f545e45ace2b06f760438082765034350e548a537a4d2d18b
2020-07-03 18:50:26 +02:00
Glenn Willen
a1ca01b749 Bump version 0.18.1.8 2020-07-03 09:12:40 -07:00
Glenn Willen
729fd3ab7a Update hardcoded PAK list for Liquid v1 2020-07-02 14:02:08 -07:00
Steven Roose
292f9f570c
Merge #867: [0.18 backport] Make issuance fail for invalid addresses
8e5893ecb Add test to make sure issuances to wrong addresses fail (Steven Roose)
21b3913a7 Make issuance fail for invalid addresses (Steven Roose)

Pull request description:

  Backport of #861.

Tree-SHA512: 6ef9d50c1b63d93dd3497b38510e8628d02dd876d85b270e3ede4c68118aaf1e7cd3c73ee7f35d7b51cc7500517f3cedd4e0bf5d4de0be373a51ae008d89cf15
2020-04-16 22:55:04 +01:00
Steven Roose
5e0057a312
Merge #864: [0.18 backport] Fix HasValidFee potential overflow
11d6f808e Fix HasValidFee potential overflow (Steven Roose)

Pull request description:

  Backport of https://github.com/ElementsProject/elements/pull/863.

Tree-SHA512: ae46ecba8bbfa93d95d8567c9bafbf06949bb69e805d7ed61406b12844d4060304ee7990765fe235cf075ba89274555148928ed9cf89f0e353af11f0ed88b894
2020-04-16 17:15:42 +01:00
Steven Roose
79e3b2d6b6
Merge #866: [0.18 backport] Changing Elements Icon to just the graphic without text, fixing issue…
3bb299403 Changing Elements Icon to just the graphic without text, fixing issue with gitian builds on icon, removing color change based on testnet for Elements, and compatible svg with build script. (Allen Piscitello)

Pull request description:

  Backport of #860.

Tree-SHA512: 7db77c638d7b96a6aba70259882bb178b769d344d29bb1109c12ae54331efb97f28b53e2eee4e2e797892398048b2a9344fa1a9aeae0738441b0a447189368f8
2020-04-16 17:13:11 +01:00
Steven Roose
8e5893ecbe
Add test to make sure issuances to wrong addresses fail 2020-04-16 12:34:47 +01:00
Steven Roose
21b3913a71
Make issuance fail for invalid addresses
Without his change, invalid addresses are converted into fee outputs.
2020-04-16 12:34:42 +01:00
Allen Piscitello
3bb2994038
Changing Elements Icon to just the graphic without text, fixing issue with gitian builds on icon, removing color change based on testnet for Elements, and compatible svg with build script. 2020-04-16 12:32:14 +01:00
Steven Roose
11d6f808e0
Fix HasValidFee potential overflow
Dmitry pointed out this potential overflow. They can't really happen
because of the `CheckTransaction` check on explicit amounts that
happens earlier in the verification chain. But it's a good idea to
add the check here as well so that a potential relaxing of other rules
cannot accidentally introduce an overflow risk.
2020-04-14 21:01:53 +01:00
Steven Roose
0551932844
Merge #858: Bump version 0.18.1.7
92a1dfc28 Bump version 0.18.1.7 (Steven Roose)

Pull request description:

Tree-SHA512: 3c535e23068c2725166aea8c4031d5e83bfc33c8e824b2db99483b1d196bf3895d4fd59231656c9d2395af2e3aa44542290589807cda5a4dbb34fd7d83c1053a
2020-04-08 19:07:56 +01:00
Steven Roose
92a1dfc28e
Bump version 0.18.1.7 2020-04-08 18:50:02 +01:00
Steven Roose
2d5e10faee
Merge #857: [0.18 backport] Remove another mention of Liquid-Qt
d7e764a36 Remove another mention of Liquid-Qt (Steven Roose)

Pull request description:

  Backport of https://github.com/ElementsProject/elements/pull/855.

Tree-SHA512: 874dd2ab88131c3449ab843a52765e03afa5ad25e7d8deeae17955d2649e6dbaf98decb8ff7bccdcb0445b33b23f9be4359d4ee36b6a1ae67869724ec93d964f
2020-04-08 18:48:55 +01:00
Steven Roose
44a21b11a4
Merge #856: [0.18 backport] Change the logo file from Liquid to Elements
2e4f15750 Change the logo file from Liquid to Elements (Steven Roose)

Pull request description:

  Backport of https://github.com/ElementsProject/elements/pull/854.

Tree-SHA512: e7d220be0285cc4c71b0625512c665717caafd5b6993e251cd53c80c0397b0f2be257a5610c6214dd7de021bcbcf8ee7e0cd5377ee25aa806850c0fc8f74f819
2020-04-08 18:47:02 +01:00