eth2-das

command module
v0.0.0-...-542960b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2021 License: MIT Imports: 10 Imported by: 0

README

DEPRECATED

My view on Data Availability Sampling has changed, exploring UDP (discv5 based) instead of TCP (gossipsub based) sampling looks more promising.

Eth2 Data Availability Sampling

This repository is a test plan to import into Testground. It tests the viability of various networking ideas for Phase 1 of Eth2.

DAS experiment

Background:

The idea is to implement a proof of concept in Go, and run it on Testground with different parameters. Work in progress, highly experimental

DAS spec

A draft of the phase 1 specification can be found in the ./spec folder. This includes:

The eth2node package

A mock Eth2 node with just the Phase 1 DAS functionality (sampling, networking, propagation, validation, processing), and instrumentation for gossip tests.

Misc. configurables

Not part of the DAS spec, but for testing purposes:

Name Planned Value Unit Description
PEER_COUNT_LO 120 peers How many peers for low-water
PEER_COUNT_HI 200 peers How many peers to maintain for hi-water
SHARD_COUNT 64 shards Number of shards
SECONDS_PER_SLOT 12 seconds Number of seconds in each slot
VALIDATOR_COUNT 150000 validators Number of active validators

License

MIT, see LICENSE file.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL