Implement Subnet Sampling for PeerDAS (#6410)

* Add `SAMPLES_PER_SLOT` config.

* Rename `sampling` module to `peer_sampling`

* Implement subnet sampling.

* Update lookup test.

* Merge branch 'unstable' into subnet-sampling

* Merge branch 'unstable' into subnet-sampling

# Conflicts:
#	beacon_node/beacon_chain/src/data_availability_checker.rs
#	beacon_node/http_api/src/publish_blocks.rs
#	beacon_node/lighthouse_network/src/types/globals.rs
#	beacon_node/network/src/sync/manager.rs

* Merge branch 'unstable' into subnet-sampling
This commit is contained in:
Jimmy Chen
2024-10-04 10:27:30 +10:00
committed by GitHub
parent a4a673b780
commit f3a5e256da
20 changed files with 122 additions and 80 deletions

View File

@@ -140,4 +140,5 @@ BLOB_SIDECAR_SUBNET_COUNT: 6
# DAS
CUSTODY_REQUIREMENT: 4
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
NUMBER_OF_COLUMNS: 128
NUMBER_OF_COLUMNS: 128
SAMPLES_PER_SLOT: 8

View File

@@ -123,4 +123,5 @@ BLOB_SIDECAR_SUBNET_COUNT: 6
# DAS
CUSTODY_REQUIREMENT: 4
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
NUMBER_OF_COLUMNS: 128
NUMBER_OF_COLUMNS: 128
SAMPLES_PER_SLOT: 8

View File

@@ -127,4 +127,5 @@ BLOB_SIDECAR_SUBNET_COUNT: 6
# DAS
CUSTODY_REQUIREMENT: 4
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
NUMBER_OF_COLUMNS: 128
NUMBER_OF_COLUMNS: 128
SAMPLES_PER_SLOT: 8

View File

@@ -149,4 +149,5 @@ BLOB_SIDECAR_SUBNET_COUNT: 6
# DAS
CUSTODY_REQUIREMENT: 4
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
NUMBER_OF_COLUMNS: 128
NUMBER_OF_COLUMNS: 128
SAMPLES_PER_SLOT: 8

View File

@@ -123,4 +123,5 @@ BLOB_SIDECAR_SUBNET_COUNT: 6
# DAS
CUSTODY_REQUIREMENT: 4
DATA_COLUMN_SIDECAR_SUBNET_COUNT: 128
NUMBER_OF_COLUMNS: 128
NUMBER_OF_COLUMNS: 128
SAMPLES_PER_SLOT: 8