Definition at line 31 of file Fulfillment.h.
◆ ~Fulfillment()
virtual ripple::cryptoconditions::Fulfillment::~Fulfillment |
( |
| ) |
|
|
virtualdefault |
◆ deserialize()
◆ fingerprint()
virtual Buffer ripple::cryptoconditions::Fulfillment::fingerprint |
( |
| ) |
const |
|
pure virtual |
Returns the fulfillment's fingerprint:
The fingerprint is an octet string uniquely representing this fulfillment's condition with respect to other conditions of the same type.
Implemented in ripple::cryptoconditions::PreimageSha256.
◆ type()
virtual Type ripple::cryptoconditions::Fulfillment::type |
( |
| ) |
const |
|
pure virtual |
◆ validate()
virtual bool ripple::cryptoconditions::Fulfillment::validate |
( |
Slice |
data | ) |
const |
|
pure virtual |
◆ cost()
virtual std::uint32_t ripple::cryptoconditions::Fulfillment::cost |
( |
| ) |
const |
|
pure virtual |
Calculates the cost associated with this fulfillment.
- The cost function is deterministic and depends on the type and properties of the condition and the fulfillment that the condition is generated from.
Implemented in ripple::cryptoconditions::PreimageSha256.
◆ condition()
virtual Condition ripple::cryptoconditions::Fulfillment::condition |
( |
| ) |
const |
|
pure virtual |
Returns the condition associated with the given fulfillment.
This process is completely deterministic. All implementations will, if compliant, produce the identical condition for the same fulfillment.
Implemented in ripple::cryptoconditions::PreimageSha256.
◆ maxSerializedFulfillment
constexpr std::size_t ripple::cryptoconditions::Fulfillment::maxSerializedFulfillment = 256 |
|
staticconstexpr |
The largest binary fulfillment we support.
- Note
- This value will be increased in the future, but it must never decrease, as that could cause fulfillments that were previously considered valid to no longer be allowed.
Definition at line 41 of file Fulfillment.h.