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
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
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
1e7f676803
multi: fix linter issues
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
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