ChannelExtension

Extension name: ripple-channel.

Channel Query

[

  "channel-query"

]

Channel List

{

  "channel-list": [
    (channel data structures)
  ]

}

Channel Data Structure

(string)

Channel Subscribe

{

  "channel-subscribe": [
    (channel data structures)
  ]

}

Channel Unsubscribe

{

  "channel-unsubscribe": [
    (channel data structures)
  ]

}

Channel Ad

{

  "channel-ad": {
    "content": (URI),
    "source": (Ripple ID),
    "channels": [
      (channel data structures)
    ]
    ("max-amount": (decimal),)
    ("units": (URI),)
    ("onion": (routing onion data structure),)
  }

}

Notes:

  • content URI should be HTTP-accessible and contain the content of the ad, so hosts don't have to transfer the same ad content over and over
  • URI also acts as ID for the ad
  • To save bandwidth, a host is not required to send the same channel-ad to a node (on another host) more than once. (Same means same URI.)
  • Perhaps there needs to be a way to send address channel-ad to multiple nodes on the same host simultaneously in a single message...?