Files
rippled/Fulfillment_8h_source.html
2025-11-04 00:36:48 -08:00

184 lines
24 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: Fulfillment.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_a62226f9e3a6c7c5a3be455e2f87ae01.html">xrpld</a></li><li class="navelem"><a class="el" href="dir_8c4263eeea7d8983010ce4dc8e9da018.html">conditions</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">Fulfillment.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="preprocessor">#ifndef XRPL_CONDITIONS_FULFILLMENT_H</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="preprocessor">#define XRPL_CONDITIONS_FULFILLMENT_H</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="preprocessor">#include &lt;xrpld/conditions/Condition.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="preprocessor">#include &lt;xrpl/basics/Buffer.h&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#include &lt;xrpl/basics/Slice.h&gt;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span> </div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="keyword">namespace </span>cryptoconditions {</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html"> 12</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structripple_1_1cryptoconditions_1_1Fulfillment.html">Fulfillment</a></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span>{</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a88f1cd77d14691539f91ef7a501fc1f3"> 22</a></span> <span class="keyword">static</span> <span class="keyword">constexpr</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a> <a class="code hl_variable" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a88f1cd77d14691539f91ef7a501fc1f3">maxSerializedFulfillment</a> = 256;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">static</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;Fulfillment&gt;</a></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a0cfe100013ad62e4d389040f52b9b96b">deserialize</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> s, <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/error/error_code.html">std::error_code</a>&amp; ec);</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> </div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a1a26a68ca7249913adc204a0738c6b25"> 38</a></span> <span class="keyword">virtual</span> <a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a1a26a68ca7249913adc204a0738c6b25">~Fulfillment</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classripple_1_1Buffer.html">Buffer</a></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad684947e5ed39d6d75ec6916d783e270"> 48</a></span> <a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad684947e5ed39d6d75ec6916d783e270">fingerprint</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">virtual</span> <a class="code hl_enumeration" href="namespaceripple_1_1cryptoconditions.html#aa3107e15003c13674a275abb96856ccd">Type</a></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a2428ca1b532098a302b65a1bf5e8583c"> 52</a></span> <a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a2428ca1b532098a302b65a1bf5e8583c">type</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> <span class="keyword">virtual</span> <span class="keywordtype">bool</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a7a671d3eaa064536a29f9db7ad8df9ec"> 56</a></span> <a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a7a671d3eaa064536a29f9db7ad8df9ec">validate</a>(<a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> data) <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span> <span class="keyword">virtual</span> <a class="code hl_classRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a8852eb8fce1a48d3ca774066fe9b4ccb"> 65</a></span> <a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a8852eb8fce1a48d3ca774066fe9b4ccb">cost</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span> <span class="keyword">virtual</span> <a class="code hl_class" href="classripple_1_1cryptoconditions_1_1Condition.html">Condition</a></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad5db6505a78cb1f16e465576d579e369"> 74</a></span> <a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad5db6505a78cb1f16e465576d579e369">condition</a>() <span class="keyword">const</span> = 0;</div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span>};</div>
</div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> </div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00078" data-start="{" data-end="}">
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"><a class="line" href="namespaceripple_1_1cryptoconditions.html#afc6616847a3f91cb76665568ffabfd96"> 78</a></span><a class="code hl_function" href="namespaceripple_1_1cryptoconditions.html#a1310ae612572071c260d9e96ff67fbde">operator==</a>(<a class="code hl_struct" href="structripple_1_1cryptoconditions_1_1Fulfillment.html">Fulfillment</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_struct" href="structripple_1_1cryptoconditions_1_1Fulfillment.html">Fulfillment</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span>{</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="comment">// FIXME: for compound conditions, need to also check subtypes</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> <span class="keywordflow">return</span> lhs.<a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a2428ca1b532098a302b65a1bf5e8583c">type</a>() == rhs.<a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a2428ca1b532098a302b65a1bf5e8583c">type</a>() &amp;&amp; lhs.<a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a8852eb8fce1a48d3ca774066fe9b4ccb">cost</a>() == rhs.<a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a8852eb8fce1a48d3ca774066fe9b4ccb">cost</a>() &amp;&amp;</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span> lhs.<a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad684947e5ed39d6d75ec6916d783e270">fingerprint</a>() == rhs.<a class="code hl_function" href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad684947e5ed39d6d75ec6916d783e270">fingerprint</a>();</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span>}</div>
</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> </div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="keyword">inline</span> <span class="keywordtype">bool</span></div>
<div class="foldopen" id="foldopen00086" data-start="{" data-end="}">
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="namespaceripple_1_1cryptoconditions.html#a78a31ec4436795c6e07df6a0391094c4"> 86</a></span><a class="code hl_function" href="namespaceripple_1_1cryptoconditions.html#a59025e26ba461ecdc1b029671025d5a4">operator!=</a>(<a class="code hl_struct" href="structripple_1_1cryptoconditions_1_1Fulfillment.html">Fulfillment</a> <span class="keyword">const</span>&amp; lhs, <a class="code hl_struct" href="structripple_1_1cryptoconditions_1_1Fulfillment.html">Fulfillment</a> <span class="keyword">const</span>&amp; rhs)</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span>{</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> <span class="keywordflow">return</span> !(lhs == rhs);</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span>}</div>
</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span><a class="code hl_enumvalue" href="namespaceripple.html#aad512dea42da4cc179f20c67de593c26ae3cc92c14a5e6dd1a7d94b6ff634d7fc">match</a>(Fulfillment <span class="keyword">const</span>&amp; f, Condition <span class="keyword">const</span>&amp; c);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"> 106</span><a class="code hl_function" href="namespaceripple_1_1cryptoconditions.html#a961249fdf64c0b17004c06adf282737d">validate</a>(Fulfillment <span class="keyword">const</span>&amp; f, Condition <span class="keyword">const</span>&amp; c, <a class="code hl_class" href="classripple_1_1Slice.html">Slice</a> m);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"> 107</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span><span class="keywordtype">bool</span></div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span><a class="code hl_function" href="namespaceripple_1_1cryptoconditions.html#a961249fdf64c0b17004c06adf282737d">validate</a>(Fulfillment <span class="keyword">const</span>&amp; f, Condition <span class="keyword">const</span>&amp; c);</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"> 123</span> </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"> 124</span>} <span class="comment">// namespace cryptoconditions</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"> 125</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="aclassripple_1_1Buffer_html"><div class="ttname"><a href="classripple_1_1Buffer.html">ripple::Buffer</a></div><div class="ttdoc">Like std::vector&lt;char&gt; but better.</div><div class="ttdef"><b>Definition</b> <a href="Buffer_8h_source.html#l00016">Buffer.h:17</a></div></div>
<div class="ttc" id="aclassripple_1_1Slice_html"><div class="ttname"><a href="classripple_1_1Slice.html">ripple::Slice</a></div><div class="ttdoc">An immutable linear range of bytes.</div><div class="ttdef"><b>Definition</b> <a href="Slice_8h_source.html#l00026">Slice.h:27</a></div></div>
<div class="ttc" id="aclassripple_1_1cryptoconditions_1_1Condition_html"><div class="ttname"><a href="classripple_1_1cryptoconditions_1_1Condition.html">ripple::cryptoconditions::Condition</a></div><div class="ttdef"><b>Definition</b> <a href="Condition_8h_source.html#l00023">Condition.h:24</a></div></div>
<div class="ttc" id="aerror_code_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/error/error_code.html">std::error_code</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a></div></div>
<div class="ttc" id="anamespaceripple_1_1cryptoconditions_html_a1310ae612572071c260d9e96ff67fbde"><div class="ttname"><a href="namespaceripple_1_1cryptoconditions.html#a1310ae612572071c260d9e96ff67fbde">ripple::cryptoconditions::operator==</a></div><div class="ttdeci">bool operator==(Condition const &amp;lhs, Condition const &amp;rhs)</div><div class="ttdef"><b>Definition</b> <a href="Condition_8h_source.html#l00083">Condition.h:83</a></div></div>
<div class="ttc" id="anamespaceripple_1_1cryptoconditions_html_a59025e26ba461ecdc1b029671025d5a4"><div class="ttname"><a href="namespaceripple_1_1cryptoconditions.html#a59025e26ba461ecdc1b029671025d5a4">ripple::cryptoconditions::operator!=</a></div><div class="ttdeci">bool operator!=(Condition const &amp;lhs, Condition const &amp;rhs)</div><div class="ttdef"><b>Definition</b> <a href="Condition_8h_source.html#l00090">Condition.h:90</a></div></div>
<div class="ttc" id="anamespaceripple_1_1cryptoconditions_html_a961249fdf64c0b17004c06adf282737d"><div class="ttname"><a href="namespaceripple_1_1cryptoconditions.html#a961249fdf64c0b17004c06adf282737d">ripple::cryptoconditions::validate</a></div><div class="ttdeci">bool validate(Fulfillment const &amp;f, Condition const &amp;c, Slice m)</div><div class="ttdoc">Verify if the given message satisfies the fulfillment.</div><div class="ttdef"><b>Definition</b> <a href="Fulfillment_8cpp_source.html#l00025">Fulfillment.cpp:25</a></div></div>
<div class="ttc" id="anamespaceripple_1_1cryptoconditions_html_aa3107e15003c13674a275abb96856ccd"><div class="ttname"><a href="namespaceripple_1_1cryptoconditions.html#aa3107e15003c13674a275abb96856ccd">ripple::cryptoconditions::Type</a></div><div class="ttdeci">Type</div><div class="ttdef"><b>Definition</b> <a href="Condition_8h_source.html#l00015">Condition.h:15</a></div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition</b> <a href="algorithm_8h_source.html#l00006">algorithm.h:6</a></div></div>
<div class="ttc" id="anamespaceripple_html_aad512dea42da4cc179f20c67de593c26ae3cc92c14a5e6dd1a7d94b6ff634d7fc"><div class="ttname"><a href="namespaceripple.html#aad512dea42da4cc179f20c67de593c26ae3cc92c14a5e6dd1a7d94b6ff634d7fc">ripple::AttestationMatch::match</a></div><div class="ttdeci">@ match</div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html">ripple::cryptoconditions::Fulfillment</a></div><div class="ttdef"><b>Definition</b> <a href="Fulfillment_8h_source.html#l00012">Fulfillment.h:13</a></div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_a0cfe100013ad62e4d389040f52b9b96b"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a0cfe100013ad62e4d389040f52b9b96b">ripple::cryptoconditions::Fulfillment::deserialize</a></div><div class="ttdeci">static std::unique_ptr&lt; Fulfillment &gt; deserialize(Slice s, std::error_code &amp;ec)</div><div class="ttdoc">Load a fulfillment from its binary form.</div><div class="ttdef"><b>Definition</b> <a href="Fulfillment_8cpp_source.html#l00037">Fulfillment.cpp:37</a></div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_a1a26a68ca7249913adc204a0738c6b25"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a1a26a68ca7249913adc204a0738c6b25">ripple::cryptoconditions::Fulfillment::~Fulfillment</a></div><div class="ttdeci">virtual ~Fulfillment()=default</div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_a2428ca1b532098a302b65a1bf5e8583c"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a2428ca1b532098a302b65a1bf5e8583c">ripple::cryptoconditions::Fulfillment::type</a></div><div class="ttdeci">virtual Type type() const =0</div><div class="ttdoc">Returns the type of this condition.</div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_a7a671d3eaa064536a29f9db7ad8df9ec"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a7a671d3eaa064536a29f9db7ad8df9ec">ripple::cryptoconditions::Fulfillment::validate</a></div><div class="ttdeci">virtual bool validate(Slice data) const =0</div><div class="ttdoc">Validates a fulfillment.</div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_a8852eb8fce1a48d3ca774066fe9b4ccb"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a8852eb8fce1a48d3ca774066fe9b4ccb">ripple::cryptoconditions::Fulfillment::cost</a></div><div class="ttdeci">virtual std::uint32_t cost() const =0</div><div class="ttdoc">Calculates the cost associated with this fulfillment.</div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_a88f1cd77d14691539f91ef7a501fc1f3"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#a88f1cd77d14691539f91ef7a501fc1f3">ripple::cryptoconditions::Fulfillment::maxSerializedFulfillment</a></div><div class="ttdeci">static constexpr std::size_t maxSerializedFulfillment</div><div class="ttdoc">The largest binary fulfillment we support.</div><div class="ttdef"><b>Definition</b> <a href="Fulfillment_8h_source.html#l00022">Fulfillment.h:22</a></div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_ad5db6505a78cb1f16e465576d579e369"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad5db6505a78cb1f16e465576d579e369">ripple::cryptoconditions::Fulfillment::condition</a></div><div class="ttdeci">virtual Condition condition() const =0</div><div class="ttdoc">Returns the condition associated with the given fulfillment.</div></div>
<div class="ttc" id="astructripple_1_1cryptoconditions_1_1Fulfillment_html_ad684947e5ed39d6d75ec6916d783e270"><div class="ttname"><a href="structripple_1_1cryptoconditions_1_1Fulfillment.html#ad684947e5ed39d6d75ec6916d783e270">ripple::cryptoconditions::Fulfillment::fingerprint</a></div><div class="ttdeci">virtual Buffer fingerprint() const =0</div><div class="ttdoc">Returns the fulfillment's fingerprint:</div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>