From 9a41f1f0c5a319f3830907785ad1d3297d7d8b0a Mon Sep 17 00:00:00 2001 From: Qi Zhou Date: Tue, 26 Sep 2023 16:03:39 -0700 Subject: [PATCH] Update canonical-transaction-index-network.md --- canonical-transaction-index-network.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/canonical-transaction-index-network.md b/canonical-transaction-index-network.md index b358afef..3eea4b3e 100644 --- a/canonical-transaction-index-network.md +++ b/canonical-transaction-index-network.md @@ -36,7 +36,7 @@ The canonical transaction index network uses the SHA256 Content ID derivation fu ### Wire Protocol -The [Portal wire protocol](./portal-wire-protocol.md) is used as wire protocol for the history network. +The [Portal wire protocol](./portal-wire-protocol.md) is used as wire protocol for the canonical transaction index network. #### Protocol Identifier @@ -66,13 +66,13 @@ custom_payload = SSZ.serialize(custom_data) ### Routing Table -The history network uses the standard routing table structure from the Portal Wire Protocol. +The canonical transaction index network uses the standard routing table structure from the Portal Wire Protocol. ### Node State #### Data Radius -The history network includes one additional piece of node state that should be tracked. Nodes must track the `data_radius` from the Ping and Pong messages for other nodes in the network. This value is a 256 bit integer and represents the data that a node is "interested" in. We define the following function to determine whether node in the network should be interested in a piece of content. +The canonical transaction index network includes one additional piece of node state that should be tracked. Nodes must track the `data_radius` from the Ping and Pong messages for other nodes in the network. This value is a 256 bit integer and represents the data that a node is "interested" in. We define the following function to determine whether node in the network should be interested in a piece of content. ``` interested(node, content) = distance(node.id, content.id) <= node.radius