450 Commits

Author SHA1 Message Date
edouard
863cea55d7
Merge #269: liana: 0.1
c31751dee3a42f8d3ed3f116b9bb2fd8c333fc1b liana: 0.1 (edouard)

Pull request description:

  Once this PR is merged, gui will have its liana last commit updated and version set to 0.1

ACKs for top commit:
  darosior:
    utACK c31751dee3a42f8d3ed3f116b9bb2fd8c333fc1b

Tree-SHA512: bc6e9340817363905dc1175b6c97d525c77d76d1cdbb91d1198099c07132ff2e8656ec29c9669c8ce47ba23327d65adb051996e2821ef16a1fa4243b4cd59692
2022-12-21 12:08:34 +01:00
edouard
c31751dee3 liana: 0.1 2022-12-21 11:44:41 +01:00
Antoine Poinsot
9f5308395c
Merge #266: Check the address network during spend creation
9e1c16bc3fef5aa01a62cb34304cc161d4623468 Check the address network during spend creation (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    utACK 9e1c16bc3fef5aa01a62cb34304cc161d4623468 check looks good to me

Tree-SHA512: 638d9d461230f487e8a150d02814baaa2a9c93ad2de339aa7f3f2436431276f41b4b833b7d5f2abdc505004fefd962d54596e581bfe732613f2765ef6d61260d
2022-12-20 23:36:28 +01:00
Antoine Poinsot
736e4767fa
Merge #267: commands: check addresses' network when creating transactions
ed6ff9c67b69b08e08e466102656b6765584dfce commands: check addresses' network when creating transactions (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  edouardparis:
    utACK ed6ff9c67b69b08e08e466102656b6765584dfce

Tree-SHA512: 91c51afa79e5135b4118c789d0208aaa3014e930c8434e904e7aec76adf2f12939971be5c5e062fa08e13f31ba69b63323ef0d685e11d71e662eebf60c8c1a3f
2022-12-20 23:36:09 +01:00
edouard
9e1c16bc3f Check the address network during spend creation 2022-12-20 18:44:50 +01:00
edouard
57e8545b22
Merge #268: fix launcher: exit on close event
09789b8161c04c9e1872d62232a8e95e97d42ab6 fix launcher: exit on close event (edouard)

Pull request description:

  close #264

ACKs for top commit:
  edouardparis:
    Self-ACK 09789b8161c04c9e1872d62232a8e95e97d42ab6

Tree-SHA512: e8c46719349320ef4fafd9cdf32a5967329e72999694ccf296ee27fa9307282c3645101e70de233bc1c7f1530b1b5afc9f366fb819e8f70a320843f6571204d4
2022-12-20 18:09:43 +01:00
Antoine Poinsot
ed6ff9c67b
commands: check addresses' network when creating transactions 2022-12-20 18:04:54 +01:00
edouard
09789b8161 fix launcher: exit on close event
close #264
2022-12-20 16:56:02 +01:00
Antoine Poinsot
f1aec2f4e4
Merge #262: contrib: fix windows archive creation in release script
a0404e5d69e895467a5a51621e728b78140eae8e contrib: fix windows archive creation in release script (Antoine Poinsot)

Pull request description:

  It would create an empty archive since it didn't recurse down the directories..

ACKs for top commit:
  darosior:
    ACK a0404e5d69e895467a5a51621e728b78140eae8e

Tree-SHA512: 60fb2b019244453c0dc003b3bf8df587d64d5663adc9ac0d9fa94f22c1f785189532c175db0076f2862edce78b638f06008f3e424c3f4b325a8f198a6841976a
2022-12-20 15:25:33 +01:00
Antoine Poinsot
c8f94cbc88
Merge #257: doc: add 2 missing dependencies to the quicktry document
fab61d9eebe6ad12df21a614c07f5db6e0263c4b doc: add 2 missing dependencies to the quicktry document (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    ACK fab61d9eebe6ad12df21a614c07f5db6e0263c4b

Tree-SHA512: 2cdb43fa9de5766c2b92fe83408f8a49935371699900c55332a8886cc4831c5f496f62a370577725c223b90020fc28dd01f0f0abf1b4e7628821a95cc4d63371
2022-12-20 15:24:59 +01:00
Antoine Poinsot
12bd92883d
Merge #261: Remove change_index from listspendtxs response
103c1950ba9af114cadde6f92117b31ec584ac73 Remove change_index from listspendtxs response (edouard)

Pull request description:

  Multiple change indexes may be present in a spend
  draft transaction and can be detected instead
  in the response psbt with the bip32_derivation
  outputs fields.

ACKs for top commit:
  darosior:
    utACK 103c1950ba9af114cadde6f92117b31ec584ac73

Tree-SHA512: 82619792c4424537e7320162c149ae946ca1fdc101661cf9bc3d0ba4d16f0327cc3cffd98f11165a9ab9db5d1690013f8ec9bdfe46bd6b1427c332b045d683a8
2022-12-20 15:24:25 +01:00
Antoine Poinsot
a0404e5d69
contrib: fix windows archive creation in release script
It would create an empty archive since it didn't recurse down the
directories..
2022-12-20 14:58:23 +01:00
edouard
4f2e19b2a6
Merge #260: fix spend change detection
a56cab73c5c0193a90732f3ba0c2c5be7b993928 fix spend change detection (edouard)

Pull request description:

  Use the presence of bip32_derivation
  in the spend outputs to detect the
  change outputs.

ACKs for top commit:
  edouardparis:
    Self-ACK a56cab73c5c0193a90732f3ba0c2c5be7b993928

Tree-SHA512: 092f8929ebed4ff4c80d8425a1c83831d165a5d31d0c80bc9aac26edf3dffb0241d547fe4fc5208e0dcb4caa39c09f85f3898af56cd0cd03136e5404b503d02e
2022-12-20 14:08:45 +01:00
edouard
103c1950ba Remove change_index from listspendtxs response
Multiple change indexes may be present in a spend
draft transaction and can be detected instead
in the response psbt with the bip32_derivation
outputs fields.
2022-12-20 14:00:16 +01:00
edouard
a56cab73c5 fix spend change detection
Use the presence of bip32_derivation
in the spend outputs to detect the
change outputs.
2022-12-20 12:40:22 +01:00
edouard
edb1659f89
Merge #258: cargo update -p liana
c77bb45bbfe978153bdfc00e2f46629e14d6277a cargo update -p liana (edouard)

Pull request description:

ACKs for top commit:
  edouardparis:
    Self-ACK c77bb45bbfe978153bdfc00e2f46629e14d6277a

Tree-SHA512: 6196c5f25be62f36e879faeed3f75b3a88472e4870c80d132e0c096e1c89c218085ef0b672e9649a9374ede4142a3b60c96f23dcf77e1e16793a0446c3895625
2022-12-19 15:29:27 +01:00
edouard
c77bb45bbf cargo update -p liana 2022-12-19 14:51:40 +01:00
Antoine Poinsot
fab61d9eeb
doc: add 2 missing dependencies to the quicktry document 2022-12-19 10:16:07 +01:00
Antoine Poinsot
2e7c7826e9
Merge #254: README: mention codesigning and explain how to install Liana's dmg
b3147960759fd6efb39cc6d11644a7ad120260cd README: mention codesigning and explain how to install Liana's dmg anyways (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    ACK b3147960759fd6efb39cc6d11644a7ad120260cd

Tree-SHA512: e976c365bc999adf7a5597acbae867ef588339d0d04895e521ab65373cc659989fcdd4cfa21807a6e662158e6249c84007a7c87911496cdac0be8c1d12c606e5
2022-12-19 09:16:19 +01:00
Antoine Poinsot
b314796075
README: mention codesigning and explain how to install Liana's dmg anyways 2022-12-18 11:45:21 +01:00
Antoine Poinsot
b63416b884
Merge #251: Release script
c5f38ecb4acddbb7f813215518fb45ce4f1da65b contrib: add a script to produce the assets to be released (Antoine Poinsot)
e7f43492f9061b9fa9f391e4dfde28d9d66954db contrib: utilities for releasing a macOS application in a dmg (Antoine Poinsot)

Pull request description:

  This adds a script to produce the binaries and packages we will be releasing. It:
  1. Runs the deterministic build for each platform
  2. Package them nicely according to the platform's requirements
  3. Create a detached sig for each asset with my key, `590B 7292 695A FFA5 B672  CBB2 E13F C145 CD3F 4304`

  Thanks to the Bitcoin Core project for the work on creating a neat `.dmg`, i mostly stole what's here from there.

  Fixes #42.

ACKs for top commit:
  darosior:
    ACK c5f38ecb4acddbb7f813215518fb45ce4f1da65b

Tree-SHA512: 98c92ca51fa0893541ce246cd0ca0e1e6e99f9a56aa70269d4c8e67122116adb282fc49995beee4be6fc3ed53fcb1fb93274b29588084b3ef0c9187cd7e205ad
2022-12-18 11:36:44 +01:00
Antoine Poinsot
c5f38ecb4a
contrib: add a script to produce the assets to be released 2022-12-18 11:34:40 +01:00
Antoine Poinsot
e7f43492f9
contrib: utilities for releasing a macOS application in a dmg
This was mostly inspired by (or outright stolen from) the Bitcoin Core
project. I think most contributions in this area were Michael Ford's
(fanquake), so credits to him.

This is everything that needs to be present in a dmg in order to have a
nice fancy installation drag-and-drop screen. Configuration contains
dummy values to be replaced with specifics at release time.
2022-12-18 11:34:39 +01:00
Antoine Poinsot
aecb063a87
Merge #253: Final doc additions
c9551eca00f555bc486dcf3feac5c0184193c961 README: mention the minimum supported Ledger Bitcoin app version (Antoine Poinsot)
75a26a7f8eb6853c3ab77bb92fd31164d436bf20 README: add a small paragraph on recovery (Antoine Poinsot)
361367a75a873a94352d44514278f8f70b89fa8d doc: document the download of Liana binaries (Antoine Poinsot)

Pull request description:

  Some additions to the documentation that were missing or depending on other things.

ACKs for top commit:
  darosior:
    ACK c9551ec

Tree-SHA512: c78f952396afd489416936f883bf702e3b0703a20b13e0c48493b04d8fe9b51fc67bc396b8cc26cf061b7430a4cf0716de006858c7cfc894b0cd8a4c9abb0993
2022-12-18 11:31:03 +01:00
Antoine Poinsot
c9551eca00
README: mention the minimum supported Ledger Bitcoin app version
Fixes #203
2022-12-18 11:19:04 +01:00
Antoine Poinsot
75a26a7f8e
README: add a small paragraph on recovery 2022-12-18 11:10:57 +01:00
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
361367a75a
doc: document the download of Liana binaries 2022-12-18 10:54:20 +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