Oliver Gugger
abeca5fcd8
multi: fix linter issues
2 years ago
Oliver Gugger
aad53a2f3c
multi: update to lnd v0.15.0-beta
2 years ago
Oliver Gugger
3fd5218252
lnd: fix key derivation for good
3 years ago
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.
3 years ago
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.
3 years ago
Oliver Gugger
2f5f081518
lnd+signrescuefunding: use DeriveNonStandard to be compatible with lnd
3 years ago
Oliver Gugger
a239f944d6
multi: update lnd dependency to v0.14.1-beta
3 years ago
Oliver Gugger
a1d6ae8bae
sweeptimelockmanual: refactor and implement new ECDH format
...
We need to implement the new ECDH based revocation root format.
3 years ago
Oliver Gugger
ce3cc2ceef
genimportscript: add Electrum format, write result to file
3 years ago
Oliver Gugger
0821c35442
sweepremoteclosed: add command for sweeping closed channels
3 years ago
Oliver Gugger
883705f2f0
multi: update lnd version to v0.13.1-beta
3 years ago
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.
3 years ago
Oliver Gugger
af356685c1
zombierecovery: add new commands for zombie channel recovery
3 years ago
Oliver Gugger
7a3c9a3f0b
derivekey: add new --identity flag for lnd identity_pubkey
3 years ago
Oliver Gugger
53f886cf43
fakechanbackup: create fake backup from graph data
3 years ago
Oliver Gugger
156650fe48
lnd: add more context to address decode error
4 years ago
Oliver Gugger
fa62a57e95
multi: add unit tests
4 years ago
Oliver Gugger
1e7f676803
multi: fix linter issues
4 years ago
Oliver Gugger
aaf5a161f5
walletinfo: add missing timeout arg to walletdb open
4 years ago
Oliver Gugger
7eee3cde5e
multi: update to lnd v0.11.1-beta
4 years ago
Oliver Gugger
ce0964a3bd
lnd: allow reading aezeed mnemonic and passphrase from env variables
4 years ago
Oliver Gugger
c797965648
multi: rename ReadAezeedFromTerminal to ReadAezeed
4 years ago
Oliver Gugger
4f343dd8f1
Add sweeptimelockmanual command
4 years ago
Oliver Gugger
4a633da99e
Add rescuefunding and signrescuefunding commands
4 years ago
Oliver Gugger
3a8d95c4ba
Add vanitygen command
4 years ago
Oliver Gugger
b5d3485fe0
btc+lnd: allow to paste seed with numbers, dots and spaces from lnd backup output
4 years ago
Oliver Gugger
beb99948db
Extract ReadAezeedFromTerminal into library function
4 years ago
Oliver Gugger
338c22fc2e
Begin implementing rescuefunding command
4 years ago
Oliver Gugger
4c92de59e5
Refactor genimportscript command
5 years ago
Oliver Gugger
a399c2ceed
Start exporting library functions
5 years ago
Oliver Gugger
9c2b85c21b
multi: move lnd specific code to own package
5 years ago