Subprotocol name: ripple-channel.
For an explanation of this subprotocol, see Advertisements.
Channel List Request
{
"type": "channel-list-request",
"request-id": (integer)
}
Channel List
{
"type": "channel-list",
"request-id": (integer)
"body": [
(channel data structures)
]
}
Channel Data Structure
(string)
Channel Subscribe
{
"type": "channel-subscribe",
"body": [
(channel data structures)
]
}
Channel Unsubscribe
{
"type": "channel-unsubscribe",
"body": [
(channel data structures)
]
}
Channel Ad
{
"type": "channel-ad",
"from": [
(list of nodes on the sending host that are potential intermediaries
to the ad's source for interested nodes on the receiving host)
]
"body": {
"content": (URI),
"source": (Ripple ID),
"channels": [
(channel data structures)
]
("min-amount": (decimal),
"units": (URI),)
("onion": (routing onion data structure),)
}
}
Notes:
channel-ad to a node (on another host) more than once. (Same means same URI.)
channel-ad to multiple nodes on the same host simultaneously in a single message...?