Fulfillmentpublic class ThresholdSha256Fulfillment extends Object implements Fulfillment
| Constructor | Description |
|---|---|
ThresholdSha256Fulfillment(Condition[] subconditions,
Fulfillment[] subfulfillments) |
| Modifier and Type | Method | Description |
|---|---|---|
ThresholdSha256Condition |
getCondition() |
|
byte[] |
getEncoded() |
|
Condition[] |
getSubconditions() |
|
Fulfillment[] |
getSubfulfillments() |
|
int |
getThreshold() |
|
ConditionType |
getType() |
|
boolean |
verify(Condition condition,
byte[] message) |
public ThresholdSha256Fulfillment(Condition[] subconditions, Fulfillment[] subfulfillments)
public ConditionType getType()
getType in interface Fulfillmentpublic int getThreshold()
public Condition[] getSubconditions()
public Fulfillment[] getSubfulfillments()
public byte[] getEncoded()
getEncoded in interface Fulfillmentpublic ThresholdSha256Condition getCondition()
getCondition in interface Fulfillmentpublic boolean verify(Condition condition, byte[] message)
verify in interface FulfillmentCopyright © 2018. All rights reserved.