[−][src]Trait exonum_btc_anchoring::blockchain::transactions::BtcAnchoringInterface
Exonum BTC anchoring transactions.
Associated Types
type Output
Value output by the interface.
Required methods
fn sign_input(&self, context: Ctx, arg: SignInput) -> Self::Output
Signs a single input of the anchoring transaction proposal.
fn add_funds(&self, context: Ctx, arg: AddFunds) -> Self::Output
Add funds via suitable funding transaction.
Bitcoin transaction should have output with value to the current anchoring address. The transaction will be applied if 2/3+1 anchoring nodes sent it.
Trait Implementations
impl<'a> Interface<'a> for dyn BtcAnchoringInterface<ExecutionContext<'a>, Output = Result<(), ExecutionError>>
[src]
const INTERFACE_NAME: &'static str
[src]
fn dispatch(
&self,
context: ExecutionContext<'a>,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>
[src]
&self,
context: ExecutionContext<'a>,
method: MethodId,
payload: &[u8]
) -> Result<(), ExecutionError>