From ad4de9a37f3c536b496ee4ec17940b32136f0dd1 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 9 Sep 2022 11:45:26 +0100 Subject: [PATCH] fix typo and add engine-api note --- content/docs/developers/geth-developer/Private-Network.md | 2 +- content/docs/interacting_with_geth/RPC/server.md | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/content/docs/developers/geth-developer/Private-Network.md b/content/docs/developers/geth-developer/Private-Network.md index ed1d6f7cf5..dadf8f0215 100644 --- a/content/docs/developers/geth-developer/Private-Network.md +++ b/content/docs/developers/geth-developer/Private-Network.md @@ -457,7 +457,7 @@ This account can then be unlocked and some ether sent to Node 2, using the follo ```javascript // unlock account -personal.unlock(eth.accounts[0]) +personal.unlockAccount(eth.accounts[0]) // send some Wei eth.sendTransaction({to: "0xc94d95a5106270775351eecfe43f97e8e75e59e8", from: eth.accounts[0], value: 25000}) diff --git a/content/docs/interacting_with_geth/RPC/server.md b/content/docs/interacting_with_geth/RPC/server.md index a45f6311c1..7409d1bf24 100644 --- a/content/docs/interacting_with_geth/RPC/server.md +++ b/content/docs/interacting_with_geth/RPC/server.md @@ -116,6 +116,12 @@ The following table summarizes the relative strengths and weaknesses of each tra As a general rule IPC is most secure because it is limited to interactions on the local machine and cannot be exposed to external traffic. It can also be used to subscribe to events. HTTP is a familiar and idempotent transport that closes connections between requests and can therefore have lower overall overheads if the number of requests is fairly low. Websockets provides a continuous open channel that can enable event subscriptions and streaming and handle large volumes of requests with smaller per-message overheads. +## Engine-API + +The Engine-API is a set of RPC methods that enable communication between Geth and the [consensus client](/docs/getting_started/consensus-clients.md). These are not designed to be exposed to the user - instead they are called automatically by the clients when they need to exchange information. The Engine API is enabled by default - the user is not required to pass any instruction to Geth to enable these methods. + +Read more in the [Engine API spec](https://github.com/ethereum/execution-apis/blob/main/src/engine/specification.md). + ## Summary