pub struct LegacySigningProvider { /* private fields */ }Expand description
| Wraps a LegacyScriptPubKeyMan so that | it can be returned in a new unique_ptr. | Does not provide privkeys |
Implementations§
source§impl LegacySigningProvider
impl LegacySigningProvider
pub fn new(spk_man: &LegacyScriptPubKeyMan) -> Self
pub fn get_cscript(&self, scriptid: &ScriptID, script: &mut Script) -> bool
pub fn have_cscript(&self, scriptid: &ScriptID) -> bool
pub fn get_pub_key(&self, address: &KeyID, pubkey: &mut PubKey) -> bool
pub fn get_key(&self, address: &KeyID, key: &mut Key) -> bool
pub fn have_key(&self, address: &KeyID) -> bool
pub fn get_key_origin(&self, keyid: &KeyID, info: &mut KeyOriginInfo) -> bool
Auto Trait Implementations§
impl !RefUnwindSafe for LegacySigningProvider
impl !Send for LegacySigningProvider
impl !Sync for LegacySigningProvider
impl Unpin for LegacySigningProvider
impl !UnwindSafe for LegacySigningProvider
Blanket Implementations§
§impl<T, U> CastInto<U> for Twhere
U: CastFrom<T>,
impl<T, U> CastInto<U> for Twhere U: CastFrom<T>,
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> StaticUpcast<T> for T
impl<T> StaticUpcast<T> for T
§unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
unsafe fn static_upcast(ptr: Ptr<T>) -> Ptr<T>
Convert type of a const pointer. Read more