mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-22 00:20:28 +00:00
Apply suggestions from code review
Co-authored-by: g11tech <develop@g11tech.io> Co-authored-by: Pop Chunhapanya <haxx.pop@gmail.com>
This commit is contained in:
parent
87e9702ab0
commit
428c166283
@ -166,9 +166,9 @@ def get_data_column_sidecars(signed_block: SignedBeaconBlock,
|
|||||||
|
|
||||||
### Custody requirement
|
### Custody requirement
|
||||||
|
|
||||||
Each node downloads and custodies a minimum of `CUSTODY_REQUIREMENT` subnets per slot. The particular columns that the node is required to custody are selected pseudo-randomly (more on this below).
|
Each node downloads and custodies a minimum of `CUSTODY_REQUIREMENT` subnets per slot. The particular subnets that the node is required to custody are selected pseudo-randomly (more on this below).
|
||||||
|
|
||||||
A node *may* choose to custody and serve more than the minimum honesty requirement. Such a node explicitly advertises a number greater than `CUSTODY_REQUIREMENT` via the peer discovery mechanism -- for example, in their ENR (e.g. `custody_lines: 4` if the node custodies `4` subnets each slot) -- up to a `DATA_COLUMN_SIDECAR_SUBNET_COUNT` (i.e. a super-full node).
|
A node *may* choose to custody and serve more than the minimum honesty requirement. Such a node explicitly advertises a number greater than `CUSTODY_REQUIREMENT` via the peer discovery mechanism -- for example, in their ENR (e.g. `custody_subnet_count: 4` if the node custodies `4` subnets each slot) -- up to a `DATA_COLUMN_SIDECAR_SUBNET_COUNT` (i.e. a super-full node).
|
||||||
|
|
||||||
A node stores the custodied columns for the duration of the pruning period and responds to peer requests for samples on those columns.
|
A node stores the custodied columns for the duration of the pruning period and responds to peer requests for samples on those columns.
|
||||||
|
|
||||||
|
@ -163,7 +163,6 @@ Request Content:
|
|||||||
|
|
||||||
```
|
```
|
||||||
(
|
(
|
||||||
DataColumnIdentifier
|
|
||||||
List[DataColumnIdentifier, MAX_REQUEST_DATA_COLUMN_SIDECARS]
|
List[DataColumnIdentifier, MAX_REQUEST_DATA_COLUMN_SIDECARS]
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user