/// This creates a block and adds it to the ledger
This creates a block and adds it to the ledger
This creates a block and adds it to the ledger
pub fn add_payment(
        &mut self,
        memo: Memo,
        payment: Operation,
        created_at_time: Option<TimeStamp>,
    ) -> Result<(BlockHeight, HashOf<EncodedBlock>), PaymentError> {
        self.add_payment_with_timestamp(memo, payment, created_at_time, dfn_core::api::now().into())
    }
pub fn add_payment ( & mut self , memo : Memo , payment : Operation , created_at_time : Option < TimeStamp > , ) -> Result < ( BlockHeight , HashOf < EncodedBlock > ) , PaymentError > { self . add_payment_with_timestamp ( memo , payment , created_at_time , dfn_core :: api :: now ( ) . into ( ) ) }
This creates a block and adds it to the ledger
This creates a block and adds it to the ledger
&mut self
memo
Memo
payment
Operation
created_at_time
Option<TimeStamp>