Skip to content

Commit 258c2c9

Browse files
authored
Merge pull request #3794 from cskiraly/peer-das-reconstruction
EIP-7594: clarifying reconstruction and cross-seeding
2 parents 29f3948 + 4539265 commit 258c2c9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

specs/_features/eip7594/das-core.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ In this construction, we extend the blobs using a one-dimensional erasure coding
259259

260260
For each column -- use `data_column_sidecar_{subnet_id}` subnets, where `subnet_id` can be computed with the `compute_subnet_for_data_column_sidecar(column_index: ColumnIndex)` helper. The sidecars can be computed with the `get_data_column_sidecars(signed_block: SignedBeaconBlock, blobs: Sequence[Blob])` helper.
261261

262-
To custody a particular column, a node joins the respective gossip subnet. Verifiable samples from their respective column are gossiped on the assigned subnet.
262+
Verifiable samples from their respective column are distributed on the assigned subnet. To custody a particular column, a node joins the respective gossipsub subnet. If a node fails to get a column on the column subnet, a node can also utilize the Req/Resp protocol to query the missing column from other peers.
263263

264264
## Peer sampling
265265

@@ -271,11 +271,9 @@ Due to the deterministic custody functions, a node knows exactly what a peer sho
271271

272272
## Reconstruction and cross-seeding
273273

274-
If the node obtains 50%+ of all the columns, they can reconstruct the full data matrix via `recover_matrix` helper.
274+
If the node obtains 50%+ of all the columns, it SHOULD reconstruct the full data matrix via `recover_matrix` helper. Nodes MAY delay this reconstruction allowing time for other columns to arrive over the network. If delaying reconstruction, nodes may use a random delay in order to desynchronize reconstruction among nodes, thus reducing overall CPU load.
275275

276-
If a node fails to sample a peer or fails to get a column on the column subnet, a node can utilize the Req/Resp message to query the missing column from other peers.
277-
278-
Once the node obtain the column, the node SHOULD send the missing columns to the column subnets.
276+
Once the node obtains a column through reconstruction, the node MUST expose the new column as if it had received it over the network. If the node is subscribed to the subnet corresponding to the column, it MUST send the reconstructed DataColumnSidecar to its topic mesh neighbors. If instead the node is not subscribed to the corresponding subnet, it SHOULD still expose the availability of the DataColumnSidecar as part of the gossip emission process.
279277

280278
*Note*: A node always maintains a matrix view of the rows and columns they are following, able to cross-reference and cross-seed in either direction.
281279

0 commit comments

Comments
 (0)