Split up key and script metadata for better type safety
commit9c8eca7704e88b3f4ee38cf85bef0f1febc440e5
authorRussell Yanofsky <russ@yanofsky.org>
Fri, 8 Dec 2017 17:50:46 +0000 (8 12:50 -0500)
committerRussell Yanofsky <russ@yanofsky.org>
Fri, 8 Dec 2017 17:50:46 +0000 (8 12:50 -0500)
tree65a5fb461a02112b1e167e3ecfa522cffcdc4414
parent4ef4dfebbc07d93d72899f60e01ca77a280c9122
Split up key and script metadata for better type safety

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.
src/rpc/misc.cpp
src/wallet/wallet.cpp
src/wallet/wallet.h
src/wallet/walletdb.cpp