Commit Graph

81 Commits

Author SHA1 Message Date
Danny Ryan 7af6945f53
Merge pull request #1491 from ethereum/rm-signing-root
rm signing root (fixes #1487)
2019-12-05 13:16:39 -07:00
protolambda 103a66b2af
remove signing_root: see issue #1487 2019-12-03 21:10:19 +01:00
terence tsao 1113953a59
Update p2p-interface.md 2019-12-03 17:17:17 +08:00
Hsiao-Wei Wang 8fed220736
Update `AggregateAndProof` and rename `slot_signature` to `get_slot_signature`
1. Reorder the fields to fit the container name
2. Rename `AggregateAndProof.index: ValidatorIndex` to `AggregateAndProof.aggregator_index: ValidatorIndex`
    - Since we also have similar naming style like
`ProposerSlashing.proposer_index` or `VoluntaryExit.validator_index`
2019-11-18 21:35:12 +08:00
Jacek Sieka af5238ad9a
Describe which finalized root/epoch to use 2019-11-01 08:42:10 +01:00
Jacek Sieka 1dc09e8567
hash cleanups
* one more hash tree root gone for blocks - block hashes are always
signing roots!
* use simple serialize data types consistently
2019-10-31 17:32:08 +01:00
Jacek Sieka 351dcd4bb8
p2p-interface: clarify that signing_root is used for block requests 2019-10-29 08:49:03 +01:00
Danny Ryan 60a469b9c7
Merge pull request #1440 from ethereum/naive-aggregation
Naive aggregation strategy
2019-10-28 17:42:13 +08:00
Danny Ryan 04c20aeb28
add expicit ranges for valid attesation propogation range 2019-10-28 18:19:17 +09:00
Danny Ryan 3bb6aec3ab
Clarify committee_index subnets by defining and using "subnet" var
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-10-28 17:10:48 +08:00
Danny Ryan 43132a3082
[reopen] Eth2 shorthand standardized (#1452)
* Update README.md

* Update README.md

* Update p2p-interface.md

* Update simple-serialize.md

* Update README.md

* Update initialization.md

* Update README.md

* Update 0_beacon-chain-validator.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2019-10-28 15:53:10 +08:00
Danny Ryan 6fc1feaa2a
rearrange some of the gossip info in response to hwwhww review 2019-10-28 16:15:26 +09:00
Danny Ryan e8fc84eadc
Update specs/networking/p2p-interface.md
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-10-28 15:00:55 +08:00
Danny Ryan 795105a1f4
Merge branch 'dev' into naive-aggregation 2019-10-28 15:58:49 +09:00
Danny Ryan d6563bce2d
minor edits to p2p faq 2019-10-27 12:51:46 +09:00
Danny Ryan 6a62cfd3f5
gossip cleanup 2019-10-27 12:41:43 +09:00
Danny Ryan a700e7a865
fmt 2019-10-27 12:32:28 +09:00
Danny Ryan e005bb04c5
add unaggregated attestation validations 2019-10-27 12:29:11 +09:00
Danny Ryan db8347645e
add validation condition to aggregate gossip to prevent forwarding duplicate aggregates along 2019-10-27 12:18:13 +09:00
Danny Ryan 7804f94279
explain why aggregate_and_proof for aggregate gossip in p2p faq 2019-10-24 10:23:37 +09:00
Danny Ryan 1cda8c8a8b
aggregation cleanups 2019-10-24 10:10:29 +09:00
Danny Ryan cf1d855be6
lint 2019-10-23 17:42:53 +09:00
Danny Ryan 7fcb60795b
lint 2019-10-23 17:29:53 +09:00
Danny Ryan a9c2112571
add bulk of naive aggregation strategy 2019-10-23 17:13:01 +09:00
Danny Ryan bc8ff33a37
working through attestation aggregation 2019-10-22 15:49:50 +08:00
Danny Ryan 4b2596dbad
ensure BeaconBlocksByRoot requests are lists rather than containers 2019-09-16 08:59:04 -05:00
Age Manning 8bb9354e65
Renames REQ_RESP_MAX_SIZE to MAX_CHUNK_SIZE 2019-09-13 02:20:59 +10:00
Age Manning 9fa720b994
Removes a max chunk count and corrects timeout for chunked responses 2019-09-11 23:23:14 +10:00
Age Manning 4a7d8a4e48
Applies github suggestions 2019-09-11 06:06:22 +10:00
Danny Ryan 3ead898109
p2p spec copy cleanups 2019-09-08 15:31:22 -06:00
Danny Ryan b743deb061
cleanup max size vars 2019-09-08 15:03:25 -06:00
Danny Ryan cc12e29b25
cleanup response_chunk refactor 2019-09-08 14:57:53 -06:00
Age Manning acb86e8817
Apply Danny's suggestions 2019-09-09 05:45:42 +10:00
Age Manning 3a79ad5363
Adds chunked responses to the RPC 2019-09-09 05:38:06 +10:00
Age Manning 4937fa9b58
Network specification update 2019-09-08 22:55:55 +10:00
Danny Ryan 3d97160098
Update specs/networking/p2p-interface.md
Co-Authored-By: Diederik Loerakker <proto@protolambda.com>
2019-08-23 18:33:18 +02:00
Danny Ryan 0547d0ce67
add note on local aggregation for interop 2019-08-23 18:33:18 +02:00
Danny Ryan f62aedec31
minor formatting 2019-08-23 18:33:18 +02:00
Age Manning 194f292348
Minor corrections and clarifications to the network specification 2019-08-23 18:33:18 +02:00
JSON dee70df3a9
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-23 18:33:17 +02:00
Jacek Sieka 94d2368970
discuss length-prefixing pro/con, consider for removal, add link 2019-08-23 18:33:17 +02:00
Jacek Sieka f0ce20b922
cleanups 2019-08-23 18:33:17 +02:00
Jacek Sieka 26ea675f9c
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-23 18:33:17 +02:00
Raúl Kripalani d0e1f29beb
apply more editorial suggestions.
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
2019-08-23 18:33:17 +02:00
Raúl Kripalani e147684907
apply editorial suggestions.
Co-Authored-By: Hsiao-Wei Wang <hwwang156@gmail.com>
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
2019-08-23 18:33:17 +02:00
Raúl Kripalani 26d342e918
fmt. 2019-08-23 18:33:17 +02:00
Raúl Kripalani e81629df63
document doctoc command for posterity. 2019-08-23 18:33:16 +02:00
Raúl Kripalani aa2859299f
gossip domain: clarify why we use plaintext topic names. 2019-08-23 18:33:16 +02:00
Raúl Kripalani 4bae9b4bd1
add table of contents; amend heading level. 2019-08-23 18:33:16 +02:00
Jacek Sieka a8ac4d6c6f
Update libp2p networking spec 2019-08-23 18:33:16 +02:00