423 Commits

Author SHA1 Message Date
edouard
805c8e192b
Merge #250: fix various bugs with hws and spend signing process
73eb1d38e3612110ad467fd608863519838aa988 fix state: add new hws in list without dropping the old ones (edouard)
d9336c11ea7d3ad4dcb68fbe322d9247cf9ad52e spend detail: add a refresh button for hws (edouard)
5a7eaff17ba895418b368deaa74f8ed1b4ac26e7 fix hws: ledger dongle must load wallet (edouard)

Pull request description:

  Fixes #246
  Fixes #238

ACKs for top commit:
  edouardparis:
    ACK 73eb1d38e3612110ad467fd608863519838aa988

Tree-SHA512: 969824ba2ac28a5726b8b0e87cc9a0e216ae54e2ec1fde6c5cb73d9a9326071d3b1ede9dcde1e06eb1946a38627b4ed3be2efa23955b88b11db66f36f94de14a
2022-12-18 10:59:58 +01:00
Antoine Poinsot
f37230a45e
Merge #244: Restructure the reproducible builds folders
ffbe2f71d36ac1125e749efcaf7882a6f2c46c33 guix update Miniscript branch in cargo config (Antoine Poinsot)
b7e349459d7cadf227d2bd13fa970ed230103e41 guix: create the cargo config in the repo directory, not home (Antoine Poinsot)
b0ade5993745951b113f2c8aff26cf0b4b53aa16 README: mention reproducible builds (Antoine Poinsot)
01481ba7d7d3fd1c9b42ddafb22e5fdcb9f08976 contrib: move the docker and guix folders under a single 'reproducible' (Antoine Poinsot)

Pull request description:

  Better to have those under a single, more meaningful, folder.

ACKs for top commit:
  darosior:
    self-ACK ffbe2f71d36ac1125e749efcaf7882a6f2c46c33

Tree-SHA512: 2f1763a952f51046ec9e8d9ea545680452aa5716fd30973bc3f4096d40e21f8b5f8479f492a3b9d02f1fff21b57835cbf0cf3044e8211501cf5077b553b454fe
2022-12-18 10:04:03 +01:00
Antoine Poinsot
ffbe2f71d3
guix update Miniscript branch in cargo config 2022-12-18 09:46:06 +01:00
Antoine Poinsot
b7e349459d
guix: create the cargo config in the repo directory, not home 2022-12-18 09:46:05 +01:00
Antoine Poinsot
b0ade59937
README: mention reproducible builds 2022-12-18 09:46:05 +01:00
Antoine Poinsot
01481ba7d7
contrib: move the docker and guix folders under a single 'reproducible' 2022-12-18 09:46:04 +01:00
edouard
73eb1d38e3 fix state: add new hws in list without dropping the old ones
It should be a solution for #238
2022-12-16 19:15:46 +01:00
edouard
d9336c11ea spend detail: add a refresh button for hws
close #246
2022-12-16 19:11:18 +01:00
Antoine Poinsot
b5a0bb00d3
Merge #239: MacOS reproducible build using Docker
88c969a6a107d347ee97fbb225ae1568e98acb37 contrib: document Docker reproducible builds (Antoine Poinsot)
9a800113a713b1687960c14b77b1ada1df17bdff contrib: reproducible builds for macOS using Docker (Antoine Poinsot)

Pull request description:

  This finishes the work on reproducible build with the last missing cross compilation: macOS. I still need to add a README to this folder. I'll do it in this PR.

ACKs for top commit:
  darosior:
    re-ACK 88c969a6a107d347ee97fbb225ae1568e98acb37

Tree-SHA512: 5442d20fc33de16370b7776cec55e3d2d0ef5d66b595160a15099959f2f3b59705aeb945fef7a0e59a5909a8569a243ed85a63f09679fcc642c23010d67090a4
2022-12-16 19:05:10 +01:00
Antoine Poinsot
88c969a6a1
contrib: document Docker reproducible builds 2022-12-16 19:04:27 +01:00
edouard
5a7eaff17b fix hws: ledger dongle must load wallet 2022-12-16 18:59:45 +01:00
edouard
0cb2a30186
Merge #249: fix inconsistencies between spend and coins panel
aa32444318ebe44d4cf38c15f08ccec061b9cb0c fix inconsistencies between spend and coins panel (edouard)

Pull request description:

  Add remaining timelock and unconfirmed label.

  close #232

ACKs for top commit:
  edouardparis:
    Self-ACK aa32444318ebe44d4cf38c15f08ccec061b9cb0c

Tree-SHA512: 61dcceb55d175c98927f89ffd8a357dadb50b5c987b50b5981da4be7a94768de4df9a27c71ff15f81862921a2f62d40721f377bcd128889f234c935f01646ee5
2022-12-16 17:44:16 +01:00
edouard
aa32444318 fix inconsistencies between spend and coins panel
Add remaining timelock and unconfirmed label.

