Commit Graph

1429 Commits

Author SHA1 Message Date
renovate[bot]
81c475b8bc Update com_github_prometheus_common commit hash to c47d5b9 (#1243) 2019-01-04 17:12:39 +08:00
Preston Van Loon
ef04e1efdb
Update .travis.yml (#1238) 2019-01-03 21:47:28 -05:00
renovate[bot]
b8bbc712c1 Update com_github_aristanetworks_goarista commit hash to 332ede2 (#1236) 2019-01-03 16:20:01 -08:00
Nishant Das
204b5ac594
Remove Special Records and Timestamp (#1223)
* remove dep fields

* permissions
2019-01-03 16:04:12 +08:00
renovate[bot]
2ec1597669 Update dependency org_golang_google_api to v0.1.0 (#1228) 2019-01-02 16:42:07 -08:00
renovate[bot]
0bb42984a4 Update org_golang_x_crypto commit hash to 8d7daa0 (#1227) 2019-01-02 15:56:20 -08:00
terence tsao
576136e621
Cleanup Attestation Helper Function and Test (#1220) 2019-01-02 12:19:08 -08:00
Jie Hou
e5d92a5e11 Implement SSZ Tree Hash Algorithm (#1211) 2019-01-02 11:14:12 -08:00
renovate[bot]
3fdc2f5d66 Update org_golang_x_sys commit hash to 82a175f (#1226) 2019-01-02 09:03:47 -08:00
renovate[bot]
915143c14c Update com_github_prometheus_procfs commit hash to 14fa759 (#1225) 2019-01-02 08:20:58 -08:00
Nishant Das
f305ee7fe6
Remove Deprecated Fields from Beacon State (#1222)
* remove fields

* remove deadcode
2019-01-02 13:23:03 +08:00
terence tsao
1314077a4d
Code Clean Up Part 1 - Core Package (#1216) 2019-01-01 09:17:44 -08:00
renovate[bot]
10f6b65bbf Update dependency solium to v1.2.1 (#1218) 2019-01-01 09:05:17 -08:00
Andrei Ivasko
d03d446e53 add-safemath (#1217) 2019-01-01 08:10:56 -08:00
Arun Kumar
01e7755f30 Update slashing conditions according to specs (#1210) 2018-12-31 13:52:12 -08:00
terence tsao
d3acd397fb
Implemented Process Validator Registry (#1213) 2018-12-31 10:24:52 -08:00
terence tsao
f0c9a9f0de Implement Get Initial Genesis State (#1208)
* beginning epoch processing helper funcs

* starting InitialBeaconState

* tests

* gazelle
2018-12-31 15:40:14 +08:00
Preston Van Loon
e71a1b2703
Disable race detection on go docker images, use pure=on when there are no c++ deps (#1215) 2018-12-30 22:40:39 -05:00
Jie Hou
b82b80a216 Remove Struct Fields Ordering for SSZ Encoding/Decoding (#1214) 2018-12-30 17:02:06 -08:00
Preston Van Loon
a901a154dc
Health check endpoints for services (#1183)
* /healthz part1

* lint, fix

* lints and todos

* add p2p status test

* Add test for service registry Statuses

* fix my fake errors for the linter

* Test healthz handler

* Run gazelle
2018-12-30 16:20:43 -05:00
Nishant Das
2138e1a838
fix helper (#1198) 2018-12-30 11:03:36 +08:00
Andrei Ivasko
fc97243bbd Remove Explicit Declaration of Repeated Demo Config Values (#1209) 2018-12-29 18:23:00 -08:00
Raul Jordan
2c2b30fa3a Implement Process Deposit Validator Helper Function (#1200) 2018-12-29 14:10:48 -08:00
Raul Jordan
b6052372e3
Implement Verify Merkle Branch (#1199)
* verify merkle branch

* gazelle
2018-12-29 12:46:36 -06:00
terence tsao
085bd27fe1 Implemented Can Process Validator Registry (#1188) 2018-12-29 12:21:34 -06:00
terence tsao
b23ccc608c
Update Validator Status and Process Ejections (#1186) 2018-12-29 09:24:11 -08:00
terence tsao
e03355f141
Helpers for Updating Validator Status (#1181) 2018-12-29 08:55:16 -08:00
Raul Jordan
a4e1e8cc08
Ignore XXX Fields in XXX SSZ Encoding (#1195)
* ignore XXX fields in struct

* fix encode
2018-12-28 23:12:27 -06:00
renovate[bot]
5a50f6c5b6 Update org_golang_google_api commit hash to f26a60c (#1196) 2018-12-29 11:47:10 +08:00
renovate[bot]
db9e67c02f Update org_golang_x_sys commit hash to 9a3f9b0 (#1187) 2018-12-28 07:21:01 -08:00
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