public class StoredUndoableBlock
extends java.lang.Object
Constructor and Description |
---|
StoredUndoableBlock(Sha256Hash hash,
java.util.List<Transaction> transactions) |
StoredUndoableBlock(Sha256Hash hash,
TransactionOutputChanges txOutChanges) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Sha256Hash |
getHash()
Get the hash of the represented block
|
java.util.List<Transaction> |
getTransactions()
Get the full list of transactions if it is stored, otherwise null.
|
TransactionOutputChanges |
getTxOutChanges()
Get the transaction output changes if they have been calculated, otherwise null.
|
int |
hashCode() |
java.lang.String |
toString() |
public StoredUndoableBlock(Sha256Hash hash, TransactionOutputChanges txOutChanges)
public StoredUndoableBlock(Sha256Hash hash, java.util.List<Transaction> transactions)
public TransactionOutputChanges getTxOutChanges()
public java.util.List<Transaction> getTransactions()
public Sha256Hash getHash()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object