Oliver Gugger
602cda19c3
lnd: extract ParseAddress
2022-11-16 16:30:31 +01:00
Oliver Gugger
b30c4ce767
multi: fix linter errors
2022-10-29 14:43:10 +02:00
Oliver Gugger
ff4f4a2ebf
derivekey+genimportscript: add p2tr address support
2022-10-29 14:30:37 +02:00
Oliver Gugger
abeca5fcd8
multi: fix linter issues
2022-07-25 12:13:05 -05:00
Oliver Gugger
aad53a2f3c
multi: update to lnd v0.15.0-beta
2022-07-18 09:23:55 +02:00
Oliver Gugger
3fd5218252
lnd: fix key derivation for good
2022-03-23 00:11:32 +01:00
Oliver Gugger
ece46945b1
lnd: fix another bug in key derivation
...
Turns out, the same "we create a default account immediately but any
other account is loaded from the DB" rule applies to the coin type key
too.
2022-03-22 21:42:19 +01:00
Oliver Gugger
af563bb1c6
lnd: replicate btcwallet's key derivation exactly
...
There's this special case in lnd's wallet (btcwallet) where
the coin type and account keys are always serialized as a
string and encrypted, which actually fixes the key padding
issue that makes the difference between DeriveNonStandard and
Derive. To replicate lnd's behavior exactly, we need to
serialize and de-serialize the extended key at the coin type
and account level (depth = 2 or depth = 3). This does not
apply to the default account (id = 0) because that is always
derived directly.
2022-03-15 12:47:10 +01:00
Oliver Gugger
2f5f081518
lnd+signrescuefunding: use DeriveNonStandard to be compatible with lnd
2021-12-20 11:27:55 +01:00
Oliver Gugger
a239f944d6
multi: update lnd dependency to v0.14.1-beta
2021-12-13 10:34:26 +01:00
Oliver Gugger
a1d6ae8bae
sweeptimelockmanual: refactor and implement new ECDH format
...
We need to implement the new ECDH based revocation root format.
2021-11-11 13:51:10 +01:00
Oliver Gugger
ce3cc2ceef
genimportscript: add Electrum format, write result to file
2021-08-29 22:04:53 +02:00
Oliver Gugger
0821c35442
sweepremoteclosed: add command for sweeping closed channels
2021-08-29 18:29:05 +02:00
Oliver Gugger
883705f2f0
multi: update lnd version to v0.13.1-beta
2021-07-26 10:51:37 +02:00
Oliver Gugger
994b669a0c
lnd+walletinfo: return more verbose error on DB timeout
...
Fixes #18 . Any bbolt database has a unique lock, meaning it cannot be
opened by two processes at the same time. The simple "timeout" error
that is returned if opening fails is not very informative though.
2021-05-07 19:17:29 +02:00
Oliver Gugger
af356685c1
zombierecovery: add new commands for zombie channel recovery
2021-05-02 21:30:31 +02:00
Oliver Gugger
7a3c9a3f0b
derivekey: add new --identity flag for lnd identity_pubkey
2021-05-02 17:45:47 +02:00
Oliver Gugger
53f886cf43
fakechanbackup: create fake backup from graph data
2021-05-02 15:52:43 +02:00
Oliver Gugger
156650fe48
lnd: add more context to address decode error
2021-03-14 12:12:01 +01:00
Oliver Gugger
fa62a57e95
multi: add unit tests
2021-01-01 13:02:16 +01:00
Oliver Gugger
1e7f676803
multi: fix linter issues
2020-12-15 12:58:32 +01:00
Oliver Gugger
aaf5a161f5
walletinfo: add missing timeout arg to walletdb open
2020-12-15 12:52:06 +01:00
Oliver Gugger
7eee3cde5e
multi: update to lnd v0.11.1-beta
2020-12-14 23:30:18 +01:00
Oliver Gugger
ce0964a3bd
lnd: allow reading aezeed mnemonic and passphrase from env variables
2020-10-29 19:55:58 +01:00
Oliver Gugger
c797965648
multi: rename ReadAezeedFromTerminal to ReadAezeed
2020-10-29 19:46:41 +01:00
Oliver Gugger
4f343dd8f1
Add sweeptimelockmanual command
2020-08-30 14:00:19 +02:00
Oliver Gugger
4a633da99e
Add rescuefunding and signrescuefunding commands
2020-08-26 23:14:38 +02:00
Oliver Gugger
3a8d95c4ba
Add vanitygen command
2020-08-08 12:30:43 +02:00
Oliver Gugger
b5d3485fe0
btc+lnd: allow to paste seed with numbers, dots and spaces from lnd backup output
2020-08-06 17:04:06 +02:00
Oliver Gugger
beb99948db
Extract ReadAezeedFromTerminal into library function
2020-06-14 11:26:54 +02:00
Oliver Gugger
338c22fc2e
Begin implementing rescuefunding command
2020-04-26 22:36:44 +02:00
Oliver Gugger
4c92de59e5
Refactor genimportscript command
2020-04-02 10:27:38 +02:00
Oliver Gugger
a399c2ceed
Start exporting library functions
2020-03-30 18:33:00 +02:00
Oliver Gugger
9c2b85c21b
multi: move lnd specific code to own package
2020-03-30 18:14:04 +02:00