BlockChain: Make data structure easily serializable.

This commit is contained in:
2020-09-07 00:46:37 +02:00
parent 8d16a546d5
commit 127add53c0
3 changed files with 12 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ namespace BasicBlockChain.Core
public long MicroCoinAmount { get; set; }
public DateTime Date { get; set; }
public Transaction() { }
public Transaction(string sender, string receiver, long microCoinAmount, DateTime date)
{
Sender = sender;