pub struct FillableSigningProvider<T> { /* private fields */ }
Expand description
| Fillable signing provider that keeps | keys in an address->secret map |
Implementations§
source§impl<T> FillableSigningProvider<T>
impl<T> FillableSigningProvider<T>
pub fn get_pub_key(&self, address: &KeyID, vch_pub_key_out: &mut PubKey) -> bool
pub fn add_key_pub_key(&mut self, key: &Key, pubkey: &PubKey) -> bool
pub fn have_key(&self, address: &KeyID) -> bool
pub fn get_keys(&self) -> HashSet<KeyID>
pub fn get_key(&self, address: &KeyID, key_out: &mut Key) -> bool
pub fn add_script(&mut self, redeem_script: &Script) -> bool
pub fn have_script(&self, hash: &ScriptID) -> bool
pub fn get_scripts(&self) -> HashSet<ScriptID>
pub fn get_script( &self, hash: &ScriptID, redeem_script_out: &mut Script ) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<T> !RefUnwindSafe for FillableSigningProvider<T>
impl<T> Send for FillableSigningProvider<T>where T: Send,
impl<T> Sync for FillableSigningProvider<T>where T: Send,
impl<T> Unpin for FillableSigningProvider<T>
impl<T> !UnwindSafe for FillableSigningProvider<T>
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