621 Commits

Author SHA1 Message Date
MarcoFalke
bf02236239 Update TRY.md: Resolve dead link 2023-03-02 12:45:08 +01:00
Antoine Poinsot
26ff92d793
Merge #359: doc: some tiny additions to TRY.md
8b990a86efb426a33dc09df0f4d57517e803aace doc: some tiny additions to TRY.md (Antoine Poinsot)

Pull request description:

  After feedback from Kevin

ACKs for top commit:
  darosior:
    self-ACK 8b990a86efb426a33dc09df0f4d57517e803aace -- just some doc.

Tree-SHA512: e63c3beb2ab7c925a02dfade8f85379d504080af09671bff77f71fdbb73003e88bae1e99bf86720fe5ce8cf7124d4e09c467d4f081dfb21203507f49f8002577
2023-02-28 11:32:35 +01:00
Antoine Poinsot
8b990a86ef
doc: some tiny additions to TRY.md
After feedback from Kevin
2023-02-28 11:31:54 +01:00
Antoine Poinsot
5d5792197d
Merge #358: 0.3 release, part 2: update Liana dependency in the GUI, release 0.3 of the GUI
d24dc06d964bd89f491e483b0d0d3fc15541e03e doc: adapt the try-out guide to non-Linux platforms (Antoine Poinsot)
25760e88b4dc545ad79c29e9c1c45f760e260c7b README: various fixes, especially regarding hot keys now available (Antoine Poinsot)
c66eb430a863153229521f1897e6931a72e694bc doc: update the TRY.md tutorial to use hot keys (Antoine Poinsot)
1449c4865e02f34b72215c886cf4e1a7f0c6ca58 README: update the introduction with the current state of development (Antoine Poinsot)
46a4da38f80d65c3f38f9cdd256b9a82840cc8e1 gui: update Liana to 0.3 and release 0.3 (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    self-ACK d24dc06d964bd89f491e483b0d0d3fc15541e03e -- mostly documentation

Tree-SHA512: 41692c5b2e0fcfe10313bef04280e5b1338e8efd3339980a6b0cb1bb78bba41adf18b8b6b4d216e5699077eda094b295e47343d2f6497dc286e9d2e3424b06cc
2023-02-27 18:00:53 +01:00
Antoine Poinsot
d24dc06d96
doc: adapt the try-out guide to non-Linux platforms
It's not a first-class support but it should be usable on other
platforms now that we don't require running a HW simulator anymore.
2023-02-27 17:58:22 +01:00
Antoine Poinsot
25760e88b4
README: various fixes, especially regarding hot keys now available 2023-02-27 17:55:38 +01:00
Antoine Poinsot
c66eb430a8
doc: update the TRY.md tutorial to use hot keys 2023-02-27 16:57:50 +01:00
Antoine Poinsot
1449c4865e
README: update the introduction with the current state of development 2023-02-27 16:57:49 +01:00
Antoine Poinsot
46a4da38f8
gui: update Liana to 0.3 and release 0.3 2023-02-27 16:57:49 +01:00
Antoine Poinsot
fbde855ede
Merge #357: Release 0.3
b8cd0d0e27f1a507edad4521303c8f45587db973 Bump version to 0.3 (Antoine Poinsot)
4226da3c5a27d585134798fc172258d2dc4e4f0c CHANGELOG: 0.3 release notes (Antoine Poinsot)

Pull request description:

ACKs for top commit:
  darosior:
    ACK b8cd0d0e27f1a507edad4521303c8f45587db973

Tree-SHA512: dfb0680cb3ab682023c6db6462c61fee98eb9551a7d0b678ed4fefb9baffe8780bfa1e6a7b5a8e50029bf910cb1beb3b3269b1cd63158e9cc5a16691300b1f3f
2023-02-27 14:48:51 +01:00
Antoine Poinsot
b8cd0d0e27
Bump version to 0.3 2023-02-27 14:46:28 +01:00
Antoine Poinsot
4226da3c5a
CHANGELOG: 0.3 release notes 2023-02-27 14:33:02 +01:00
edouard
ca5c368c07
Merge #353: gui: enumerate multiple ledger devices
e26a6313180220ffa507ea4c0745fee8cf86ee25 gui: enumerate multiple ledger devices (edouard)

Pull request description:

  close #165

ACKs for top commit:
  edouardparis:
    Self-ACK e26a6313180220ffa507ea4c0745fee8cf86ee25

Tree-SHA512: 6eee38e49d75215db78d350a8480766e62ba34c874e88a15f0d0bcd49b8f16834054fc2a5c18e1a248aae42619f1b42505accaa79ecafa09d0e1bbddfdebacb6
2023-02-17 14:02:50 +01:00
edouard
b99069e700
Merge #354: installer: use DescriptorXKey without wildcard
8c11197b3111b1be5809b0f7515f81cb99db7188 installer: use DescriptorMultiXKey without wildcard (edouard)

Pull request description:

  close #350

ACKs for top commit:
  edouardparis:
    Self-ACK 8c11197b3111b1be5809b0f7515f81cb99db7188

Tree-SHA512: 7e91e64fa364daf402961680db574511c1ce604dc2507a08f1fbf69f6a1fb9d3393dc2623a914573e49091b22f4c7cd87a032645ae18675c842a17e1569b2d4d
2023-02-17 14:00:39 +01:00
Antoine Poinsot
eb6521b096
Merge #352: Transaction creation sanity checks fixes
518eb91064ac4120792b71cec8f52eb26e359b89 commands: print the PSBT in base64 on sanity checks failure (Antoine Poinsot)
6e1c41238faaca0b6cf7e4131885ec2588d2137c commands: have a detailed error for the insane fee sanity check (Antoine Poinsot)
c711c5b696b7c8353da29b3c451bf2ca00e8daa8 commands: don't overestimate the feerate in tx creation sanity checks (Antoine Poinsot)

Pull request description:

  Fixes #343

ACKs for top commit:
  edouardparis:
    utACK 518eb91064ac4120792b71cec8f52eb26e359b89

Tree-SHA512: 99ec10c5e7aa050fcb2b0ac6f0d546e14b2f00e75430ebdaceff78758880a7a8336bda84692738599b7a0f1d56a92db75321e4d2f4e218a42ac920e7dd8503a5
2023-02-17 11:02:22 +01:00
edouard
8c11197b31 installer: use DescriptorMultiXKey without wildcard
close #350
2023-02-17 10:12:18 +01:00
Antoine Poinsot
518eb91064
commands: print the PSBT in base64 on sanity checks failure
To make it readable..
2023-02-17 09:54:43 +01:00
Antoine Poinsot
6e1c41238f
commands: have a detailed error for the insane fee sanity check 2023-02-17 09:54:43 +01:00
edouard
e26a631318 gui: enumerate multiple ledger devices
close #165
2023-02-16 16:37:52 +01:00
Antoine Poinsot
c711c5b696
commands: don't overestimate the feerate in tx creation sanity checks
It was accounting for the transaction size without witnesses!
2023-02-16 16:09:54 +01:00
edouard
04eb511366
Merge #346: GUI: hot signer
26ad36f34e28e38a7c205343b6e5376a7f580e6f fix register descriptor prompt (edouard)
9fac6277f42b605200134e6a670cb3511edf80cc Sign with hot signer (edouard)
e76459d159630068f2c0bd9799ce908c30e42d6e Load hot signer in Wallet (edouard)
ecb3e114865b7e502b2a709f4bd2db4752de8976 installer: store mnemonic in datadir (edouard)
7a76754842b7eb688cbc6cd791c412f9006f407d Add title to installer final step (edouard)
c70ac114768a6410e01308bbc69ee4db853947e7 installer: add recover seed step (edouard)
037c4d025d651940ef42637ae5a6b8592dae56cb installer: add signer to participate wallet process (edouard)
233f9b1886078ad2a94704537df8dacfeb5fe06a installer: add backup mnemonic step (edouard)
f8dcd1116dfe820b6de18364b4d7ecaadbe0e7db Add hot signer to create descriptor step (edouard)
1f09653198aefd699afd0e2cc5d26235c3193fb8 Add signer module to gui (edouard)
f3f04a41b00aef014f7f45b3418f5913a4361b8e Use liana hot signer (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    ACK 26ad36f34e28e38a7c205343b6e5376a7f580e6f -- tested the branch merged on master.

Tree-SHA512: 578be77aff99c40aa21049bfccfb8d310d04ca48213f7af62ec8d5444e044a8375966568e496ff5443a48d2aac648387c410747d12ad15fa21a1bff613d17673
2023-02-16 15:09:08 +01:00
edouard
4f4327fd1f
Merge #351: Gui unconfirmed badge
9535b802584a153fd0e6fcb808d8af7aa067ec95 Add spent tag to confirmed broadcast tx (edouard)
120f87462f0402c8a056c4af2c318601174bdfb6 Change pending label for unconfirmed (edouard)

Pull request description:

  ![2023-02-16T10:39:22,026408712+01:00](https://user-images.githubusercontent.com/6933020/219334057-c3b0a3f3-500e-4f4e-9389-219a62e7a48a.png)

ACKs for top commit:
  edouardparis:
    Self-ACK 9535b802584a153fd0e6fcb808d8af7aa067ec95

Tree-SHA512: 537f65e96ea99821ea2d342e80c55d9e1c8508664cb9fadb00ef08531e0f4c337b33a53d93e397ab07dfc8f1e051e18445d87baf4fe34acb1793561c48e3eded
2023-02-16 13:39:58 +01:00
edouard
9535b80258 Add spent tag to confirmed broadcast tx
close #233
2023-02-16 10:49:22 +01:00
edouard
120f87462f Change pending label for unconfirmed
close #230
close #231
2023-02-16 10:41:29 +01:00
edouard
26ad36f34e fix register descriptor prompt 2023-02-16 09:59:57 +01:00
edouard
9fac6277f4 Sign with hot signer 2023-02-16 09:59:57 +01:00
edouard
e76459d159 Load hot signer in Wallet 2023-02-16 09:59:57 +01:00
edouard
ecb3e11486 installer: store mnemonic in datadir 2023-02-16 09:59:57 +01:00
edouard
7a76754842 Add title to installer final step 2023-02-16 09:59:57 +01:00
edouard
c70ac11476 installer: add recover seed step 2023-02-16 09:59:57 +01:00
edouard
037c4d025d installer: add signer to participate wallet process 2023-02-16 09:59:57 +01:00
edouard
233f9b1886 installer: add backup mnemonic step 2023-02-16 09:59:57 +01:00
edouard
f8dcd1116d Add hot signer to create descriptor step 2023-02-16 09:59:57 +01:00
edouard
1f09653198 Add signer module to gui 2023-02-16 09:59:57 +01:00
edouard
f3f04a41b0 Use liana hot signer 2023-02-16 09:59:57 +01:00
edouard
200d3777e0
Merge #293: Hot wallet support
20f394a452e425f4bdad0195637612499575a878 random: add a commented-out test i used to run ENT (Antoine Poinsot)
157eea989322eed2ea9553d3640e884fb657541a lib: re-export the bip39 dependency (Antoine Poinsot)
50f13d3e2e2802ebbc6efceccb03eafe352b1e77 signer: allow to the set the network for extended keys encoding (Antoine Poinsot)
f5e7632c73abef4f27f5617c877caf8574b3fe3b signer: expose a method for signing a PSBT (Antoine Poinsot)
b88874107e3b45876a63506ab67afbc710cd2a27 signer: add a method to get the xpub at a given path (Antoine Poinsot)
59e55ae9f2c33f4865ff28282325a5cf156ca37e signer: implement mnemonics storage, and initialization from storage (Antoine Poinsot)
d341b6dea9d7eb9663eb9a4ef55617340146dc1e signer: cache the master xpriv (Antoine Poinsot)
6e3b951e5452a3cd4a050bde32ee930f6613e601 signer: a new module with a BIP39-based hot signer (Antoine Poinsot)

Pull request description:

  This introduces a new `signer` module. Its purpose is to provide clients of the Liana daemon (such as the GUI) with tools to sign transactions.

  For now, the only signer available is a hot signer based on BIP39. It allows to generate new mnemonics from OS-provided randomness (with added randomness from the CPU if available and mixed-in contextual data). Mnemonics are stored in plaintext in a `mnemonics` folder at the root of a provided data directory.

  Fixes #49.

ACKs for top commit:
  edouardparis:
    ACK 20f394a452e425f4bdad0195637612499575a878

Tree-SHA512: 299476fdec69139cab9428e8466b4d320798ecd91a08251cac9d1fb086e43cffdb296eca4061a022a7182b5df2101977bb8300ead0d31f3f75988792145bba7f
2023-02-16 09:26:11 +01:00
Antoine Poinsot
20f394a452
random: add a commented-out test i used to run ENT
https://www.fourmilab.ch/random/

Entropy = 8.000000 bits per byte.

Optimum compression would reduce the size
of this 912444480 byte file by 0 percent.

Chi square distribution for 912444480 samples is 254.09, and randomly
would exceed this value 50.43 percent of the times.

Arithmetic mean value of data bytes is 127.4952 (127.5 = random).
Monte Carlo value for Pi is 3.141641048 (error 0.00 percent).
Serial correlation coefficient is 0.000022 (totally uncorrelated = 0.0).
2023-02-14 17:41:30 +01:00
Antoine Poinsot
157eea9893
lib: re-export the bip39 dependency 2023-02-14 17:41:30 +01:00
Antoine Poinsot
50f13d3e2e
signer: allow to the set the network for extended keys encoding 2023-02-14 17:41:29 +01:00
Antoine Poinsot
f7490614ae
Merge #347: daemonize: switch the pid and log file arguments
f10c35e964c74a9b60df8cd03ef084f6a47c53e6 daemonize: switch the pid and log file arguments (Antoine Poinsot)

Pull request description:

  The caller and the definition had them swapped.. So it was logging to the PID file and writing the PID to the log file..

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

Tree-SHA512: dc8be2ceedcb05a5eec444ff31b96053742537a86342fe9133aa4df354bb02ca70b7db633152b3f3a6cdeb7b63455d04fce6323c53b93f7365f89a8b4f2d0574
2023-02-13 12:10:07 +01:00
Antoine Poinsot
f10c35e964
daemonize: switch the pid and log file arguments
The caller and the definition had them swapped.. So it was logging to
the PID file and writing the PID to the log file..
2023-02-13 10:56:22 +01:00
Antoine Poinsot
f5e7632c73
signer: expose a method for signing a PSBT 2023-02-10 12:21:23 +01:00
Antoine Poinsot
b88874107e
signer: add a method to get the xpub at a given path 2023-02-10 12:21:22 +01:00
Antoine Poinsot
59e55ae9f2
signer: implement mnemonics storage, and initialization from storage 2023-02-10 12:21:22 +01:00
Antoine Poinsot
d341b6dea9
signer: cache the master xpriv 2023-02-10 12:21:21 +01:00
Antoine Poinsot
6e3b951e54
signer: a new module with a BIP39-based hot signer 2023-02-10 12:21:21 +01:00
Antoine Poinsot
e4d4fcd9fc
Merge #342: installer: clean unwraps and add logs to install finalization step
4131ee529df8b6015c09ffdfb691a43572ddf828 installer: clean unwraps and add logs to final step (edouard)

Pull request description:

ACKs for top commit:
  darosior:
    Thanks, always good to panic less! ACK 4131ee529df8b6015c09ffdfb691a43572ddf828

Tree-SHA512: df2eea4e5d707dd78543a148b49167f933da827eb3998aa9443bac8e94600594041d8bcd8a17c278d7ea6548e9ef3e4b6d570c466089b5a431a6c9f09a7b62a9
2023-02-09 17:37:32 +01:00
edouard
4131ee529d installer: clean unwraps and add logs to final step
GUI should handle failure gracefully with logs
instead of crashing.
2023-02-09 17:29:23 +01:00
edouard
88e5977166
Merge #344: lib: on Windows, delete leftover watchonly wallet in bitcoind datadir
f8e5bb22acd1fe975a0ec74785293da9f6438d57 bitcoind: don't crash on existing watchonly wallet, return an error. (Antoine Poinsot)
b43a90d52ad2ded33d69d3e2e4bc7ce12dcad4c6 lib: on Windows, delete leftover watchonly wallet in bitcoind datadir (Antoine Poinsot)

Pull request description:

  The Windows hack for the watchonly wallet comes back to bite us. The assumption that on a fresh data dir no watchonly wallet already exist does not hold on Windows anymore. Work around it by deleting potential leftover, and bail out of starting up if we detected one but couldn't delete it for whatever reason.

  Thanks to @kloaec for the bug report.

ACKs for top commit:
  edouardparis:
    ACK f8e5bb22acd1fe975a0ec74785293da9f6438d57

Tree-SHA512: 94026f1c944a50e89de2d82a2ade164b2fa9e3dc3858c448d04821e3eee90db51803e7767333eb914841eb7f50dc53cdffa9bb109ca97c6bdb45a8173bb09eaa
2023-02-09 17:25:26 +01:00
Antoine Poinsot
f8e5bb22ac
bitcoind: don't crash on existing watchonly wallet, return an error. 2023-02-09 17:03:53 +01:00