Merge c7dd9ff71b into merged_master (Bitcoin PR bitcoin/bitcoin#22051)

Does the bare minimum to introduce Taproot wallet support with CT; just
adds a CPubKey blinding_pubkey to the taproot destination variant and
updates some visitors.

In future when we define blech32 we will need to make sure we are using
that encoding and using the pubkey.
This commit is contained in:
Andrew Poelstra 2021-07-21 23:15:57 +00:00
commit 3ffb9aa14f
17 changed files with 876 additions and 55 deletions

View file

@ -966,6 +966,11 @@ public:
id.blinding_pubkey = blind_key;
}
void operator()(WitnessV1Taproot& tap) const
{
tap.blinding_pubkey = blind_key;
}
void operator()(WitnessUnknown& id) const
{
id.blinding_pubkey = blind_key;