src/Stratis.Features.FederatedPeg/TargetChain/CrossChainTransferStore.cs
/// <summary>Persist the cross-chain transfer information into the database.</summary>
/// <param name="dbreezeTransaction">The DBreeze transaction context to use.</param>
/// <param name="crossChainTransfer">Cross-chain transfer information to be inserted.</param>
Persist the cross-chain transfer information into the database.
Persist the cross - chain transfer information into the database .
private void PutTransfer(DBreeze.Transactions.Transaction dbreezeTransaction, ICrossChainTransfer crossChainTransfer)
        {
            Guard.NotNull(crossChainTransfer, nameof(crossChainTransfer));
            byte[] crossChainTransferBytes = this.dBreezeSerializer.Serialize(crossChainTransfer);
            dbreezeTransaction.Insert<byte[], byte[]>(transferTableName, crossChainTransfer.DepositTransactionId.ToBytes(), crossChainTransferBytes);
        }
private void PutTransfer ( DBreeze . Transactions . Transaction dbreezeTransaction , ICrossChainTransfer crossChainTransfer ) { Guard . NotNull ( crossChainTransfer , nameof ( crossChainTransfer ) ) ; byte [ ] crossChainTransferBytes = this . dBreezeSerializer . Serialize ( crossChainTransfer ) ; dbreezeTransaction . Insert < byte [ ] , byte [ ] > ( transferTableName , crossChainTransfer . DepositTransactionId . ToBytes ( ) , crossChainTransferBytes ) ; }
Persist the cross-chain transfer information into the database.
Persist the cross - chain transfer information into the database .
dbreezeTransaction
DBreeze.Transactions.Transaction
The DBreeze transaction context to use.
The DBreeze transaction context to use .
crossChainTransfer
ICrossChainTransfer
Cross-chain transfer information to be inserted.
Cross - chain transfer information to be inserted .