1871 Commits

Author SHA1 Message Date
Antoine Poinsot
b43a90d52a
lib: on Windows, delete leftover watchonly wallet in bitcoind datadir 2023-02-09 17:03:52 +01:00
edouard
fba20b185d
Merge #341: Add wallet path in bitcoind errors related to wallet
0f71cbd7c5d56071083916fc4776a01609e19b92 Add wallet path in bitcoind errors related to wallet (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 0f71cbd7c5d56071083916fc4776a01609e19b92

Tree-SHA512: 9b4f0d3b667badd7a9cb2548f3d7eba7f2df57e23328e9affaa9d9d23cb52928ce2cec31a62ab6fd8fa3ec5c7376e9555668a7eb8c78ea9b3a6d89a014973a56
2023-02-08 15:23:41 +01:00
edouard
0ce888091a
Merge #336: gui: add error message to launcher
3f3e6fab03cfad7219d0860dd096d84a31667d7f installer: change message error (edouard)
aa7db15a64ebb0948340a94513438725c1b6971e gui: add error message to launcher (edouard)

Pull request description:

  Gui will do a check that the selected network datadir is correct and will display an error message in case.

ACKs for top commit:
  darosior:
    ACK 3f3e6fab03cfad7219d0860dd096d84a31667d7f -- quickly tested. See below.

Tree-SHA512: e78b11d05b56b4df789e827f3a1ff37bbcc671b10ae26c7a68b3e8d1bba5928d902049a4f52fbebd63f55ce71c13f1914f15463d36ffcca1a2693e9594de337f
2023-02-08 15:14:27 +01:00
edouard
0f71cbd7c5 Add wallet path in bitcoind errors related to wallet 2023-02-08 14:24:36 +01:00
edouard
3f3e6fab03 installer: change message error 2023-02-08 12:25:00 +01:00
edouard
aa7db15a64 gui: add error message to launcher 2023-02-07 17:17:50 +01:00
Antoine Poinsot
579c428825
Merge #335: doc: clearer instructions re Speculos
7231635748f3cc713e8bbc43871395541e153b19 doc: clearer instructions re Speculos (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 7231635748f3cc713e8bbc43871395541e153b19

Tree-SHA512: dbd9eba0b405dce3a7e61d57f886d194be6e783270aae903766e84d1c7e51d871c39b33f1ffaa53031a590eb0afca85a0e257d4a90b32227bee17ac9ca231e38
2023-02-07 16:08:31 +01:00
Antoine Poinsot
7231635748
doc: clearer instructions re Speculos 2023-02-07 16:05:57 +01:00
Antoine Poinsot
d54773c97f
Merge #333: Fix doc 0.2
c52660a10756fb59d2148fa81d37a85b5d768cce Add link to signing devices documentation (edouard)
548a4d807ae09f0a6ca0270d64e5bd3954c2c469 doc: make reference to 0.2 (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    ACK c52660a10756fb59d2148fa81d37a85b5d768cce -- i'll address some nits in a followup myself

Tree-SHA512: 5fdd6779b31a483a2f2a0da10b2026ba23488f7441370b1c8044fc7eb87a463277b0f423e839afbb815af1cd6a6ac9075c96ba6cc32fae9bd13fa83002f32e74
2023-02-07 16:02:44 +01:00
Antoine Poinsot
08adc76079
Merge #334: CHANGELOG: mention the origin requirement
ed4d620f7fe412a1a2d8f709d5b5a9773ed49361 CHANGELOG: mention the origin requirement (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK ed4d620f7fe412a1a2d8f709d5b5a9773ed49361

Tree-SHA512: 96f77dfc1f862bfbd2a61f59bcdcf92ce67072836ad38898abc5bb67d41e8efcdb4052b524192e91bb150dbc84d622abf921e98d7d0097dcc4fe28d1dda8af59
2023-02-07 16:01:20 +01:00
Antoine Poinsot
5096858955
Merge #332: contrib: fix dmg creation in the release script
fa518af53d8b8a0b2f8a67072d173dce662e8a5b contrib: fix dmg creation in the release script (Antoine Poinsot)

Pull request description:

  The binary need to be named the same as the configured application name.

ACKs for top commit:
  darosior:
    self-ACK fa518af53d8b8a0b2f8a67072d173dce662e8a5b

Tree-SHA512: 8dc4f0d8025fca1b046345b60b0a0e4e42d51da492af85f7e2f0b50db36509deca55d30fbe6740a2b20fd59d18f774684c75fe6e9cdfab0e0c8314a23e860fdf
2023-02-07 16:01:04 +01:00
Antoine Poinsot
ed4d620f7f
CHANGELOG: mention the origin requirement 2023-02-07 16:00:09 +01:00
edouard
c52660a107 Add link to signing devices documentation 2023-02-07 14:38:46 +01:00
edouard
548a4d807a doc: make reference to 0.2 2023-02-07 13:10:17 +01:00
Antoine Poinsot
fa518af53d contrib: fix dmg creation in the release script 2023-02-06 22:23:16 +01:00
edouard
698dd4a405
Merge #330: fix spend detail: wrong check ready
4c683993bc32616c0506528dec6f497f32f7c933 fix spend detail: wrong check ready (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 4c683993bc32616c0506528dec6f497f32f7c933

Tree-SHA512: d1a336ead055412fbfa08c7c0931b3e9788430e7002d49237f6f115afec3e300c793cc29bcf49c17851a8f75e7a5a6c9c7fded6bc10a7c45a1b1d61e97b0b515
2023-02-06 14:52:03 +01:00
edouard
4c683993bc fix spend detail: wrong check ready 2023-02-06 14:39:47 +01:00
Antoine Poinsot
cee3b32f4f
Merge #329: CHANGELOG: mention 2 additional fixes to the GUI for 0.2
4c810a1d702c67be811525d4f5ad8f6f0ebc1278 CHANGELOG: mention 2 additional fixes to the GUI for 0.2 (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 4c810a1d702c67be811525d4f5ad8f6f0ebc1278

Tree-SHA512: 8ae3204f4209f8be4033f084e798e888c412a92f7bf787a6f0f5aea51cb5dc6cfeae810a78ab2a60e9769ca5f6f7b120c3a50118b507892a979df6ebf60a3d39
2023-02-06 14:09:48 +01:00
Antoine Poinsot
4c810a1d70
CHANGELOG: mention 2 additional fixes to the GUI for 0.2 2023-02-06 14:08:53 +01:00
edouard
4a7a6d1806
Merge #328: gui: update liana#66e37a2
f5de5e973421468cba848c8a698d10e4d79bbc7d gui: update liana#66e37a2 (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK f5de5e973421468cba848c8a698d10e4d79bbc7d

Tree-SHA512: 50514a0238cc78c9de0469e70325e60b8c9fb299de85cfccc8d6e6d2a008b9c0c3192bcc1cb91aea41f7a0c7d0ba96a79afeb098c4025ee3bc5ffe13693f35af
2023-02-06 14:00:05 +01:00
edouard
f5de5e9734 gui: update liana#66e37a2 2023-02-06 12:08:25 +01:00
edouard
66e37a2cdf
Merge #314: gui: change path signature details
56d3522f8c74ff774cb3ecdbf76b48dd216497f9 gui: change path signature details (edouard)

Pull request description:

  ![2023-02-03T21:50:42,669968940+01:00](https://user-images.githubusercontent.com/6933020/216709669-81b18325-60ad-469f-a506-6717e997e72a.png)
  ![2023-02-03T21:50:50,459471889+01:00](https://user-images.githubusercontent.com/6933020/216709675-f48041dc-1e17-4723-9d24-0f65cd896cfa.png)
  ![2023-02-03T21:58:48,281389762+01:00](https://user-images.githubusercontent.com/6933020/216709676-977c845e-f1c2-4a6c-9e9c-49c345d20cf1.png)

ACKs for top commit:
  edouardparis:
    Self-ACK 56d3522f8c74ff774cb3ecdbf76b48dd216497f9

Tree-SHA512: 72c0ee502f8f8475b38cf3ee6619e02f9a0920373cc1542cdd37f7d79f83ac489cef444c1f4f79df45ffca4e8b3a1857606994392238ec77a8457d0af117ea63
2023-02-06 11:53:53 +01:00
Antoine Poinsot
9996483112
Merge #321: Descriptor spending policy inference fixes
fcc1c21dbb3a735407d0352c555f448ae80fac64 descriptors: use the origin as xpub UID in partial spend info, not the fingerprint (Antoine Poinsot)
4af1a12a2a239a25c3ab50e4943fa7897be40091 descriptors: fix the spending policy inference (Antoine Poinsot)

Pull request description:

  The analysis was assuming missing that a `thresh(2, older(x), thresh(k, key1, key2, ..)` policy could be normalized to `thresh(k + 1, older(x), key1, key2, ..)` when `k == the number of keys` (i.e. in case of a N-of-N multisig). This also merges the analysis logic with the parsing check to make sure we don't introduce any inconsistency.

ACKs for top commit:
  edouardparis:
    utACK fcc1c21dbb3a735407d0352c555f448ae80fac64

Tree-SHA512: d12db2ccf43d20fc85ea6f9fdfe2869948d2c63a2af22287c9133cf6f732fe92c7c0c63ba70ea3dfb0c910a93753ebd42cb168b4cf6bd6ccbed4e1cc7028b614
2023-02-06 11:43:12 +01:00
edouard
56d3522f8c gui: change path signature details 2023-02-06 11:09:30 +01:00
edouard
04862ec65d
Merge #319: fix: drop connections to hws in share xpub panel
42940f638598b02acf1cc4f175703725a2ef3cf2 fix: drop connections to hws in share xpub panel (edouard)

Pull request description:

  Use needs to be able to start new connections
  in the register descriptor step.

ACKs for top commit:
  edouardparis:
    Self-ACK 42940f638598b02acf1cc4f175703725a2ef3cf2

Tree-SHA512: 01b146209cb74e5db7819e7249b51881e0f773d32ae2b1400914e0751f702325447b304eeca0f4eadf50113c4ea0535d24c73ef8b311c9de453877659933650f
2023-02-06 09:23:15 +01:00
edouard
5b0aac1782
Merge #325: Gui wording nits
f545747080fdfc4a02216256a6b6da2e3d22078d gui: reword some warnings on invalid input (Antoine Poinsot)
c6127c41c99d9775ecc177928a2ec9fdc94e13a0 gui: wording nit on missing feerate when creating a spend. (Antoine Poinsot)
a7f2ca1cbee7030e9c51506a2c6e1136f6b3a463 gui: Remove redundant "or" when filling up xpub in installer. (Antoine Poinsot)

Pull request description:

  Some things i noticed while testing. Not perfect nor comprehensive, but still an improvement IMO.

ACKs for top commit:
  edouardparis:
    ACK f545747080fdfc4a02216256a6b6da2e3d22078d

Tree-SHA512: c1b098058cbff6617fb197d235ef6755702499b435414659317be2d0bfffe91e018d9069d1e5741c80b446fbee395cb4f6e7cbc4d457583a3bc04f66d9f3cbc6
2023-02-06 08:50:12 +01:00
Antoine Poinsot
f545747080
gui: reword some warnings on invalid input 2023-02-05 15:48:48 +01:00
Antoine Poinsot
c6127c41c9
gui: wording nit on missing feerate when creating a spend. 2023-02-05 15:48:47 +01:00
Antoine Poinsot
a7f2ca1cbe
gui: Remove redundant "or" when filling up xpub in installer. 2023-02-05 15:48:47 +01:00
Antoine Poinsot
e8d0f492b9
Merge #317: bitcoind: detect deposits from (mature) coinbase transactions
af058d59e3604cebb7384f4c0f65a2fd60cc5af4 bitcoind: detect deposits from (mature) coinbase transactions (Antoine Poinsot)

Pull request description:

  What if miners use Liana! 😁

ACKs for top commit:
  edouardparis:
    ⛏️  utACK af058d59e3604cebb7384f4c0f65a2fd60cc5af4

Tree-SHA512: 579e24b78d250c095e1073e6e1df46bbea77afdcde6ee8dcef7adc29ef276b6609ccc829809dd97c2da8679ffb6d7b60041572a017438cc7695acdc6afad5b71
2023-02-05 15:16:21 +01:00
Antoine Poinsot
fcc1c21dbb
descriptors: use the origin as xpub UID in partial spend info, not the fingerprint
We were using the fingerprint as a stable unique identifier for xpubs in
a descriptor. It's not. For instance, what if a single signer is used
both in the primary and recovery path? The same fingerprint would appear
in both paths and we would mix up the signatures for both paths (ie if a
signature for each was provided, we would count each path as having 2
signatures).
2023-02-05 14:31:24 +01:00
Antoine Poinsot
4af1a12a2a
descriptors: fix the spending policy inference
This also cleans it up as well as merging the checks in the parser with
the analysis in the info() helper to be more confident they are
consistent.
2023-02-05 13:43:40 +01:00
edouard
42940f6385 fix: drop connections to hws in share xpub panel
Use needs to be able to start new connections
in the register descriptor step.
2023-02-04 18:27:07 +01:00
edouard
33e698b774
Merge #318: fix gui: use address.is_valid_for_network
c7dd94b7488ddfbe96b91a9eb1f0430c7c0b3f3a fix gui: use address.is_valid_for_network (edouard)

Pull request description:

  Use this nice helper from rust-bitcoin, instead
  of wrong checks.

ACKs for top commit:
  edouardparis:
    Self-ACK c7dd94b7488ddfbe96b91a9eb1f0430c7c0b3f3a

Tree-SHA512: f71775c84bde155e6c30ef3b25a064feaf10b95ca9a50395afd0b1808eeb1a9739f66a657cf36754e7d0648324e08469d7ecf3d9bad427b151e6956ee68db7df
2023-02-04 15:34:10 +01:00
edouard
c7dd94b748 fix gui: use address.is_valid_for_network
Use this nice helper from rust-bitcoin, instead
of wrong checks.
2023-02-04 14:12:47 +01:00
Antoine Poinsot
af058d59e3
bitcoind: detect deposits from (mature) coinbase transactions 2023-02-04 13:21:20 +01:00
edouard
29a302bada
Merge #315: Add more information and checkbox to register descriptor step
697fb16db976d0bc643381b10342f2df650a4386 Add more information and checkbox to register descriptor step (edouard)

Pull request description:

  ![2023-02-04T10:04:29,401091329+01:00](https://user-images.githubusercontent.com/6933020/216759166-1a4fc04f-aa4a-480d-a568-8f60a7d33d16.png)
  close #297

ACKs for top commit:
  darosior:
    utACK 697fb16db976d0bc643381b10342f2df650a4386 -- text looks good to me.

Tree-SHA512: 2bfdad9e512612e8cdc5247d0d2a4b35686f97b31fea508f6674baa5e7b1beb5a7929377a9cb3b843644597d186bff67f0200c1d08b6bd2d335477dbcaa83456
2023-02-04 12:46:58 +01:00
edouard
697fb16db9 Add more information and checkbox to register descriptor step
close #297
2023-02-04 12:32:33 +01:00
edouard
c9238404d5
Merge #316: fix: spend minimal amount in btc
263f00150d37908d97bb491cd0dbc2180f36b654 fix: spend minimal amount in btc (edouard)

Pull request description:

  "> 5000 sats" message was confusing with the actual amount in btc requirement

ACKs for top commit:
  edouardparis:
    Self-ACK 263f00150d37908d97bb491cd0dbc2180f36b654

Tree-SHA512: 7846344af9e044db5431d583214c06cdbabfbb5a553be975531e76b5218bec3c7fd0467d11fe4fa2845226516cf09e45d0948df17b2a8c723a3cedb212fe34d0
2023-02-04 11:36:56 +01:00
edouard
263f00150d fix: spend minimal amount in btc 2023-02-04 11:11:51 +01:00
edouard
90c2a04eb4
Merge #313: gui: fix hws list reloading
ea4f02172824371ef162db9ee0b974ef4597a541 fix hws list reloading (edouard)

Pull request description:

  I wanted the refresh button to add more harware wallet to the list without erasing the previous list
  in order to not cut the existing communication channels.

  But with the new display of "unsupported wallet" this behaviour can corrupt the list. An "unsupported wallet" can become "supported" because user switch app or unlock.

  It is preferable to reset the full list and drop the objects after a refresh.

ACKs for top commit:
  edouardparis:
    Self-ACK ea4f02172824371ef162db9ee0b974ef4597a541

Tree-SHA512: 530cf6e82f5bfd325e45c0eb19af94a58e930ecc15a692e0d545ceec2105122ed539a9f671449d2bc05e87c0ba562a1f192076a5cd1a2264f322b5a9094c1d9a
2023-02-03 21:09:18 +01:00
edouard
ea4f021728 fix hws list reloading
I wanted the refresh button to add more harware wallet
to the list without erasing the previous list
in order to not cut the existing communication channels.

But with the new display of "unsupported wallet" this behaviour
can corrupt the list. An "unsupported wallet" can become
"supported" because user switch app or unlock.

It is preferable to reset the full list and drop the objects
after a refresh.
2023-02-03 19:42:23 +01:00
Antoine Poinsot
72d04e5a0f
Merge #312: descriptors: mention origin requirement in invalid key error
72fc42bc3834eeb03ee699e74096814aca553d4b descriptors: mention origin requirement in invalid key error (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK 72fc42bc3834eeb03ee699e74096814aca553d4b

Tree-SHA512: a022317a8303cc9bca0fe0fa565efd3db263b885bdf488fdf100fc4dbcf07d4e681b0d2c6a50a9f19d52f4147946aa0b653ed4ff8f5c2ef2d6bac0fc093435bf
2023-02-03 18:33:45 +01:00
Antoine Poinsot
72fc42bc38
descriptors: mention origin requirement in invalid key error 2023-02-03 18:32:05 +01:00
Antoine Poinsot
16951ca78c
Merge #311: Release 0.2 of the GUI
58a3d21eff766627bde45727f00e101408983602 contrib: update the package pins in the repro build Dockerfiles (Antoine Poinsot)
0bd3bd4d2ef8f88bde2f9abbeed8c1d68408801b Update Github links to wizardsardine/liana (Antoine Poinsot)
ca05bd3fbc2862d3f219491c396b7c1e21b83a99 gui: release 0.2 (Antoine Poinsot)

Pull request description:

  Based on #310. Needs to be updated once it is merged.

ACKs for top commit:
  darosior:
    self-ACK 58a3d21eff766627bde45727f00e101408983602 -- did a full release build on this branch.

Tree-SHA512: 3b7c5a9a5df154dbce5f3615143e8e251c3155a493dc62758ce21a59a640befe469445a171774dcd8e6e1166c9ca0613e9c076a7b073b5b847eb025c13ab56af
2023-02-03 18:30:33 +01:00
Antoine Poinsot
58a3d21eff
contrib: update the package pins in the repro build Dockerfiles 2023-02-03 18:00:34 +01:00
Antoine Poinsot
0bd3bd4d2e
Update Github links to wizardsardine/liana 2023-02-03 16:52:06 +01:00
Antoine Poinsot
ca05bd3fbc
gui: release 0.2 2023-02-03 16:14:50 +01:00
Antoine Poinsot
8cc6cb1f86
Merge #310: Release 0.2
d0de88bc016b2dcb181fd6f4ef88f9c36cc02f96 daemon: release 0.2 (Antoine Poinsot)
f4755ff803cd6f923eb342ae5f302513fb81b865 doc: add some warning re provider 4 to the Ledger doc (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK d0de88bc016b2dcb181fd6f4ef88f9c36cc02f96

Tree-SHA512: 14324cc29e3814057ac28d8d11c5cf75e788c03132eb3f7a0cda72abd073e0ecc751c5390403b4ff7075fe4fb21959451995f192df3f817aabbda105dff3cbfd
2023-02-03 16:13:41 +01:00
Antoine Poinsot
d0de88bc01
daemon: release 0.2 2023-02-03 16:10:20 +01:00