From 7694f677b43a4bef50d4e296fc58cc44995ec763 Mon Sep 17 00:00:00 2001 From: Noc2 Date: Tue, 26 Sep 2023 20:30:44 +0200 Subject: [PATCH] Fix links --- docs/chap-networking.md | 2 +- docs/chap-runtime-api.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/chap-networking.md b/docs/chap-networking.md index b2e6e4f8b..72e4a3a9e 100644 --- a/docs/chap-networking.md +++ b/docs/chap-networking.md @@ -31,7 +31,7 @@ Complete specification of the Polkadot networking protocol relies on the followi ## -sec-num- Node Identities {#id-node-identities} Like any other distributed system, each Polkadot Host node has a unique global identifier. This identifier, called `PeerId`, serves as a singular reference to a particular node within the overall network. -In Polkadot each node is required to maintain its own pair of ED25519 cryptographic keys from which the `PeerId` [is derived](https://curriculum.pl-launchpad.io/curriculum/libp2p/connections/#peer-identity). +In Polkadot each node is required to maintain its own pair of ED25519 cryptographic keys from which the `PeerId` [is derived](https://pl-launchpad.io/curriculum/libp2p/connections/#peer-identity). The Polkadot node’s `PeerId` is structured based on the [libp2p specification](https://docs.libp2p.io/concepts/peer-id/) but does not fully conform to the specification. In particular, it does not support [CID](https://github.com/multiformats/cid) and the only supported key type is ED25519. The `PeerId` is built by hashing the [encoded public key](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md#keys) with [multihash](https://github.com/multiformats/multihash) and represented as follows: diff --git a/docs/chap-runtime-api.md b/docs/chap-runtime-api.md index 95796da94..273d88b29 100644 --- a/docs/chap-runtime-api.md +++ b/docs/chap-runtime-api.md @@ -14,7 +14,7 @@ This section describes all Runtime API functions alongside their arguments and t ### -sec-num- JSON-RPC API for external services {#sect-json-rpc-api} -Polkadot Host implementers are encouraged to implement an API in order for external, third-party services to interact with the node. The [JSON-RPC Interface for Polkadot Nodes](https://github.com/w3f/PCPs/blob/master/PCPs/drafts/pcp-6.md) (PCP6) is a Polkadot Standard Proposal for such an API and makes it easier to integrate the node with existing tools available in the Polkadot ecosystem, such as [polkadot.js.org](https://polkadot.js.org/). The Runtime API has a few modules designed specifically for use in the official RPC API. +Polkadot Host implementers are encouraged to implement an API in order for external, third-party services to interact with the node. The [JSON-RPC Interface for Polkadot Nodes](https://github.com/w3f/PCPs/blob/master/PSPs/drafts/psp-6.md) (PCP6) is a Polkadot Standard Proposal for such an API and makes it easier to integrate the node with existing tools available in the Polkadot ecosystem, such as [polkadot.js.org](https://polkadot.js.org/). The Runtime API has a few modules designed specifically for use in the official RPC API. ## -sec-num- Runtime Constants {#id-runtime-constants}