Commit Graph

1249 Commits

Author SHA1 Message Date
Nishant Das
929bc04211
Implement IsSurroundVote, IsDoubleVote, GetForkVersion,GetDomain helpers (#1180)
* Adding vote helpers

* Adding fork/domain helpers

* Adding comments

* visibility

* removing misc package
2018-12-28 15:29:02 +08:00
Raul Jordan
f5abc780ab
Verify Block Proposer RANDAO (#1104) 2018-12-27 23:19:32 -06:00
Nishant Das
e95e3ed517
Update State Transitions to Process Block Roots (#1176)
* Adding block root updating functions

* Adding block root updating functions

* Commiting stuff

* Updating test

* permissions

* adding tests

* fixing tests and gazelle

* Revert randao changes

* Comment

* Addressing review

* indenting
2018-12-27 14:48:09 +08:00
terence tsao
c24e6806f3
Implement Validator Registry Delta Chain Tip Helper for Validator Rotation (#1179) 2018-12-26 21:47:05 -08:00
terence tsao
8515cc3cd1
Attestation Inclusion and Crosslink Rewards and Penalties (#1178) 2018-12-26 21:27:35 -08:00
terence tsao
75bf268d8b Rewards/Penalties for Justification and Finalization Case 2 (#1175) 2018-12-26 22:11:02 -06:00
Raul Jordan
952dbe983e
Integrate Block Operations Into State Transition (#1135) 2018-12-26 21:15:12 -06:00
renovate[bot]
141541c963 Update dependency solium to v1.2.0 (#1177) 2018-12-26 08:49:38 -08:00
terence tsao
72428239b8
Rewards/Penalties for Justification and Finalization Case 1 (#1173) 2018-12-26 07:46:06 -08:00
terence tsao
f975af8bc7
Rewards Penalties Helpers (#1168) 2018-12-26 07:22:52 -08:00
Nishant Das
5804dcfb67
Add Batch Syncing for Initial Sync (#1119)
* adding proto objects

* simulator changes

* adding stuff for initial sycn

* more changes

* finally fixed test

* fixing tests and sync

* test fix

* adding batched block response

* remove types references

* fix tests

* addressing review

* removing genesis block

* updating protos

* fix merge conflicts

* file permissions
2018-12-26 22:16:46 +08:00
Nishant Das
9db1002d87
Updating Genesis Block to Spec (#1172)
* Updating to spec

* addressing review comments
2018-12-25 14:47:07 +08:00
Raul Jordan
d6f16bb878
Update Gometalinter.json (#1171)
* travis

* added config

* gometa

* fix

* use megacheck
2018-12-24 10:06:22 -06:00
terence tsao
5b967fc6ce
Implement Crosslink Processing (#1167) 2018-12-24 06:58:18 -08:00
terence tsao
c7a92b88c8
Epoch Processing: Receipt Root, Justification and Finalization (#1158) 2018-12-23 22:36:09 -08:00
Raul Jordan
50b364728c Exclude Protos from Gometalinter in Travis (#1170)
* travis

* added config
2018-12-24 13:35:34 +08:00
Raul Jordan
5d26efcfaa
Deprecate types.BeaconState with pb.BeaconState Generated Proto (#1164) 2018-12-23 16:51:04 -06:00
Preston Van Loon
10f45744d6
Use gogo protobuf as the protoc compiler (#1165)
* first commit, remote att types

* no more agg attestation proto

* regen mock

* only attestations

* proto

* att process

* fix att references

* more tests passing

* use att protos

* complete

* change visibility

* use gogoprotobu
2018-12-23 15:34:59 -05:00
terence tsao
b9a233da7d Implemented Rest of Epoch Helpers (#1145)
* beginning epoch processing helper funcs

* renamed helpers to under epoch_operations

* implemented AttestingValidatorIndices

* deleted old epoch_processing.go file

* implemented WinningRoot & LowerThan helper funcs

* rest of the epoch helpers

* gazelle

* added tests

* merged

* mentioned LowerThan is for big endian format

* fixed spelling
2018-12-22 15:38:09 -05:00
Raul Jordan
1065617087 Replace Attestation Type Primitive With Proto Generated Type (#1149)
* first commit, remote att types

* no more agg attestation proto

* regen mock

* only attestations

* proto

* att process

* fix att references

* more tests passing

* use att protos

* complete

* Update dependency com_github_deckarep_golang_set to v1 (#1159)

* Update dependency com_github_edsrzf_mmap_go to v1 (#1160)

* Update dependency com_github_go_stack_stack to v1 (#1161)

* Update dependency com_github_rs_cors to v1 (#1162)

* Update dependency in_gopkg_urfave_cli_v1 to v1 (#1163)

* change visibility
2018-12-22 15:30:59 -05:00
renovate[bot]
711c1b39f4 Update dependency in_gopkg_urfave_cli_v1 to v1 (#1163) 2018-12-22 17:05:28 +08:00
renovate[bot]
70d3824617 Update dependency com_github_rs_cors to v1 (#1162) 2018-12-22 16:46:39 +08:00
renovate[bot]
d01be9a909 Update dependency com_github_go_stack_stack to v1 (#1161) 2018-12-22 16:42:05 +08:00
renovate[bot]
58a5504188 Update dependency com_github_edsrzf_mmap_go to v1 (#1160) 2018-12-22 16:17:12 +08:00
renovate[bot]
b1f9f93e07 Update dependency com_github_deckarep_golang_set to v1 (#1159) 2018-12-22 14:37:35 +08:00
renovate[bot]
cf4d0eeb99 Update dependency in_gopkg_urfave_cli_v1 to v0.1.0 (#1157) 2018-12-21 21:24:37 -05:00
renovate[bot]
5f0473699b Update dependency com_github_rjeczalik_notify to v0.9.2 (#1156) 2018-12-21 21:11:41 -05:00
Preston Van Loon
2f1b17f1bd
Use bazel managed deps for go-ethereum (#1155)
* Update go-ethereum to use managed deps

* more go-ethereum deps
2018-12-21 21:01:25 -05:00
renovate[bot]
6ac3529dbf Update org_golang_x_sync commit hash to 37e7f08 (#1154) 2018-12-21 12:32:42 -08:00
renovate[bot]
c3f01947a0 Update com_github_libp2p_go_libp2p_autonat commit hash to 93b1787 (#1153) 2018-12-21 11:46:28 -08:00
renovate[bot]
1910480b5d Update org_golang_x_sys commit hash to b4a75ba (#1152) 2018-12-21 08:00:47 -08:00
renovate[bot]
c50c8e0b3d Update org_golang_x_sys commit hash to 8ff4e54 (#1148) 2018-12-21 18:07:15 +08:00
renovate[bot]
c6cd1aa78c Update org_golang_google_api commit hash to 65a46ca (#1151) 2018-12-21 10:05:23 +08:00
renovate[bot]
988f533875 Update com_github_aristanetworks_goarista commit hash to 0ca7113 (#1150) 2018-12-20 19:34:26 -05:00
renovate[bot]
a4b0399213 Update dependency bazel_gazelle to v0.16.0 (#1147) 2018-12-20 15:12:04 -08:00
Raul Jordan
e49a190754
Replace Types of Block Primitives With Proto Generated Types (#1137)
* refactor repo to use protos

* removed block successfully in types

* db package updated

* db, core passing

* chain service done

* no more block instances

* all pass

* deprecate all block protos

* tests pass
2018-12-20 17:00:38 -05:00
renovate[bot]
2f8115af0b Update org_golang_x_sys commit hash to 7c4c994 (#1146) 2018-12-20 11:41:21 -08:00
Jie Hou
337f6ae58c SSZ: Support Pointer and Array (#1114) 2018-12-20 06:51:12 -08:00
Preston Van Loon
86d0d0dd4c
Renovate ignore com_github_aws_aws_sdk_go (#1142) 2018-12-19 21:16:15 -05:00
Raul Jordan
6125c304ba
Remove Deprecated Spec Logic (#1138)
* no more deprecated stuff

* remove incentive functions

* rem deprecated

* remove funcs
2018-12-19 20:45:21 -05:00
terence tsao
6eb2d816b4
Implemented ValidatorBalance field in Proto with Some Helpers (#1139) 2018-12-19 16:49:22 -08:00
renovate[bot]
982cf094ba Update org_golang_google_api commit hash to 583d854 (#1143) 2018-12-19 19:20:22 -05:00
renovate[bot]
983d91a913 Update dependency com_github_aws_aws_sdk_go to v1.16.9 (#1140) 2018-12-19 19:09:25 -05:00
Preston Van Loon
b67ac785a1 Update WORKSPACE (#1136) 2018-12-20 00:22:06 +08:00
Nishant Das
e92032346f Partial Implementation of the Slot Processing Routine (#1083) 2018-12-19 00:18:42 -05:00
terence tsao
74532a80d1
Boundary Attestation and Balances Helper functions (#1115) 2018-12-18 20:55:36 -08:00
renovate[bot]
c513ccb4e2 Update org_golang_google_api commit hash to 146117f (#1133) 2018-12-18 22:32:21 -05:00
renovate[bot]
fc6ea39c46 Update com_github_libp2p_go_libp2p_discovery commit hash to cc4105e (#1129) 2018-12-18 22:22:49 -05:00
renovate[bot]
98a906c548 Update dependency com_github_libp2p_go_libp2p to v6.0.29 (#1131)
* Update dependency com_github_libp2p_go_libp2p to v6.0.29

* update transient deps
2018-12-18 22:14:23 -05:00
renovate[bot]
4a784d3735 Update com_github_prometheus_common commit hash to 67670fe (#1125)
* Update com_github_prometheus_common commit hash to 67670fe

* fix formatting, the values are now floats, not ints

* delete metric with a now wild floating point value
2018-12-18 21:50:26 -05:00