PeerDAS: Implement P2P (#15347)

* PeerDAS: Implement P2P.

* Fix Terence's comment.

* Fix Terence's comment.

* Fix Terence's comment.

* Fix Preston's comment.

* Fix Preston's comment.

* `TopicFromMessage`: Exit early.

* Fix Preston's comment.

* `TestService_BroadcastDataColumn`: Avoid ugly sleep.

* Fix Kasey's comment.

* Fix Kasey's comment.

* Fix Kasey's comment.

* Fix Kasey's comment.
This commit is contained in:
Manu NALEPA
2025-05-28 17:23:19 +02:00
committed by GitHub
parent 2c09bc65a4
commit 3a3bd3902c
34 changed files with 1301 additions and 108 deletions

View File

@@ -11,6 +11,7 @@ type Metadata interface {
SequenceNumber() uint64
AttnetsBitfield() bitfield.Bitvector64
SyncnetsBitfield() bitfield.Bitvector4
CustodyGroupCount() uint64
InnerObject() interface{}
IsNil() bool
Copy() Metadata
@@ -18,5 +19,6 @@ type Metadata interface {
ssz.Unmarshaler
MetadataObjV0() *pb.MetaDataV0
MetadataObjV1() *pb.MetaDataV1
MetadataObjV2() *pb.MetaDataV2
Version() int
}