public class Block extends Object
| Constructor and Description |
|---|
Block(Proof p)
Constructor for the OmniBlock held in the given Proof.
|
Block(SkipBlock sb)
Instantiates a new OmniBlock given a skipblock.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Sha256id |
getClientTransactionHash() |
List<ClientTransaction> |
getClientTransactions() |
Sha256id |
getCollectionRoot() |
Sha256id |
getStateChangesHash() |
java.time.Instant |
getTimestamp() |
long |
getTimestampNano() |
List<TxResult> |
getTxResults()
Accessor for the transactions and results in the block.
|
public Block(SkipBlock sb) throws CothorityCryptoException
sb - skipblock holding data for an OmniBLock.CothorityCryptoExceptionpublic Block(Proof p) throws CothorityCryptoException
p - CothorityCryptoExceptionpublic Sha256id getCollectionRoot() throws CothorityCryptoException
CothorityCryptoExceptionpublic Sha256id getClientTransactionHash() throws CothorityCryptoException
CothorityCryptoExceptionpublic Sha256id getStateChangesHash() throws CothorityCryptoException
CothorityCryptoExceptionpublic List<ClientTransaction> getClientTransactions()
public long getTimestampNano()
public java.time.Instant getTimestamp()
public List<TxResult> getTxResults()
Copyright © 2018. All rights reserved.