Skip to content

Commit 8f30a2d

Browse files
docs: Auto-update docs (#344)
Co-authored-by: stdevMac <stdevMac@users.noreply.github.com>
1 parent b938140 commit 8f30a2d

66 files changed

Lines changed: 25319 additions & 296 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/fundamentals/configuration.md

Lines changed: 850 additions & 52 deletions
Large diffs are not rendered by default.

docs/interacting/json-rpc-ns/admin.md

Lines changed: 29 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ import TabItem from "@theme/TabItem";
99

1010
### admin_addPeer
1111

12-
Adds given node.
12+
Adds the given node as a static peer. The connection is maintained for the lifetime of the process. Set `persistent` to also write the peer to static-nodes.json so it is restored on restart.
1313

1414
<Tabs>
1515
<TabItem value="params" label="Parameters">
1616

1717
1. `enode`: _string_
1818

19-
2. `addToStaticNodes`: _boolean_
19+
2. `persistent`: _boolean_
2020

2121

2222
</TabItem>
@@ -30,14 +30,14 @@ curl localhost:8545 \
3030
"jsonrpc": "2.0",
3131
"id": 0,
3232
"method": "admin_addPeer",
33-
"params": [enode, addToStaticNodes]
33+
"params": [enode, persistent]
3434
}'
3535
```
3636

3737
</TabItem>
3838
<TabItem value="response" label="Response">
3939

40-
Added node
40+
`true` if the peer is in the static set after the call.
4141

4242
```json
4343
{
@@ -47,20 +47,22 @@ Added node
4747
}
4848
```
4949

50-
`result`: _string_
50+
`result`: _boolean_
5151

5252
</TabItem>
5353
</Tabs>
5454

5555
### admin_addTrustedPeer
5656

57-
Adds given node as a trusted peer, allowing the node to always connect even if slots are full.
57+
Adds the given node to the trusted peer set so it can always connect even when slots are full. Set `persistent` to also write the peer to trusted-nodes.json so it is restored on restart.
5858

5959
<Tabs>
6060
<TabItem value="params" label="Parameters">
6161

6262
1. `enode`: _string_
6363

64+
2. `persistent`: _boolean_
65+
6466

6567
</TabItem>
6668
<TabItem value="request" label="Request" default>
@@ -73,14 +75,14 @@ curl localhost:8545 \
7375
"jsonrpc": "2.0",
7476
"id": 0,
7577
"method": "admin_addTrustedPeer",
76-
"params": [enode]
78+
"params": [enode, persistent]
7779
}'
7880
```
7981

8082
</TabItem>
8183
<TabItem value="response" label="Response">
8284

83-
Boolean indicating success
85+
`true` if the peer is in the trusted set after the call.
8486

