refactor: rename hash functions (#1701)

- Rename hash functions to be shorter for easier use.
- Namespace hash functions into xrpl.hashes
This commit is contained in:
Omar Khan
2021-10-08 16:45:12 -04:00
committed by GitHub
parent cb55d2eacb
commit 9ad2b28172
19 changed files with 176 additions and 191 deletions

View File

@@ -513,43 +513,43 @@
<a href="modules.html#ISOTimeToRippleTime" class="tsd-kind-icon">ISOTime<wbr>ToRipple<wbr>Time</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeAccountRootIndex" class="tsd-kind-icon">compute<wbr>Account<wbr>Root<wbr>Index</a>
<a href="modules.html#hashAccountRoot" class="tsd-kind-icon">compute<wbr>Account<wbr>Root<wbr>Index</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeBinaryTransactionHash" class="tsd-kind-icon">compute<wbr>Binary<wbr>Transaction<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeBinaryTransactionSigningHash" class="tsd-kind-icon">compute<wbr>Binary<wbr>Transaction<wbr>Signing<wbr>Hash</a>
<a href="modules.html#hashTx" class="tsd-kind-icon">compute<wbr>Binary<wbr>Transaction<wbr>Signing<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeEscrowHash" class="tsd-kind-icon">compute<wbr>Escrow<wbr>Hash</a>
<a href="modules.html#hashEscrow" class="tsd-kind-icon">compute<wbr>Escrow<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeLedgerHash" class="tsd-kind-icon">compute<wbr>Ledger<wbr>Hash</a>
<a href="modules.html#hashLedger" class="tsd-kind-icon">compute<wbr>Ledger<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeLedgerHeaderHash" class="tsd-kind-icon">compute<wbr>Ledger<wbr>Header<wbr>Hash</a>
<a href="modules.html#hashLedgerHeader" class="tsd-kind-icon">compute<wbr>Ledger<wbr>Header<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeOfferIndex" class="tsd-kind-icon">compute<wbr>Offer<wbr>Index</a>
<a href="modules.html#hashOfferId" class="tsd-kind-icon">compute<wbr>Offer<wbr>Index</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computePaymentChannelHash" class="tsd-kind-icon">compute<wbr>Payment<wbr>Channel<wbr>Hash</a>
<a href="modules.html#hashPaymentChannel" class="tsd-kind-icon">compute<wbr>Payment<wbr>Channel<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeSignerListIndex" class="tsd-kind-icon">compute<wbr>Signer<wbr>List<wbr>Index</a>
<a href="modules.html#hashSignerListId" class="tsd-kind-icon">compute<wbr>Signer<wbr>List<wbr>Index</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeStateTreeHash" class="tsd-kind-icon">compute<wbr>State<wbr>Tree<wbr>Hash</a>
<a href="modules.html#hashStateTree" class="tsd-kind-icon">compute<wbr>State<wbr>Tree<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeTransactionHash" class="tsd-kind-icon">compute<wbr>Transaction<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeTransactionTreeHash" class="tsd-kind-icon">compute<wbr>Transaction<wbr>Tree<wbr>Hash</a>
<a href="modules.html#hashTxTree" class="tsd-kind-icon">compute<wbr>Transaction<wbr>Tree<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#computeTrustlineHash" class="tsd-kind-icon">compute<wbr>Trustline<wbr>Hash</a>
<a href="modules.html#hashTrustline" class="tsd-kind-icon">compute<wbr>Trustline<wbr>Hash</a>
</li>
<li class=" tsd-kind-function">
<a href="modules.html#convertKeysFromSnakeCaseToCamelCase" class="tsd-kind-icon">convert<wbr>Keys<wbr>From<wbr>Snake<wbr>Case<wbr>ToCamel<wbr>Case</a>