-
Notifications
You must be signed in to change notification settings - Fork 139
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
Implement GetKey
for KeyMap
#765
base: master
Are you sure you want to change the base?
Conversation
ba5b2bf
to
4a3bd7e
Compare
cc @LLFourn |
4a3bd7e
to
81b4923
Compare
Create a `KeyMay` type to replace the current `BTreeMap` alias and implement `bitcoin::psbt::GetKey` for it. Close: rust-bitcoin#709
81b4923
to
00342a1
Compare
Nice! Yeah, this is probably the right approach. In 00342a1 you have a bunch of Alternately, you could make |
Thanks @tcharding. It might be nice to be able to |
Yes I threw the |
Concept ACK |
Maybe in the longer term, a cleaner solution is to implement rust-bitcoin to implement impl_get_key_tuple!((T1, T2))
impl GetKey for Vec<T> where T: GetKey {
}
impl GetKey for BtreeSet<T>... |
Concept ACK. |
Create a
KeyMap
type to replace the currentBTreeMap
alias and implementbitcoin::psbt::GetKey
for it.Close: #709