Added compact committee class

This commit is contained in:
vbuterin 2019-08-06 10:14:45 -04:00 committed by Hsiao-Wei Wang
parent 0fa4491c41
commit 7132778a69
No known key found for this signature in database
GPG Key ID: 95B070122902DEA4

View File

@ -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