8587
```json
8688
{
@@ -319,6 +321,7 @@ Information about this node
319321
- `eip1014Transition`: _string_ (hex integer)
320322
- `eip1052Transition`: _string_ (hex integer)
321323
- `eip1108Transition`: _string_ (hex integer)
324+
- `eip1153Transition`: _string_ (hex integer)
322325
- `eip1153TransitionTimestamp`: _string_ (hex integer)
323326
- `eip1283DisableTransition`: _string_ (hex integer)
324327
- `eip1283ReenableTransition`: _string_ (hex integer)
@@ -358,42 +361,48 @@ Information about this node
358361
- `eip3529Transition`: _string_ (hex integer)
359362
- `eip3541Transition`: _string_ (hex integer)
360363
- `eip3607Transition`: _string_ (hex integer)
364+
- `eip3651Transition`: _string_ (hex integer)
361365
- `eip3651TransitionTimestamp`: _string_ (hex integer)
366+
- `eip3855Transition`: _string_ (hex integer)
362367
- `eip3855TransitionTimestamp`: _string_ (hex integer)
368+
- `eip3860Transition`: _string_ (hex integer)
363369
- `eip3860TransitionTimestamp`: _string_ (hex integer)
364370
- `eip4788ContractAddress`: _string_ (address)
365371
- `eip4788TransitionTimestamp`: _string_ (hex integer)
366372
- `eip4844BlobGasPriceUpdateFraction`: _string_ (hex integer)
367373
- `eip4844FeeCollectorTransitionTimestamp`: _string_ (hex integer)
368374
- `eip4844MinBlobGasPrice`: _string_ (hex integer)
375+
- `eip4844Transition`: _string_ (hex integer)
369376
- `eip4844TransitionTimestamp`: _string_ (hex integer)
370377
- `eip4895TransitionTimestamp`: _string_ (hex integer)
378+
- `eip5656Transition`: _string_ (hex integer)
371379
- `eip5656TransitionTimestamp`: _string_ (hex integer)
372380
- `eip6110TransitionTimestamp`: _string_ (hex integer)
373381
- `eip658Transition`: _string_ (hex integer)
382+
- `eip6780Transition`: _string_ (hex integer)
374383
- `eip6780TransitionTimestamp`: _string_ (hex integer)
375384
- `eip7002ContractAddress`: _string_ (address)
376385
- `eip7002TransitionTimestamp`: _string_ (hex integer)
377386
- `eip7251ContractAddress`: _string_ (address)
378387
- `eip7251TransitionTimestamp`: _string_ (hex integer)
379388
- `eip7594TransitionTimestamp`: _string_ (hex integer)
380389
- `eip7623TransitionTimestamp`: _string_ (hex integer)
381-
- `eip7692TransitionTimestamp`: _string_ (hex integer)
382390
- `eip7702TransitionTimestamp`: _string_ (hex integer)
383391
- `eip7708TransitionTimestamp`: _string_ (hex integer)
384392
- `eip7778TransitionTimestamp`: _string_ (hex integer)
385393
- `eip7823TransitionTimestamp`: _string_ (hex integer)
386394
- `eip7825TransitionTimestamp`: _string_ (hex integer)
387395
- `eip7843TransitionTimestamp`: _string_ (hex integer)
388396
- `eip7883TransitionTimestamp`: _string_ (hex integer)
389-
- `eip7907TransitionTimestamp`: _string_ (hex integer)
390397
- `eip7918TransitionTimestamp`: _string_ (hex integer)
391398
- `eip7928TransitionTimestamp`: _string_ (hex integer)
392399
- `eip7934MaxRlpBlockSize`: _string_ (hex integer)
393400
- `eip7934TransitionTimestamp`: _string_ (hex integer)
394401
- `eip7939TransitionTimestamp`: _string_ (hex integer)
395402
- `eip7951TransitionTimestamp`: _string_ (hex integer)
396403
- `eip7954TransitionTimestamp`: _string_ (hex integer)
404+
- `eip7976TransitionTimestamp`: _string_ (hex integer)
405+
- `eip7981TransitionTimestamp`: _string_ (hex integer)
397406
- `eip7Transition`: _string_ (hex integer)
398407
- `eip8024TransitionTimestamp`: _string_ (hex integer)
399408
- `eip8037TransitionTimestamp`: _string_ (hex integer)
@@ -413,7 +422,6 @@ Information about this node
413422
- `opIsthmusTransitionTimestamp`: _string_ (hex integer)
414423
- `registrar`: _string_ (address)
415424
- `rip7212TransitionTimestamp`: _string_ (hex integer)
416-
- `rip7728TransitionTimestamp`: _string_ (hex integer)
417425
- `terminalPoWBlockNumber`: _string_ (hex integer)
418426
- `terminalTotalDifficulty`: _string_ (hex integer)
419427
- `transactionPermissionContract`: _string_ (address)
@@ -563,14 +571,14 @@ curl localhost:8545 \
563571

564572
### admin_removePeer
565573

566-
Removes given node.
574+
Removes the given node from the static peer set and disconnects any active session. Set `persistent` to also remove the peer from static-nodes.json so it is not restored on restart.
567575

568576
<Tabs>
569577
<TabItem value="params" label="Parameters">
570578

571579
1. `enode`: _string_
572580

573-
2. `removeFromStaticNodes`: _boolean_
581+
2. `persistent`: _boolean_
574582

575583

576584
</TabItem>
@@ -584,14 +592,14 @@ curl localhost:8545 \
584592
"jsonrpc": "2.0",
585593
"id": 0,
586594
"method": "admin_removePeer",
587-
"params": [enode, removeFromStaticNodes]
595+
"params": [enode, persistent]
588596
}'
589597
```
590598

591599
</TabItem>
592600
<TabItem value="response" label="Response">
593601

594-
Removed node
602+
`true` if the input enode was valid and the removal was attempted.
595603

596604
```json
597605
{
@@ -601,20 +609,22 @@ Removed node
601609
}
602610
```
603611

604-
`result`: _string_
612+
`result`: _boolean_
605613

606614
</TabItem>
607615
</Tabs>
608616

609617
### admin_removeTrustedPeer
610618

611-
Removes the given node from the trusted peers list.
619+
Removes the given node from the trusted peer set. Set `persistent` to also remove the peer from trusted-nodes.json so it is not re-trusted on restart.
612620

613621
<Tabs>
614622
<TabItem value="params" label="Parameters">
615623

616624
1. `enode`: _string_
617625

626+
2. `persistent`: _boolean_
627+
618628

619629
</TabItem>
620630
<TabItem value="request" label="Request" default>
@@ -627,14 +637,14 @@ curl localhost:8545 \
627637
"jsonrpc": "2.0",
628638
"id": 0,
629639
"method": "admin_removeTrustedPeer",
630-
"params": [enode]
640+
"params": [enode, persistent]
631641
}'
632642
```
633643

634644
</TabItem>
635645
<TabItem value="response" label="Response">
636646

637-
Boolean indicating success
647+
`true` if the input enode was valid and the removal was attempted.
638648

639649
```json
640650
{

0 commit comments

Comments
 (0)