|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.bitcoin.core.StoredUndoableBlock
public class StoredUndoableBlock
Contains minimal data neccessary to disconnect/connect the transactions in the stored block at will. Can either store the full set of transactions (if the inputs for the block have not been tested to work) or the set of transaction outputs created/destroyed when the block is connected.
| Constructor Summary | |
|---|---|
StoredUndoableBlock(Sha256Hash hash,
List<Transaction> transactions)
|
|
StoredUndoableBlock(Sha256Hash hash,
TransactionOutputChanges txOutChanges)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Sha256Hash |
getHash()
Get the hash of the represented block |
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()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StoredUndoableBlock(Sha256Hash hash,
TransactionOutputChanges txOutChanges)
public StoredUndoableBlock(Sha256Hash hash,
List<Transaction> transactions)
| Method Detail |
|---|
public TransactionOutputChanges getTxOutChanges()
public List<Transaction> getTransactions()
public Sha256Hash getHash()
public int hashCode()
hashCode in class Objectpublic boolean equals(Object o)
equals in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||