Skip to content

Commit

Permalink
The "RPC protocol" is better described as an interface (#341)
Browse files Browse the repository at this point in the history
* This is better described as an interface

* Labels on links
  • Loading branch information
timothymcmackin authored Feb 29, 2024
1 parent 20e682f commit d245968
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ For example, different bakers may implement different transaction selection stra

The node accepts calls from clients through its RPC interface.
It has control over which clients to accept calls from, which calls to accept, or whether to accept RPC calls at all.
For more information on the RPC interface, see [The RPC protocol](./architecture/rpc).
For more information on the RPC interface, see [The RPC interface](./architecture/rpc).

### The baker daemon

Expand Down
8 changes: 4 additions & 4 deletions docs/architecture/rpc.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: The RPC protocol
title: The RPC interface
authors: "Tim McMackin"
last_update:
date: 6 February 2023
---

The Tezos RPC (Remote Procedure Call) protocol is a specification for a REST API that clients use to interact with Tezos nodes and nodes use to communicate with each other.
Clients use this protocol to submit transactions and get information about the state of the blockchain, such as account balances and contract storage.
Tezos nodes act as servers and accept HTTP requests from clients and other nodes via this protocol.
The Tezos RPC (Remote Procedure Call) interface is a specification for a REST API that clients use to interact with Tezos nodes and nodes use to communicate with each other.
Clients use this interface to submit transactions and get information about the state of the blockchain, such as account balances and contract storage.
Tezos nodes act as servers and accept HTTP requests from clients and other nodes via this interface.

Tezos RPC uses JSON to send and receive data, but it does not adhere to the JSON-RPC specification.

Expand Down
4 changes: 2 additions & 2 deletions docs/developing/information.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ For example, you can get the balance of an account with this command:
octez-client get balance for tz1QCVQinE8iVj1H2fckqx6oiM85CNJSK9Sx
```

## The RPC protocol
## The RPC interface

The [RPC](../architecture/rpc) protocol provides information about the blockchain that nodes use to communicate with each other.
[The RPC interface](../architecture/rpc) provides information about the blockchain that nodes use to communicate with each other.
This data is not always in the format that developers and dApps need.
For example, the RPC interface does not provide a way to get information about a specific operation by its hash.

Expand Down
2 changes: 1 addition & 1 deletion docs/unity/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ private void OnPayloadSigned(SignResult obj)

## Changing the RPC node

As described in [The RPC protocol](../architecture/rpc), Tezos clients including the Unity SDK send transactions to RPC nodes.
As described in [The RPC interface](../architecture/rpc), Tezos clients including the Unity SDK send transactions to RPC nodes.
By default, the SDK sends requests to a public RPC node that uses the Ghostnet test network, where you can test transactions without spending real tez.
For more information about test networks, see [Testing on sandboxes and testnets](../developing/testnets).

Expand Down
2 changes: 1 addition & 1 deletion docs/unity/reference/TezosConfigSO.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ To use this object, create an instance of it, put your information in its fields
- `Pinata Api Key`: The Pinata JWT (not the API key or secret key) to use to upload files and data to IPFS
- `Data Provider Config`: The instance of the [DataProviderConfig](./DataProviderConfigSO) scriptable object to use

For more information about RPC nodes, see [The RPC protocol](../../architecture/rpc).
For more information about RPC nodes, see [The RPC interface](../../architecture/rpc).

0 comments on commit d245968

Please sign in to comment.