Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Entry.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4
6{
10 public class Entry
11 {
12 private readonly EntryType type;
13 private readonly DateTime timestamp;
14 private readonly byte[] data;
15
22 public Entry(EntryType Type, DateTime Timestamp, byte[] Data)
23 {
24 this.type = Type;
25 this.timestamp = Timestamp;
26 this.data = Data;
27 }
28
32 public EntryType Type => this.type;
33
37 public DateTime Timestamp => this.timestamp;
38
42 public byte[] Data => this.data;
43 }
44}
Represents an entry in a block or bucket file.
Definition: Entry.cs:11
byte[] Data
Binary data of entry.
Definition: Entry.cs:42
Entry(EntryType Type, DateTime Timestamp, byte[] Data)
Represents an entry in a block or bucket file.
Definition: Entry.cs:22
DateTime Timestamp
Timestamp of entry.
Definition: Entry.cs:37
EntryType Type
Entry Type
Definition: Entry.cs:32
EntryType
Ledger entry type.
Definition: ILedgerEntry.cs:9