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