[−][src]Struct script::TransactionInputSigner
Fields
version: i32
inputs: Vec<UnsignedTransactionInput>
outputs: Vec<TransactionOutput>
lock_time: u32
Methods
impl TransactionInputSigner[src]
impl TransactionInputSignerpub fn signature_hash(
&self,
input_index: usize,
input_amount: u64,
script_pubkey: &Script,
sigversion: SignatureVersion,
sighashtype: u32
) -> H256[src]
pub fn signature_hash(
&self,
input_index: usize,
input_amount: u64,
script_pubkey: &Script,
sigversion: SignatureVersion,
sighashtype: u32
) -> H256pub fn signed_input(
&self,
keypair: &KeyPair,
input_index: usize,
input_amount: u64,
script_pubkey: &Script,
sigversion: SignatureVersion,
sighash: u32
) -> TransactionInput[src]
pub fn signed_input(
&self,
keypair: &KeyPair,
input_index: usize,
input_amount: u64,
script_pubkey: &Script,
sigversion: SignatureVersion,
sighash: u32
) -> TransactionInputinput_index - index of input to sign script_pubkey - script_pubkey of input's previous_output pubkey
pub fn signature_hash_original(
&self,
input_index: usize,
script_pubkey: &Script,
sighashtype: u32,
sighash: Sighash
) -> H256[src]
pub fn signature_hash_original(
&self,
input_index: usize,
script_pubkey: &Script,
sighashtype: u32,
sighash: Sighash
) -> H256Trait Implementations
impl Debug for TransactionInputSigner[src]
impl Debug for TransactionInputSignerfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl From<Transaction> for TransactionInputSigner[src]
impl From<Transaction> for TransactionInputSignerUsed for resigning and loading test transactions
fn from(t: Transaction) -> Self[src]
fn from(t: Transaction) -> SelfPerforms the conversion.
Auto Trait Implementations
impl Send for TransactionInputSigner
impl Send for TransactionInputSignerimpl Sync for TransactionInputSigner
impl Sync for TransactionInputSignerBlanket Implementations
impl<T> From for T[src]
impl<T> From for Timpl<T, U> Into for T where
U: From<T>, [src]
impl<T, U> Into for T where
U: From<T>, impl<T, U> TryFrom for T where
T: From<U>, [src]
impl<T, U> TryFrom for T where
T: From<U>, type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized, [src]
impl<T> Borrow for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow(&self) -> &T[src]
ⓘImportant traits for &'a mut R
fn borrow(&self) -> &TImmutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
impl<T, U> TryInto for T where
U: TryFrom<T>, type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>🔬 This is a nightly-only experimental API. (
try_from)Performs the conversion.
impl<T> BorrowMut for T where
T: ?Sized, [src]
impl<T> BorrowMut for T where
T: ?Sized, ⓘImportant traits for &'a mut Rfn borrow_mut(&mut self) -> &mut T[src]
ⓘImportant traits for &'a mut R
fn borrow_mut(&mut self) -> &mut TMutably borrows from an owned value. Read more
impl<T> Any for T where
T: 'static + ?Sized, [src]
impl<T> Any for T where
T: 'static + ?Sized, fn get_type_id(&self) -> TypeId[src]
fn get_type_id(&self) -> TypeId🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
Gets the TypeId of self. Read more