Recent Changes - Search:

Ripple Project


PmWiki

edit SideBar

RoutingExtension

Extension name: ripple-routing.

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 field)

{

  "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 field)

{

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

}

Account Data Structure (extra field)

{

  "account": {
    "advertise-link": (true | false),
  }

}

Creative Commons Licence
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Edit - History - Print - Recent Changes - Search
Page last modified on March 16, 2007, at 10:20 PM