-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hsmtool: enable dumping output descriptors of onchain wallet #4171
Hsmtool: enable dumping output descriptors of onchain wallet #4171
Commits on Nov 9, 2020
-
common: add a descriptor checksum computation module
This is stolen from William's clightning-dumpkeys (https://github.com/jb55/clightning-dumpkeys), itself adapted from https://github.com/bitcoin/bitcoin/blob/42b66a6b814bca130a9ccf0a3f747cf33d628232/src/script/descriptor.cpp#L25 Co-authored-by: William Casarin <jb55@jb55.com> Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for b7bb581 - Browse repository at this point
Copy the full SHA b7bb581View commit details -
fuzz: add a 'to_string' function to libfuzz
We want to use it outside of fuzz-amount Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8b2466f - Browse repository at this point
Copy the full SHA 8b2466fView commit details -
fuzz: add a fuzz target for common/descriptor_checksum
A small one just to check that we don't crash nor go out of bounds! Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 97c7b02 - Browse repository at this point
Copy the full SHA 97c7b02View commit details -
tools: add a new 'dumponchaindescriptors' command to hsmtool
This adds a command which outputs the two output descriptors corresponding to our onchain wallet. This can be useful for an external service to monitor / send fund to our wallet. Further, an "xpriv" version of such descriptors could be used to import onchain funds on a new wallet. Changelog-Added: lightning-hsmtool: a new command was added to hsmtool for dumping descriptors of the onchain wallet Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for db1d282 - Browse repository at this point
Copy the full SHA db1d282View commit details -
hsmtool: add a 'testnet' option to 'dumponchaindescriptors'
Actually, it's more complex to translate the xpub descriptor to testnet because of the descriptor checksum. Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1b31831 - Browse repository at this point
Copy the full SHA 1b31831View commit details -
pytest: create a wallet for bitcoind if none is present
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8861142 - Browse repository at this point
Copy the full SHA 8861142View commit details -
pytest: test onchain wallet descriptor import on bitcoind
Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0b3c476 - Browse repository at this point
Copy the full SHA 0b3c476View commit details -
doc: document output descriptors in hsmtool
Touch a bit about it as a backup/recovery mechanism in the FAQ Signed-off-by: Antoine Poinsot <darosior@protonmail.com>
Configuration menu - View commit details
-
Copy full SHA for 29e5764 - Browse repository at this point
Copy the full SHA 29e5764View commit details