close #232
2022-12-16 17:25:41 +01:00
edouard
c4481ca292
Merge #245: fix client: list_pending_txs must include incoming tx
fffca977a91da76d2396f4b9d5cc84a87c9dfdef fix client: list_pending_txs must include incoming tx (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK fffca977a91da76d2396f4b9d5cc84a87c9dfdef

Tree-SHA512: fe8dfab568694c7a5878166ac7db5ae3736d04dba4ce5c672a22e5207d0b76701accbcf78895f2561302147af627c83b02fc4e108895b4122a59a6a15fb807d7
2022-12-16 16:37:46 +01:00
edouard
fffca977a9 fix client: list_pending_txs must include incoming tx 2022-12-16 15:49:17 +01:00
Antoine Poinsot
9a800113a7
contrib: reproducible builds for macOS using Docker
The gist is: we use https://github.com/tpoechtrager/osxcross.

This contains a few cleanups of the "Docker reproducible builds" folder
as a whole.
2022-12-16 11:53:03 +01:00
Antoine Poinsot
cd782f2a76
Merge #241: Clippy fixes and version pin
f996e2565797b413870d75fa764ebd207bb264c4 ci: pin clippy to 1.65.0 for the GUI (Antoine Poinsot)
d529cd8b6c7245852deacbfa9d14b349b1ad04e3 ci: pin clippy at 1.66.0 (Antoine Poinsot)
ab9fff4395c9d368d4d8c795af4d4ada295ac36b Remove clippy.toml (Antoine Poinsot)
d3b89add9aa8d7329bbb2afc7b2288fc1ea95189 daemon: apply clippy 1.66.0 fixes (Antoine Poinsot)

Pull request description:

  The CI broke again because clippy is configured to target `stable` and introduces breaking changes with each version. Apply the fixes for the latest stable, then pin clippy to this version.

  For the GUI i wasn't sure so i just pinned clippy to the latest stable.

ACKs for top commit:
  darosior:
    self-ACK f996e2565797b413870d75fa764ebd207bb264c4 -- trivial

Tree-SHA512: 5f41af6b568e20556a4f781f3cff110790eee7f13c62842882a4211ddac9513fd84293a751b6b0fa9206cccecf06c8b04d365dd070cf26de88f4af78be1b10fc
2022-12-16 11:18:17 +01:00
Antoine Poinsot
f996e25657
ci: pin clippy to 1.65.0 for the GUI 2022-12-16 11:08:39 +01:00
Antoine Poinsot
d529cd8b6c
ci: pin clippy at 1.66.0
To avoid future breakage.
2022-12-16 11:02:42 +01:00
Antoine Poinsot
ab9fff4395
Remove clippy.toml
I had put it (following rust-bitcoin) because of the MSRV, but it looks
like clippy doesn't care.
2022-12-16 11:01:34 +01:00
Antoine Poinsot
d3b89add9a
daemon: apply clippy 1.66.0 fixes 2022-12-16 11:01:23 +01:00
Antoine Poinsot
3ac9f39aa1
Merge #224: Windows watchonly wallet path workaround
48e4909e7ad83c21f788802953327f8041a69b7d daemon: store the watchonly wallet file in bitcoind's datadir on Windows (Antoine Poinsot)

Pull request description:

  Turns out that providing an absolute path to bitcoind when loading a wallet on Windows results in surprising behaviour.

ACKs for top commit:
  edouardparis:
    ACK 48e4909e7ad83c21f788802953327f8041a69b7d

Tree-SHA512: b432460d529cf5b879361452af1e7947ec877c293f8a8a2e1740975a2957c0cdb288d1f9a1fa07e56193c7c65edf1f985d9e24dd3412f2bfc10922df239de766
2022-12-15 19:16:37 +01:00
Antoine Poinsot
dd6c5baf2d
Merge #212: Windows reproducible build
89d2e67625b1308d621af0fe15081588459e22b8 Windows reproducible builds using Docker (Antoine Poinsot)
43ece74cf747e278a1ce0b96203a4bc958d1cb12 gui: target 'windows' subsystem for Windows targets (Antoine Poinsot)

Pull request description:

  Using Docker for now. I'll add documentation once i've figured out macOS.

ACKs for top commit:
  darosior:
    Cool. ACK 89d2e67625b1308d621af0fe15081588459e22b8

Tree-SHA512: 74cf8b5184fbf1fe64bccdf5e7a0f856bf5890e61559fd759485af6fa9bd4ef3430d4c010748a8cf97ca0d9086f49e93d1bb90899610fd98638bdd8c01f33819
2022-12-15 19:15:59 +01:00
edouard
5117b8dc44
Merge #228: fix recovery state coins filtering
192072ea257ae50e6c90bda00677b5f07ca9ada9 fix recovery state coins filtering (edouard)

Pull request description:

  Recoverable coins are coins that recovery
  path is available *next* block

ACKs for top commit:
  darosior:
    Not familiar with this code, but it appears it now check whether the timelock will be mature in one block or less. If that is the case then it is consistent with the behaviour of the daemon. utACK 192072ea257ae50e6c90bda00677b5f07ca9ada9.
  edouardparis:
    ACK 192072ea257ae50e6c90bda00677b5f07ca9ada9

Tree-SHA512: 0bf5f39fcf393a16667f498d851a3cd7dd6b0831696db05c27363b6f9d5006225afc919d6a6c4d3992cd3d3ce702bc5a7e0a7e57d9f21234649237ee172f1f2d
2022-12-15 15:18:06 +01:00
edouard
192072ea25 fix recovery state coins filtering
Recoverable coins are coins that recovery
path is available *next* block
2022-12-15 12:50:39 +01:00
Antoine Poinsot
440a4383c4
Merge #222: Minisafed -> lianad
733b1240bdffa6bb740c3bc6483a4849b62bf6ef Update CONTRIBUTING.md (Kevin Loaec)

Pull request description:

ACKs for top commit:
  darosior:
    Good catch. Thanks. ACK 733b1240bdffa6bb740c3bc6483a4849b62bf6ef.

Tree-SHA512: 102d2b925525c3c3b7b0272efe500fb230926540a5efd22425bf0a4d7abe9b1ccdd73dd82fe97dc39d47ed41625138902ebf4be27e2cce4e32128b9f648c0c2a
2022-12-14 18:36:19 +01:00
Antoine Poinsot
3be64f4cd5
Merge #227: Decrease threshold of the bitcoind sync progress
030bfadaf7ef5e88500f6f64ea814d3656b07fba bitcoind: decrease the sync progress roundup threshold (Antoine Poinsot)
4560bc9ed2e41e81797cadfdecb5a97a6d351850 bitcoind: move roundup_progress() to utils and unit test it (Antoine Poinsot)

Pull request description:

  Part of #217.

ACKs for top commit:
  darosior:
    ACK 030bfadaf7ef5e88500f6f64ea814d3656b07fba

Tree-SHA512: 253eaaa7a2dfad34858bcb54e9d001ac4f0f5037646075f80db1bf2259f8b2bcda002e8bf19f5d06aa0959d62b1a770df9fc2eba8454b3545734ee27b36234e3
2022-12-14 18:35:45 +01:00
Antoine Poinsot
48e4909e7a
daemon: store the watchonly wallet file in bitcoind's datadir on Windows 2022-12-14 18:32:37 +01:00
Antoine Poinsot
87fac3bcea
Merge #221: just put the whole gpg key
52341db41d719f7cbb224d9164593f5f2992eae7 just put the whole gpg key (Kevin Loaec)

Pull request description:

  I'm quite sure it does the check for you. So i also removed the extra comment. If i'm doing something wrong plz educate me :D

ACKs for top commit:
  darosior:
    I wouldn't be surprised if gpg was doing something surprising like transforming the key into a fingerprint before pulling from the keyserver. On the other hand it's the only bit of additional information re: checking GPG signatures in this document so being consistent is probably better. ACK 52341db41d719f7cbb224d9164593f5f2992eae7

Tree-SHA512: 95cadf5a6d93b63dbf7072cc61129feb2d5a229442ba6a4eaa6f741228d5404b929ba262b3550759edef230baa3aa09e469017362e37103de0a6eed5e4331a90
2022-12-14 18:31:32 +01:00
Antoine Poinsot
53d64963e8
Merge #220: Made it more user friendly. Also, ARCH <3
3388ab9140857b2a715ab95bb69b30754dd60e0b Update doc/TRY.md (Kevin Loaec)
e327104a0f45cf1b994cb85b9f806e54b160ab17 Update doc/TRY.md (Kevin Loaec)
d24bf432378b738df23d878f748bf0f9ed6ed6f4 Update TRY.md (Kevin Loaec)
7ae4992d8858b6083ce2b92665b92ace9b40b6e4 Update doc/TRY.md (Kevin Loaec)
f6e143769590c4b3b32060e2c966080d10fcc325 Made it more user friendly. Also, ARCH <3 (Kevin Loaec)

Pull request description:

  Replaced the confusing Recovery section with a detailed Ian Coleman keygen.

ACKs for top commit:
  darosior:
    ACK 3388ab9140857b2a715ab95bb69b30754dd60e0b

Tree-SHA512: d3a3b628d6f3ffe3b7485188a9cd278f98ad66ea32e9798388146995ff02ded7e50315a8e61d74c691e8d50f87391adefd39aa87a21c7135797a17fe666f7c1a
2022-12-14 18:31:20 +01:00
Antoine Poinsot
e85d8d73c1
Merge #219: Wording, phrasing, general update.
b20b98677e7b675e93b3a13d7c4bf37952698654 Update README.md (Kevin Loaec)
3bc1700880aaca859c9ff419aca0a2048134d28e Update README.md (Kevin Loaec)
95b8c8d3e0650002aceec0ecfb8672be1f6cdb58 Wording, phrasing, general update. (Kevin Loaec)

Pull request description:

ACKs for top commit:
  darosior:
    ACK b20b98677e7b675e93b3a13d7c4bf37952698654

Tree-SHA512: 42251028970ee31aa8e971675a6220184727f1fd34b6e580e239944681b2758dbceb0b00ff1cbdedb3e13cf635ec2a3dadf5e773d50327fb0d4209f204c241c1
2022-12-14 18:31:07 +01:00
Antoine Poinsot
89d2e67625
Windows reproducible builds using Docker 2022-12-14 18:17:56 +01:00
Antoine Poinsot
43ece74cf7
gui: target 'windows' subsystem for Windows targets 2022-12-14 18:17:31 +01:00
Kevin Loaec
3388ab9140
Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-12-14 15:46:02 -01:00
Kevin Loaec
e327104a0f
Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-12-14 15:45:20 -01:00
Kevin Loaec
d24bf43237
Update TRY.md 2022-12-14 15:43:33 -01:00
Kevin Loaec
7ae4992d88
Update doc/TRY.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-12-14 15:28:15 -01:00
Antoine Poinsot
030bfadaf7
bitcoind: decrease the sync progress roundup threshold 2022-12-14 16:51:17 +01:00
Antoine Poinsot
4560bc9ed2
bitcoind: move roundup_progress() to utils and unit test it 2022-12-14 16:51:16 +01:00
Kevin Loaec
b20b98677e
Update README.md 2022-12-14 14:45:17 -01:00
Kevin Loaec
3bc1700880
Update README.md
Co-authored-by: Antoine Poinsot <darosior@protonmail.com>
2022-12-14 14:39:55 -01:00
edouard
88c807d599
Merge #223: Gui add launcher
63be34b3d887d0d39f861b6ae46996d64a245b18 Add confirm network step to gui (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK 63be34b3d887d0d39f861b6ae46996d64a245b18

Tree-SHA512: 5952af35c6559ab91aeed330973dd2496a35d246c18d87266f81abb65effcfc4da11005c1e15ab7923d4f4db3709079987b0c3e527ca7611c244737ea8f10505
2022-12-14 12:28:32 +01:00
edouard
63be34b3d8 Add confirm network step to gui
User is asked which network to start with.
This is a required step in case the user
start the software without a console and
can not set himself the network or launch
the install for another non existing network.
2022-12-14 11:55:13 +01:00
edouard
a4299877eb
Merge #205: gui: add recovery feature
f43d99f0fbd851d9817b3668b26953f81c77c1f9 gui: add panel recovery (edouard)
f2facdf1641eaa0241201dee23e13dec63e534cc gui: add create_recovery command to client (edouard)
f4afed4d6a14ad9ea515a69ebf0c584106423075 bump liana master (edouard)

Pull request description:

  After #182, this fixes #180.

ACKs for top commit:
  edouardparis:
    Self-ACK f43d99f0fbd851d9817b3668b26953f81c77c1f9

Tree-SHA512: 49fa2582b5ef405b3ac79ce621792918afe00b0f6fd64bce626f84c11fc97c2b96459f3daf424e625eda31842f85982b0bf76da71afd36bd848e9a4d8fe96c27
2022-12-14 11:38:07 +01:00
edouard
f43d99f0fb gui: add panel recovery 2022-12-14 09:21:07 +01:00
edouard
f2facdf164 gui: add create_recovery command to client 2022-12-14 09:21:07 +01:00
edouard
f4afed4d6a bump liana master 2022-12-14 09:21:07 +01:00
Kevin Loaec
733b1240bd
Update CONTRIBUTING.md 2022-12-13 20:21:39 -01:00
Kevin Loaec
52341db41d
just put the whole gpg key
I'm quite sure it does the check for you. So i also removed the extra comment. If i'm doing something wrong plz educate me :D
2022-12-13 20:17:20 -01:00
Kevin Loaec
f6e1437695
Made it more user friendly. Also, ARCH <3
Replaced the confusing Recovery section with a detailed Ian Coleman keygen.
2022-12-13 20:09:30 -01:00