Protocol /
ChannelExtension
Protocol.ChannelExtension History
Hide minor edits - Show changes to output
Changed lines 58-60 from:
* also acts as ID for the ad
to:
* 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...?
* 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...?
Changed line 51 from:
("routing-onion": (routing onion data structure),)
to:
("onion": (routing onion data structure),)
Added lines 1-58:
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),)
("routing-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
* also acts as ID for the ad
[
"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),)
("routing-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
* also acts as ID for the ad