RoutingExtension

Protocol.RoutingExtension History

Hide minor edits - Show changes to output

Added lines 1-2:
Extension name: @@ripple-routing@@.
February 02, 2007, at 08:30 PM by ryan - added advertise-link account data structure field
Changed lines 36-37 from:
Payment Accept (extra fields)
to:
Payment Accept (extra field)
Changed lines 67-68 from:
Promise (extra fields)
to:
Promise (extra field)
Added lines 74-82:


Account Data Structure (extra field)

{
  "account": {
    "advertise-link": (true | false),
  }
}
Added lines 1-73:
Link-State Routing Advertisement

{
  "link-ad": {
    "id": (string)
    "sender": (routing id),
    "link-to": (routing id),
    "status": ("up" | "down"),
    "hop-limit": (integer),
    ("fwd-credit": (decimal),)
    ("bwd-credit": (decimal),)
    ("units": (URI),)
  }
}


Routing ID

(string)


Payment Init (extra fields)

{
  "payment-init": {
    "payer-routing-id": (routing id),
    ("max-fee": (decimal),)
    ("path-units": (URI),)
    ("min-penalty-deadline": (time delta),)
    ("min-deadline": (time delta),)
    ("min-guarantee-expiry": (date/time string))
  }
}


Payment Accept (extra fields)

{
  "payment-accept": {
    "recipient-routing-id": (routing id)
  }
}


Path Query

{
  "path-query": {
    "payment-id": (string),
    "path-id": [(ordered list of strings)],
    "path-amount": (decimal),
    ("max-fee": (decimal),)
    ("path-units": (URI),)
    "account-id": (string),
    "amount": (decimal),
    "onion": (routing onion data structure),
    "target": (routing id),
    "ttl": (time/date string),
    ("min-penalty-deadline": (time delta),)
    ("max-penalty-rate": (decimal),)
    ("min-deadline": (time delta),)
    "guarantee-expiry": (date/time string),
  }
}


Promise (extra fields)

{
  "promise": {
    "target": (routing id),
  }
}