Trait bitcoin_signingprovider::GetPubKey
source · pub trait GetPubKey {
// Required method
fn get_pub_key(
&self,
pos: i32,
arg: &SigningProvider,
key: &mut PubKey,
info: &mut KeyOriginInfo,
read_cache: *const DescriptorCache,
write_cache: *mut DescriptorCache
) -> bool;
}
Required Methods§
sourcefn get_pub_key(
&self,
pos: i32,
arg: &SigningProvider,
key: &mut PubKey,
info: &mut KeyOriginInfo,
read_cache: *const DescriptorCache,
write_cache: *mut DescriptorCache
) -> bool
fn get_pub_key( &self, pos: i32, arg: &SigningProvider, key: &mut PubKey, info: &mut KeyOriginInfo, read_cache: *const DescriptorCache, write_cache: *mut DescriptorCache ) -> bool
| Derive a public key. | | read_cache is the cache to read keys | from (if not nullptr) | | write_cache is the cache to write keys | to (if not nullptr) | | Caches are not exclusive but this is | not tested. Currently we use them exclusively |