public static class UniquenessProvider.ConsumingTx
Specifies the transaction id, the position of the consumed state in the inputs, and the caller identity requesting the commit.
TODO: need to do more design work to prevent privacy problems: knowing the id of a transaction, by the rules of our system the party can obtain it and see its contents. This allows a party to just submit invalid transactions with outputs it was aware of and find out where exactly they were spent.
Constructor and Description |
---|
ConsumingTx(SecureHash id,
int inputIndex,
Party requestingParty)
Specifies the transaction id, the position of the consumed state in the inputs, and
the caller identity requesting the commit.
|
Modifier and Type | Method and Description |
---|---|
SecureHash |
component1() |
int |
component2() |
Party |
component3() |
UniquenessProvider.ConsumingTx |
copy(SecureHash id,
int inputIndex,
Party requestingParty)
Specifies the transaction id, the position of the consumed state in the inputs, and
the caller identity requesting the commit.
|
boolean |
equals(java.lang.Object p) |
SecureHash |
getId() |
int |
getInputIndex() |
Party |
getRequestingParty() |
int |
hashCode() |
java.lang.String |
toString() |
public ConsumingTx(SecureHash id, int inputIndex, Party requestingParty)
Specifies the transaction id, the position of the consumed state in the inputs, and the caller identity requesting the commit.
TODO: need to do more design work to prevent privacy problems: knowing the id of a transaction, by the rules of our system the party can obtain it and see its contents. This allows a party to just submit invalid transactions with outputs it was aware of and find out where exactly they were spent.
public SecureHash getId()
public int getInputIndex()
public Party getRequestingParty()
public SecureHash component1()
public int component2()
public Party component3()
public UniquenessProvider.ConsumingTx copy(SecureHash id, int inputIndex, Party requestingParty)
Specifies the transaction id, the position of the consumed state in the inputs, and the caller identity requesting the commit.
TODO: need to do more design work to prevent privacy problems: knowing the id of a transaction, by the rules of our system the party can obtain it and see its contents. This allows a party to just submit invalid transactions with outputs it was aware of and find out where exactly they were spent.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)