mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-12 18:46:22 +00:00
Added compact committee class
This commit is contained in:
parent
0fa4491c41
commit
7132778a69
@ -7,6 +7,7 @@
|
||||
- [Phase 1 miscellaneous beacon chain changes](#phase-1-miscellaneous-beacon-chain-changes)
|
||||
- [Table of contents](#table-of-contents)
|
||||
- [Classes](#classes)
|
||||
- [CompactCommittee](#compactcommittee)
|
||||
- [ShardReceiptProof](#shardreceiptproof)
|
||||
- [Helpers](#helpers)
|
||||
- [pack_compact_validator](#pack_compact_validator)
|
||||
@ -26,6 +27,14 @@
|
||||
|
||||
## Classes
|
||||
|
||||
#### `CompactCommittee`
|
||||
|
||||
```python
|
||||
class CompactCommittee(Container):
|
||||
pubkeys: List[BLSPubkey, MAX_VALIDATORS_PER_COMMITTEE]
|
||||
compact_validators: List[uint64, MAX_VALIDATORS_PER_COMMITTEE]
|
||||
```
|
||||
|
||||
#### `ShardReceiptProof`
|
||||
|
||||
```python
|
||||
|
Loading…
x
Reference in New Issue
Block a user