2
0
mirror of https://github.com/guggero/chantools synced 2024-11-01 15:40:11 +00:00
Commit Graph

55 Commits

Author SHA1 Message Date
Oliver Gugger
7f840cf03b
signpsbt+lnd: fix signing for P2WKH 2024-04-12 10:33:24 +02:00
Oliver Gugger
e80dcbfb67
lnd+cmd/chantools: add AddPartialSignatureForPrivateKey to signer 2024-03-27 18:22:49 +01:00
Oliver Gugger
37179e5215
lnd+cmd/chantools: extract functions from walletinfo 2024-03-27 18:22:49 +01:00
Oliver Gugger
a3a00d410a
lnd: extract ReadPassphrase into own function 2024-03-27 18:17:54 +01:00
Oliver Gugger
a05962e03e
multi: standardize sweep/change addr support 2024-01-04 09:23:54 +01:00
Oliver Gugger
7e3ea44fd4
multi: standardize address checks 2024-01-04 09:23:12 +01:00
Oliver Gugger
5cf7fd60c4
multi: clean up after PRs 2023-12-29 09:35:38 +01:00
Oliver Gugger
92fdb156e0
Merge pull request #100 from lightninglabs/pullanchor
multi: add new pullanchor command
2023-12-28 14:47:58 +01:00
Oliver Gugger
2abc29d01d
Merge pull request #106 from lightninglabs/sweepremoteclosed-taproot-channels
sweepremoteclosed: add support for simple taproot channels
2023-12-28 14:47:46 +01:00
Oliver Gugger
7227c7f101
multi: add new pullanchor command 2023-12-28 14:45:14 +01:00
Oliver Gugger
801f881274
sweepremoteclosed: add support for simple taproot channels 2023-12-22 11:55:03 +01:00
Oliver Gugger
3044d9f796
lnd: add ExtractChannel function 2023-11-07 20:22:38 -06:00
bitromortac
4f083e1c1d
multi: bump to lnd version v0.17.0-beta 2023-10-16 14:26:57 +02:00
sputn1ck
2c2de636a8
signer: allow signing of an output with privkey
This commit adds the functionality to sign an output with an already
obtained privatekey.
2023-06-02 10:27:21 +02:00
Oliver Gugger
2e9a0f8dbe
multi: use prev output fetcher in sign desc 2023-04-28 10:18:40 +02:00
Oliver Gugger
890a1ca319
multi: use prev output fetcher everywhere 2023-04-28 09:21:48 +02:00
ziggie
49632cce5a
lnd: add PrevoutInput Fetcher for SignDesc
Currently chantools crashes when trying to get the force-close
summary because the new btcd version needs a prevoutInput fetcher
otherwise we get a nil error.
2023-04-20 14:18:03 +02:00
Oliver Gugger
8f80d0e8b4
closepoolaccount: add compatibility for p2tr accounts 2023-04-01 15:19:09 +02:00
Oliver Gugger
2f0cdf48ad
multi: fix linter issues 2023-03-08 13:30:30 +01:00
Oliver Gugger
083453ef5d
multi: add triggerforceclose command 2023-02-25 14:18:43 +01:00
Oliver Gugger
a594f05e73
multi: fix linter issues 2023-02-23 11:32:16 +01:00
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