[−][src]Struct grin_keychain::keychain::ExtKeychain
Trait Implementations
impl Keychain for ExtKeychain
[src]
fn from_seed(seed: &[u8], is_floo: bool) -> Result<ExtKeychain, Error>
[src]
fn from_mnemonic(
word_list: &str,
extension_word: &str,
is_floo: bool
) -> Result<Self, Error>
[src]
word_list: &str,
extension_word: &str,
is_floo: bool
) -> Result<Self, Error>
fn from_random_seed(is_floo: bool) -> Result<ExtKeychain, Error>
[src]
For testing - probably not a good idea to use outside of tests.
fn root_key_id() -> Identifier
[src]
fn derive_key_id(depth: u8, d1: u32, d2: u32, d3: u32, d4: u32) -> Identifier
[src]
fn derive_key(&self, amount: u64, id: &Identifier) -> Result<SecretKey, Error>
[src]
fn commit(&self, amount: u64, id: &Identifier) -> Result<Commitment, Error>
[src]
fn blind_sum(&self, blind_sum: &BlindSum) -> Result<BlindingFactor, Error>
[src]
fn create_nonce(&self, commit: &Commitment) -> Result<SecretKey, Error>
[src]
fn sign(
&self,
msg: &Message,
amount: u64,
id: &Identifier
) -> Result<Signature, Error>
[src]
&self,
msg: &Message,
amount: u64,
id: &Identifier
) -> Result<Signature, Error>
fn sign_with_blinding(
&self,
msg: &Message,
blinding: &BlindingFactor
) -> Result<Signature, Error>
[src]
&self,
msg: &Message,
blinding: &BlindingFactor
) -> Result<Signature, Error>
fn set_use_switch_commits(&mut self, value: bool)
[src]
fn secp(&self) -> &Secp256k1
[src]
impl Clone for ExtKeychain
[src]
fn clone(&self) -> ExtKeychain
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for ExtKeychain
[src]
Auto Trait Implementations
impl Send for ExtKeychain
impl Sync for ExtKeychain
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DebugAny for T where
T: Any + Debug,
T: Any + Debug,
impl<T> CloneAny for T where
T: Clone + Any,
T: Clone + Any,
fn clone_any(&self) -> Box<dyn CloneAny + 'static>
fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send> where
T: Send,
T: Send,
fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync> where
T: Sync,
T: Sync,
fn clone_any_send_sync(&self) -> Box<dyn CloneAny + 'static + Sync + Send> where
T: Send + Sync,
T: Send + Sync,
impl<T> UnsafeAny for T where
T: Any,
T: Any,
impl<T> Erased for T
impl<T> Same<T> for T
type Output = T
Should always be Self