Commit Graph

2619 Commits

Author SHA1 Message Date
Justin
c4297ae330 Update 1_shard-data-chains.md 2019-09-03 19:17:19 +01:00
Justin
3ef24870d6 Changes as per today's discussion
1) Make `ShardBlock` and `ShardState` flat containers (as opposed to plain containers)
2) Make Gwei deltas `int64` (as opposed `uint64`)
3) Make `older_committee_deltas` a `Vector` (as opposed to `List`)
4) Apply size fee on block body only (as opposed to block header and body)
5) Enshrine minimum "extra" block body fee for proposers (reusing `PROPOSER_REWARD_QUOTIENT`)
6) Fix bugs reported by @terencechain and @hwwhww 👍
2019-09-03 18:55:46 +01:00
vbuterin
834edc2dbc Removed shard from genesis shard block 2019-09-03 13:44:50 +01:00
Justin
66c3c391d4 Update 1_shard-data-chains.md 2019-08-29 16:36:13 +01:00
Justin
d7e628e08f WIP! 2019-08-28 22:57:24 +01:00
Justin
334d6c6bc7 Revamp 1_shard-data-chains.md
WIP!

* Significant simplifications
* A few bug fixes
* Lots of cleanups and reorganising (making it consistent with `0_beacon-chain.md`)
* Likely a few bugs introduced
2019-08-27 14:58:28 +01:00
Danny Ryan
2abb81d4e9 Merge pull request #1366 from ethereum/remove-val-api
remove Val API and add links to outside spec/standards repos
2019-08-26 08:41:56 -06:00
Hsiao-Wei Wang
f8d9b0d283 Merge branch 'dev' into roots-removal 2019-08-24 03:10:02 +08:00
Diederik Loerakker
5d2f34f882 Merge pull request #1363 from ethereum/executable_merkle_proofs
Executable Merkle proofs
2019-08-23 14:50:12 +02:00
Hsiao-Wei Wang
bbaa238742 Fix the definition of GeneralizedIndex 2019-08-23 20:20:35 +08:00
vbuterin
5fcfcac75e Updated light client sync for newer committees (#1316) 2019-08-20 14:33:29 +02:00
Hsiao-Wei Wang
d6bbd9bfa1 Add BaseBytes to cover Bytes and BytesN 2019-08-20 19:23:31 +08:00
Hsiao-Wei Wang
6577f159c9 Merge branch 'dev' into executable_merkle_proofs 2019-08-20 19:13:12 +08:00
Hsiao-Wei Wang
663d43d07f PR feedback, fix type hinting, add missing Container.get_field_names() method 2019-08-20 18:55:30 +08:00
Martin Lundfall
a843e9aeeb specs/ fix links 2019-08-19 13:47:09 +02:00
Martin Lundfall
35d89e2706 merkle_proofs, simple-serialize, test_gen/README: update ToC 2019-08-19 13:03:51 +02:00
Danny Ryan
83566afa1b remove APIs and add links to outside spec/stnards repos 2019-08-16 13:35:23 -06:00
Hsiao-Wei Wang
bb0b5b09cc Use SSZVariableName instead of str, and fix some mypy errors 2019-08-15 19:02:21 +08:00
Hsiao-Wei Wang
2741a5f33d Minor fixes 2019-08-15 18:36:48 +08:00
Hsiao-Wei Wang
0f52d460a5 Use the get_previous_power_of_2 function in ethereum/eth2.0-specs#1323 2019-08-15 16:14:07 +08:00
Hsiao-Wei Wang
d88a83d482 Fix most mypy errors 2019-08-15 16:01:53 +08:00
Hsiao-Wei Wang
dc93391421 Make flake8 check pass 2019-08-15 15:30:01 +08:00
Diederik Loerakker
f9d703c126 Merge pull request #1186 from ethereum/vbuterin-patch-3
Updates to SSZ Merkle proofs phase 0 doc
2019-08-14 23:49:54 +02:00
vbuterin
72103e9deb Update specs/light_client/merkle_proofs.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-08-14 23:44:26 +02:00
vbuterin
c7af2496ef Update specs/light_client/merkle_proofs.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-08-14 23:44:19 +02:00
Danny Ryan
5d8c31cfb1 Update specs/simple-serialize.md 2019-08-14 11:07:03 -06:00
Justin
84558e0c4c Add summaries and expansions to simple-serialize.md 2019-08-14 15:48:30 +02:00
Danny Ryan
931c51ce7a Merge pull request #1350 from AgeManning/network-spec-corrections
Minor corrections and clarifications to the network specification
2019-08-13 07:46:27 -06:00
Age Manning
8cf4544ef2 Merge latest dev 2019-08-13 12:41:34 +10:00
Danny Ryan
c224af999e MAX_PERSISTENT_COMMITTEE_SIZE -> TARGET_PERSISTENT_COMMITTEE_SIZE 2019-08-12 19:05:16 -06:00
Age Manning
e23b37842e Update specs/networking/p2p-interface.md
Co-Authored-By: Danny Ryan <dannyjryan@gmail.com>
2019-08-13 08:09:44 +10:00
Hsiao-Wei Wang
d84c902bb1 Merge branch 'dev' into v082_backport 2019-08-12 01:47:24 +08:00
Hsiao-Wei Wang
8ac5ea20be Merge pull request #1353 from mcdee/dev
Add link from DepositData reference to definition
2019-08-12 01:08:04 +08:00
dankrad
b345dc0f5f Legendre custody construction (#1305)
* Stab at Legendre custody construction + some tests

* Fix some problems and fix function puller to remove phase0 only lines in phase1

* Pass the linter

* Add headings

* Fix domain for BLS stub

* Change Jacobi to Legendre

* n -> q to clarify notation

* Headings

* Another missing heading

* Custody subchunks via padding

* Fix max_reveal_lateness stuff

* Better names for reveal period functions

* Better parametrization of max_reveal_lateness computation and tests for custody reveal processing

* Fix linter

* Allow challenging for one period after the custody reveal, shorter periods for minimal tests

* Fix lint

* Fix linter error
2019-08-11 13:05:17 -04:00
Hsiao-Wei Wang
40fbcd3d59 Merge branch 'dev' into v082_backport 2019-08-12 00:58:20 +08:00
Hsiao-Wei Wang
01d58eb1c6 Merge branch 'dev' into v082_backport 2019-08-12 00:18:25 +08:00
Hsiao-Wei Wang
4df372deb7 Merge branch 'dev' into vbuterin-patch-17 2019-08-11 23:45:18 +08:00
Hsiao-Wei Wang
5290b62465 Fix + refactor is_valid_beacon_attestation and add basic test 2019-08-11 22:24:21 +08:00
Jim McDonald
0e7287eda5 Add link from DepositData reference to definition 2019-08-09 19:09:04 +01:00
JSON
5808ab3ce7 doc standardization for networking spec (#1338)
* Update p2p-interface.md

* Update p2p-interface.md

* Update p2p-interface.md

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>

* Update specs/networking/p2p-interface.md

Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-08-09 13:30:05 +08:00
Age Manning
2a2c9967a8 Minor corrections and clarifications to the network specification 2019-08-09 12:38:48 +10:00
Hsiao-Wei Wang
095cfe6633 Fix build_spec and typo 2019-08-07 19:29:24 +08:00
vbuterin
cb92aa91dd Include state root blocks in crosslink data in non-block slots
Also adds `total_bytes` to state. The goal is to facilitate easier fraud proofs, so that one needs to simply check two adjacent headers in a crosslink and their respective bodies to verify a fraud proof.
2019-08-05 14:37:38 -04:00
Ben Edgington
499e187382 Fix constants table
Tables need header rows in Markdown.
2019-08-05 12:19:32 +01:00
Jacek Sieka
d09d56bec8 discuss length-prefixing pro/con, consider for removal, add link 2019-08-04 20:56:41 +02:00
Paul Hauner
32a43acfc1 Clarify length bit for Bitlist merklization 2019-08-04 12:10:32 -06:00
Jacek Sieka
cf1d49a1de cleanups 2019-08-03 09:27:49 +02:00
protolambda
63e2915e12 update SSZ static doc to reflect options in test conditions 2019-08-02 21:43:36 +02:00
Jacek Sieka
514ff5814f Updates
* constants -> configurations
* constant name updates
* initial validation requirement for attestations
* allow aggregated attestations to be published
* move discv5 down a bit
* additional rationale
2019-08-02 21:12:40 +02:00
vbuterin
5237ac4954 Update specs/light_client/merkle_proofs.md 2019-08-02 09:57:32 -04:00