Ejemplo n.º 1
0
 public LedgerLight(long height, long timestamp, LedgerHash lastledger, ProtocolVersion version)
 {
     Height     = height;
     Timestamp  = timestamp;
     Lastledger = lastledger;
     Version    = version;
 }
Ejemplo n.º 2
0
 public SignedNewLedger(LedgerHash hash, long height, long timestamp, LedgerHash previousLedgerHash, IEnumerable <Signature> signatures)
 {
     Hash               = hash;
     Height             = height;
     Timestamp          = timestamp;
     PreviousLedgerHash = previousLedgerHash;
     Signatures         = signatures;
 }
Ejemplo n.º 3
0
 public SignedNewLedger(SignedLedger ledger)
 {
     Hash               = ledger.Hash;
     Height             = ledger.Ledger.LedgerLight.Height;
     Timestamp          = ledger.Ledger.LedgerLight.Timestamp;
     PreviousLedgerHash = ledger.Ledger.LedgerLight.Lastledger;
     Signatures         = ledger.Signatures.ToList();
 }