mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-30 07:55:51 +00:00
deploy: 023f5704d0
This commit is contained in:
@@ -103,24 +103,23 @@ $(function() {
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  {</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  secp256k1_context* impl;</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  holder()</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : impl (secp256k1_context_create(</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  SECP256K1_CONTEXT_VERIFY |</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  SECP256K1_CONTEXT_SIGN))</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  {</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  }</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  </div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  ~holder()</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  {</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  secp256k1_context_destroy(impl);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  }</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  };</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">static</span> holder <span class="keyword">const</span> h;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keywordflow">return</span> h.impl;</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> }</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> } <span class="comment">// ripple</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : impl(secp256k1_context_create(</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  SECP256K1_CONTEXT_VERIFY | SECP256K1_CONTEXT_SIGN))</div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  {</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  }</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  ~holder()</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  {</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  secp256k1_context_destroy(impl);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  }</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  };</div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">static</span> holder <span class="keyword">const</span> h;</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">return</span> h.impl;</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> }</div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="anamespaceripple_html_a27a5877cd080b3340f60ddeeb7e40f06"><div class="ttname"><a href="namespaceripple.html#a27a5877cd080b3340f60ddeeb7e40f06">ripple::secp256k1Context</a></div><div class="ttdeci">secp256k1_context const * secp256k1Context()</div><div class="ttdef"><b>Definition:</b> <a href="secp256k1_8h_source.html#l00029">secp256k1.h:29</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="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
|
||||
|
||||
Reference in New Issue
Block a user