From 9d1354a71ca445d86c46370b310d53255ac3cc0a Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Wed, 12 Apr 2017 16:40:17 -0700 Subject: [PATCH] Ledger format: add escrow index format --- content/reference-ledger-format.md | 8 ++++++++ reference-ledger-format.html | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/content/reference-ledger-format.md b/content/reference-ledger-format.md index 61ee88c3bb..212410a918 100644 --- a/content/reference-ledger-format.md +++ b/content/reference-ledger-format.md @@ -288,6 +288,14 @@ An Escrow node has the following fields: [EscrowFinish transaction]: reference-transaction-format.html#escrowfinish +### Escrow Index Format ### + +The `index` of an Escrow node is the SHA-512Half of the following values put together: + +* The Escrow space key (`u`) +* The AccountID of the sender of the EscrowCreate transaction that created the Escrow node +* The Sequence number of the EscrowCreate transaction that created the Escrow node + ## Offer ## diff --git a/reference-ledger-format.html b/reference-ledger-format.html index d7a730fc95..c4dbe4ab6d 100644 --- a/reference-ledger-format.html +++ b/reference-ledger-format.html @@ -146,6 +146,7 @@
  • DirectoryNode
  • Directory Index Formats
  • Escrow
  • +
  • Escrow Index Format
  • Offer
  • Offer Flags
  • Offer Index Format
  • @@ -746,6 +747,13 @@ +

    Escrow Index Format

    +

    The index of an Escrow node is the SHA-512Half of the following values put together:

    +

    Offer

    [Source]

    The Offer node type describes an offer to exchange currencies, more traditionally known as an order, in Ripple's distributed exchange. An OfferCreate transaction only creates an Offer node in the ledger when the offer cannot be fully executed immediately by consuming other offers already in the ledger.