public class StateRef
A stateref is a pointer (reference) to a state, this is an equivalent of an "outpoint" in Bitcoin. It records which transaction defined the state and where in that transaction it was.
Constructor and Description |
---|
StateRef(SecureHash txhash,
int index)
A stateref is a pointer (reference) to a state, this is an equivalent of an "outpoint" in Bitcoin. It records which
transaction defined the state and where in that transaction it was.
|
Modifier and Type | Method and Description |
---|---|
SecureHash |
component1() |
int |
component2() |
StateRef |
copy(SecureHash txhash,
int index)
A stateref is a pointer (reference) to a state, this is an equivalent of an "outpoint" in Bitcoin. It records which
transaction defined the state and where in that transaction it was.
|
boolean |
equals(java.lang.Object p) |
int |
getIndex() |
SecureHash |
getTxhash() |
int |
hashCode() |
java.lang.String |
toString() |
public StateRef(SecureHash txhash, int index)
A stateref is a pointer (reference) to a state, this is an equivalent of an "outpoint" in Bitcoin. It records which transaction defined the state and where in that transaction it was.
public java.lang.String toString()
public SecureHash getTxhash()
public int getIndex()
public SecureHash component1()
public int component2()
public StateRef copy(SecureHash txhash, int index)
A stateref is a pointer (reference) to a state, this is an equivalent of an "outpoint" in Bitcoin. It records which transaction defined the state and where in that transaction it was.
public int hashCode()
public boolean equals(java.lang.Object p)