// System
using System;
namespace GUPS.AntiCheat.Protected.Collection.Chain
{
///
/// Represents a transaction inside a block from a blockchain. A transaction contains a timestamp (the time it was added to the blockchain)
/// and a content of type T.
///
/// The type of the content of the transaction.
public interface ITransaction
{
///
/// The timestamp of the transaction, when it was added to the blockchain. Recommended to use at least milliseconds.
///
Int64 Timestamp { get; }
///
/// The serializeable content of the transaction.
///
T Content { get; }
}
}