Suggested by @TheBlueMatt #11403 (review)
Combining the maps was probably never a good arrangement but is more problematic now in presence of WitnessV0ScriptHash and WitnessV0KeyHash types.
Suggested by @TheBlueMatt #11403 (review)
Combining the maps was probably never a good arrangement but is more problematic now in presence of WitnessV0ScriptHash and WitnessV0KeyHash types.
Suggested by Matt Corallo <git@bluematt.me>
https://github.com/bitcoin/bitcoin/pull/11403#discussion_r155599383
Combining the maps was probably never a good arrangement but is more
problematic now in presence of WitnessV0ScriptHash and WitnessV0KeyHash types.
utACK 9c8eca7704e88b3f4ee38cf85bef0f1febc440e5
Looks like an obvious cleanup for the current state of things. Over time, I think this metadata should be associated with scriptPubKeys or chains thereof rather than with keys, but that’s much more invasive.