[−][src]Trait exonum_time::TimeOracleInterface
Time oracle service transaction.
Associated Types
type Output
Output of the methods in this interface.
Required methods
fn report_time(&self, ctx: Ctx, arg: TxTime) -> Self::Output
Receives a new time from one of validators.
Transaction sent not by a validator will be discarded.
Trait Implementations
impl<'a> Interface<'a> for dyn TimeOracleInterface<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>