dongzhi1949
dongzhi1949
2019-08-23 10:08
浏览 18
已采纳

两个节点可以直接交换消息吗?

I'm doing some research on Kademlia based decentralized networks. After bootstrapping a new node, instead of broadcasting messages to the nearest nodes, can a message be sent to a specific node identified by its ID? (Even if that means to relay the message to multiple peers before reaching the destination).

图片转代码服务由CSDN问答提供 功能建议

我正在研究基于Kademlia的分散式网络。 自举新节点后,是否可以将消息发送到由其ID标识的特定节点,而不是向最近的节点广播消息? (即使这意味着在到达目的地之前将消息中继给多个对等方。)

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • doudou1309
    doudou1309 2019-08-23 19:03
    已采纳

    Kademlia is an abstract routing algorithm combined with a set of operations required to build a distributed hash table. The concept of broadcasts does not exist in kademlia-as-algorithm.

    But concrete implementations can add features on top of this foundation. Since kademlia provides the iterative find_node procedure (there's no forwarding!) you can locate a node and then exchange any number and type of additional messages for which they have mutual support.

    点赞 评论

相关推荐