Commit graph

20699 commits

Author SHA1 Message Date
Steven Roose
c0e7cf64eb
Fix mainchain RPC warmup message 2020-10-06 13:44:56 +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
Steven Roose
d7e764a367
Remove another mention of Liquid-Qt 2020-04-07 23:33:02 +01:00
Steven Roose
2e4f157507
Change the logo file from Liquid to Elements 2020-04-07 23:27:25 +01:00
Steven Roose
17092fc624
Merge #848: [0.18 backport] Replace some Bitcoin mentions with Elements
96b90d07f Add parameter for chain name in initial download string (Philippe McLean)
a531e6a4a Replace some Bitcoin mentions with Elements (Steven Roose)

Pull request description:

  Backport of #844.

Tree-SHA512: 61441d3dc913f80cb01c1816ecb41dde0bbb278cc1c9da47e17a8c1606aa1c2608b5aea5facc0a80eb198e1d61b91a3e773aa255bfa0e5cbd13cba58a8c1cdf0
2020-04-06 22:22:22 +01:00
Philippe McLean
96b90d07f0
Add parameter for chain name in initial download string 2020-04-06 17:39:01 +01:00
Steven Roose
a531e6a4a0
Replace some Bitcoin mentions with Elements 2020-04-06 17:38:03 +01:00
Steven Roose
0f91d8e65b
Merge #847: [0.18 backport] Support fee estimation for fees lower than 1 sat/byte
6394015c8 Optimize size estimation in FundTransaction (Steven Roose)
28c0a9cdf Support fee estimation for fees lower than 1 sat/byte (Steven Roose)

Pull request description:

  Backport of #843.

Tree-SHA512: 77a0de3d638816ae58aa481e028380a2ed475747ccd51194c77cdc376b32ed13be9a759fb46aa25ff7539c8e7d73bd33503c93c80611a8530cf8d5c5633c6428
2020-04-06 15:32:17 +01:00
Steven Roose
6394015c80
Optimize size estimation in FundTransaction 2020-03-31 12:44:00 +01:00
Steven Roose
28c0a9cdfc
Support fee estimation for fees lower than 1 sat/byte 2020-03-31 12:43:05 +01:00
Steven Roose
690e999eb6
Merge #841: [0.18 backport] Remove the min(max( construction for the ct_exponent argument
35c83bdb8 Remove the min(max( construction for the ct_exponent argument (Steven Roose)

Pull request description:

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

  @dgpv Could you review again?

Tree-SHA512: e212bc04e314bfd8a8e7b7c9c3d5620ad1b6f603706cc038136a655ab729f49c3430f70b0a9baa2d04a2e0bdc9e0aaced413d3cb0d4a424e386b50322b958dc2
2020-03-31 11:07:25 +01:00
Steven Roose
35c83bdb8c
Remove the min(max( construction for the ct_exponent argument
We removed the similar construction for ct_bits in an earlier commit.
The construction is to keep the value between -1 and 18. This kind of
means that a user that inputs a value outside that range will not get an
error, but will use the value on the edge of the range instead.

It's probably better to return an error (generated by secp256k1) in the
case of invalid input.
2020-03-25 14:39:49 +00:00
Steven Roose
84e74dc463
Merge #839: [0.18 backport] Index the genesis block with txindex
b23efb2f5 Improve coinbase and issuance tx testing for txindex (Steven Roose)
91ad74866 Index the genesis block with txindex (Steven Roose)

Pull request description:

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

Tree-SHA512: 19597a30d117efd33bf76709c3428def9bfa374f356a5e52a81d617794fb985d3e663ed8911422916d4af113f618d276442fdb0e503cf4df6a1a09e04b63a64a
2020-03-24 17:17:36 +00:00
Steven Roose
b23efb2f50
Improve coinbase and issuance tx testing for txindex 2020-03-23 18:06:20 +00:00
Steven Roose
91ad74866a
Index the genesis block with txindex 2020-03-23 18:06:14 +00:00
Steven Roose
49d3c1cf40
Merge #836: Backports + version bump for v0.18.1.6
17f8e747e Bump version to 0.18.1.6 (Steven Roose)
8de91ec50 Reduce mintxfee to 0.1 sat/vbyte and fallback fee to 2 sat/vb (Steven Roose)
356f25bf8 Some readability improvements in blind.cpp (Steven Roose)
a72d9c646 Switch default bits of hiding to 52 (Gregory Sanders)
32792e3dc initpegoutwallet: check for hardened derivation steps early (Gregory Sanders)
ed8852184 Create witness outputs for (re)issueasset RPC (Gregory Sanders)
214789b69 Place the mainchain RPC warmup message in a better place (Steven Roose)
34784a663 Fix claimpegin and createrawpegin support for multiwallet. (Glenn Willen)

Pull request description:

  v0.18.1.6 changelog:

  - Reduce mintxfee to 0.1 sat/vbyte and fallback fee to 2 sat/vb
  - Switch default bits of hiding to 52
  - check for hardened derivation steps early in initpegoutwallet
  - Create witness outputs for (re)issueasset RPC
  - Fix claimpegin and createrawpegin support for multiwallet
  - Place the mainchain RPC warmup message in a better place

  Backported commits:
  ```
  commit bfb77ad44d (origin/pr/835, mine/mintxfee, mintxfee)
  Author: Steven Roose <steven@stevenroose.org>
  Date:   Tue Mar 17 12:47:03 2020 +0000

      Reduce mintxfee to 0.1 sat/vbyte and fallback fee to 2 sat/vb

  commit 26e5490e83
  Author: Gregory Sanders <gsanders87@gmail.com>
  Date:   Tue Dec 3 16:14:13 2019 -0500

      Switch default bits of hiding to 52

  commit a7b41e1f7e (upstream/pr/829, origin/pr/829, instagibbs/check_hardened)
  Author: Gregory Sanders <gsanders87@gmail.com>
  Date:   Tue Mar 3 09:52:57 2020 -0500

      initpegoutwallet: check for hardened derivation steps early

  commit 91583b6e0a (upstream/pr/825, origin/pr/825, instagibbs/witness_issue)
  Author: Gregory Sanders <gsanders87@gmail.com>
  Date:   Mon Feb 24 09:32:21 2020 -0500

      Create witness outputs for (re)issueasset RPC

  commit c5cb714847 (upstream/pr/818, origin/pr/818, mine/msg-warmup, msg-warmup)
  Author: Steven Roose <steven@stevenroose.org>
  Date:   Tue Feb 18 15:15:52 2020 +0000

      Place the mainchain RPC warmup message in a better place

  commit fc841c8047 (upstream/pr/813, origin/pr/813)
  Author: Glenn Willen <gwillen@nerdnet.org>
  Date:   Thu Feb 6 23:08:56 2020 -0800

      Fix claimpegin and createrawpegin support for multiwallet.
  ```

Tree-SHA512: 8ad9f22a26e7ea174f8a001651c2f36b5799578d18187231fb170b000c5d6489cd20f2aea776506e6e604a7d6c981a6b32edd532629ec21851ff5f9e7f95a0ed
2020-03-18 10:13:56 +00:00
Steven Roose
17f8e747e4
Bump version to 0.18.1.6 2020-03-17 20:25:21 +00:00
Steven Roose
8de91ec505
Reduce mintxfee to 0.1 sat/vbyte and fallback fee to 2 sat/vb 2020-03-17 20:25:20 +00:00
Steven Roose
356f25bf86
Some readability improvements in blind.cpp 2020-03-17 20:25:18 +00:00
Gregory Sanders
a72d9c6468
Switch default bits of hiding to 52 2020-03-17 17:46:45 +00:00
Gregory Sanders
32792e3dc7
initpegoutwallet: check for hardened derivation steps early 2020-03-17 17:44:11 +00:00
Gregory Sanders
ed88521841
Create witness outputs for (re)issueasset RPC 2020-03-17 17:43:37 +00:00
Steven Roose
214789b693
Place the mainchain RPC warmup message in a better place 2020-03-17 17:42:57 +00:00
Glenn Willen
34784a663f
Fix claimpegin and createrawpegin support for multiwallet.
Fix multiple issues with claimpegin and createrawpegin support for
multiple loaded wallets:

- Failure to call EnsureWalletIsAvailable would cause a crash when multiple
  wallets were loaded, but one was not specified in the RPC call.
- Failure to propagate the request URL from claimpegin when making an
  internal call to another RPC would result in failure when multiple
  wallets were loaded, by failing to specify one for that call.

Add a regression test to the feature_fedpeg.py test: at a critical point,
create a second wallet on the sidechaind, and set up the RPC client to
use the first one, to check that it still works correctly.
2020-03-17 17:42:16 +00:00
Gregory Sanders
4683c94d3c
Merge #820: [0.18 backport] Include deque to fix build
f790f85fa Include deque to fix build (Steven Roose)

Pull request description:

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

Tree-SHA512: ca1b0b03ff9c611f632ca9a8c10dde82a942bbee3081dc27e0d782638fac33b5dc8d020b7563717cf69bbaba0d2589873e526ce17d30f19e59706764e6503de0
2020-02-26 10:01:41 -05:00
Steven Roose
f790f85fa7
Include deque to fix build 2020-02-18 15:36:03 +00:00
Steven Roose
911d1f0703
Merge #810: Bump version to 0.18.1.5
af92cf670 Bump version to 0.18.1.5 (Steven Roose)

Pull request description:

Tree-SHA512: b3f8d6dbfae72ec1fbc34c0e2bbe480a3c0285492977f0d972e78a6547a57c977cf0cc55422ccce9fdcb5266a52288b5af46782e28b680a7e78e319892b3742e
2020-02-02 22:27:13 +00:00
Steven Roose
af92cf670b
Bump version to 0.18.1.5 2020-01-31 20:15:20 +00:00
Steven Roose
3876890b57
Merge pull request #809 from stevenroose/bp-default-chain
[0.18] Backport of 'Add DEFAULT chain and set to liquidv1'
2020-01-31 20:08:34 +00:00
Steven Roose
bf2e6798c8
Make elements-cli also use DEFAULT chain by default 2020-01-31 18:17:29 +00:00
Steven Roose
027b6f1977
Remove unused ArgsManager::GetUnrecognizedSections 2020-01-31 18:17:27 +00:00
Steven Roose
28ffeeb9a9
Some Elements/Liquid fixes for Qt GUI 2020-01-31 18:17:26 +00:00
Steven Roose
3e0f9da0aa
Add DEFAULT chain and set to liquidv1
This fixes f.e. that when arguments are set in CLI or the config file
without a network attached (`port` instead of `liquidv1.port`), they
will now be assigned to the liquidv1 instead of Bitcoin mainnet.
2020-01-31 18:17:24 +00:00
Steven Roose
168fd68bee
Merge #806: Bump version to 0.18.1.4
a1a018e20 Bump version to 0.18.1.4 (Steven Roose)

Pull request description:

Tree-SHA512: cfe107278ce2714162c421d8cc4b13f82556b264f052330bc78117e778acbc3f12fdab5654a5b1bd2dac601d4756f00363f29ef39d874f49d46cf55da89c4bc5
2020-01-16 15:47:31 +00:00
Steven Roose
a1a018e20c
Bump version to 0.18.1.4 2020-01-16 15:32:38 +00:00