mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
This PR associates OutputType::BECH32 to PAK online keys, where before we were able to directly access keys from the keypool. In a future refactoring we should give PAK keys their own output type (and own scriptpubkey manager) so that the wallet won't accept payments "to the PAK key". Also changes `ReserveDestination::SetBlindingPubKey` to use a visitor pattern to apply a blinding pubkey to a destination directly, rather than using the old hacky method of regenerating the destination by pulling its key (which is no longer contained in the class) out and giving it to a new constructor. This was a long-overdue refactoring and the minimal-diff way to get the code compiling (and it's not bad, maybe 10LOC to add a new visitor class) but nonetheless I apologize for sticking this into a merge commit. |
||
|---|---|---|
| .. | ||
| bitcoinconsensus.cpp | ||
| bitcoinconsensus.h | ||
| descriptor.cpp | ||
| descriptor.h | ||
| generic.hpp | ||
| interpreter.cpp | ||
| interpreter.h | ||
| keyorigin.h | ||
| script.cpp | ||
| script.h | ||
| script_error.cpp | ||
| script_error.h | ||
| sigcache.cpp | ||
| sigcache.h | ||
| sign.cpp | ||
| sign.h | ||
| signingprovider.cpp | ||
| signingprovider.h | ||
| standard.cpp | ||
| standard.h | ||