add GeneralizedIndex to custom types

This commit is contained in:
Danny Ryan 2019-08-23 12:00:01 -06:00
parent c1f2e92ad1
commit 1392c931d0
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 9 additions and 0 deletions

View File

@ -6,6 +6,7 @@
- [Phase 1 miscellaneous beacon chain changes](#phase-1-miscellaneous-beacon-chain-changes) - [Phase 1 miscellaneous beacon chain changes](#phase-1-miscellaneous-beacon-chain-changes)
- [Table of contents](#table-of-contents) - [Table of contents](#table-of-contents)
- [Custom types](#custom-types)
- [Configuration](#configuration) - [Configuration](#configuration)
- [Classes](#classes) - [Classes](#classes)
- [CompactCommittee](#compactcommittee) - [CompactCommittee](#compactcommittee)
@ -26,6 +27,14 @@
<!-- /TOC --> <!-- /TOC -->
## Custom types
We define the following Python custom types for type hinting and readability:
| Name | SSZ equivalent | Description |
| - | - | - |
| `GeneralizedIndex` | `uint64` | a generalized index into an SSZ merkle tree |
## Configuration ## Configuration
| Name | Value | Unit | Duration | Name | Value | Unit | Duration