Closed Koshroy closed 4 years ago
Many thanks for trying dtn7.
I'm not completely sure what you wanted to try. You have configured one node with the provided configuration.toml
and dispatched a new bundle addressed to dtn:host
to your node. When retrieving nodes from this specific node, nothing was returned. Am I right?
If this is the case, this is expected behavior. You configured your node's Node ID as dtn://alpha/
but addressed the new bundle to dtn:host
. Try changing the recipient to dtn://alpha/
.
Does that answer help you any?
Thanks so much, that was a bit silly on my end. I'm wondering if the BPv7 spec mandates the trailing slash at the end of the Node ID. Also, given that this issue is resolved, feel free to close it with/out a response.
No problem, I'm glad it's working.
The BP7 Endpoint ID chapter says that "each endpoint ID (EID) is a Uniform Resource Identifier". So if I take a look at the specification, I would say that this is not the case. Likewise, these exemplary URIs show that it does not have to be. However, as previously discussed in #2, the stripping of the trailing slashes for each Endpoint ID in a Primary Block could save up to 3 bytes.
configuration.toml: