Ed Mazurek
10b237e72d
db methods: remove Get prefix ( #1351 )
...
* db methods: remove Get prefix for getter functions
* db methods: consistent test names by removing Get
2019-01-21 17:34:11 +08:00
Raul Jordan
f89fce9bd7
Implement Basic LMD Ghost Fork Choice Skeleton + Helper Funcs ( #1310 )
...
* add fork choice helpers
* LMD GHOST basic implementation
* add todos
* add in the initial test and finalize rest of functions
* added tests
* more simulation, adding trivial case with only one option for a head
* panics
* begin helper function tests
* more helper tests
* higher vote wins
* LMD Ghost full test
* comment
* add types
* optimize
* prepared
* deposits for chain
* lint
* use the hash beacon block util
* rem unnecessary db methods
* comments
* setup works
2019-01-19 10:57:51 +08:00
Preston Van Loon
592c5c3d92
Refactor hashing of beaconblock to shared ( #1315 )
...
* Add beacon block hash function
* Refactor/remove old hash method
* gazelle
2019-01-15 00:41:20 +08:00
Preston Van Loon
f47f123aab
Remove some redundant fetches from DB for the beacon state ( #1257 )
2019-01-06 13:05:16 +08:00
terence tsao
141a8dba87
Reformat Configs for Readability ( #1256 )
2019-01-05 20:36:05 -08:00
Raul Jordan
7e1af4fceb
Remove Use of Proto .GetX for Value Getters ( #1235 )
2019-01-04 21:58:19 -06:00
terence tsao
1314077a4d
Code Clean Up Part 1 - Core Package ( #1216 )
2019-01-01 09:17:44 -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
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
Raul Jordan
952dbe983e
Integrate Block Operations Into State Transition ( #1135 )
2018-12-26 21:15:12 -06: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
5d26efcfaa
Deprecate types.BeaconState with pb.BeaconState Generated Proto ( #1164 )
2018-12-23 16:51:04 -06: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
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
Nishant Das
e92032346f
Partial Implementation of the Slot Processing Routine ( #1083 )
2018-12-19 00:18:42 -05:00
terence tsao
122ad6ef3c
Implemented Get_block_root Helper Function ( #1096 )
2018-12-13 11:35:11 -08:00
terence tsao
b8a9e839e7
clean up BeaconBlock's validator fields ( #1037 )
2018-12-03 19:05:22 -08:00
terence tsao
121654ff12
Removed Deprecated BeaconBlock Fields ( #1035 )
2018-12-03 08:10:47 -08:00
Preston Van Loon
7cd6223755
Rename recent block hashes ( #1029 )
...
* update beacon-state proto to new spec
* AttestationData
* use bazel's pb.go
* boundry -> boundary
* Rename RecentBlockHashes to LatestBlockHashes
2018-12-02 15:25:55 -05:00
Raul Jordan
a99de08562
Merge Active/Cystallized State ( #1019 )
2018-12-01 16:09:12 -06:00
Preston Van Loon
14f5c732c8
Fix error message lint issues ( #824 )
...
* Getting ready to turn up the linter
* fix test
2018-11-19 00:33:05 +08:00
Raul Jordan
f6c1864d6d
Cleanup of Miscellaneous Items Around the Repo ( #790 )
2018-11-16 12:01:41 -05:00
terence tsao
a0569ee7ad
Fixed Validator Shuffling ( #749 )
...
* fixed parent hashes copy bug
* use data
2018-11-14 15:24:34 -05:00
Jie Hou
0de655eaab
Move BlockVoteCache out of ActiveState ( #739 )
2018-11-11 08:54:17 -08:00
Yutaro Mori
8235c35e07
Various Fixes to Allow State Recalculation to Succeed ( #733 )
...
* Allow state recalculations to correctly advance
* fixes
* comments
2018-11-08 19:13:50 +01:00
Raul Jordan
6476fb54af
Dynamic Chain Test Language Package With YAML Parser ( #681 )
2018-11-07 14:07:41 -05:00
Yutaro Mori
278a81032f
Always pass an item through channel when processing blocks ( #728 )
2018-11-06 21:48:11 +01:00
terence tsao
8dc3fb5c85
Removed Demo Debug Flags ( #680 )
2018-11-05 18:35:50 +01:00
Yutaro Mori
4db3a3f2d1
Properly clean up attestations during state transitions ( #705 )
2018-11-03 16:50:14 +04:00
Yutaro Mori
7caedbaf27
Miscellaneous Fixes for Demo ( #694 )
...
* Various fixes to get code in line with demo
* more fixes
2018-10-23 11:07:43 -05:00
Yutaro Mori
4c5099c8ba
Miscellaneous Cleanup Around Block Processing Logic ( #684 )
...
* Cleanup code around block processing
* gazelle
* gofmt
2018-10-22 16:04:17 -05:00
Raul Jordan
81ff9fd7e3
Implement GHOST Beacon Chain Fork Choice Rule ( #643 )
2018-10-17 23:23:18 -05:00
Yutaro Mori
c00a1d3132
Replace LevelDB with Bolt ( #666 )
2018-10-17 01:11:24 -05:00
Nishant Das
5117e6d195
Refactor Crystallized State ( #641 )
2018-10-15 06:17:07 -07:00
Yutaro Mori
8bffae1316
Various cleanup and bugfixes around validator/RBC interaction ( #657 )
2018-10-14 10:29:57 -05:00
Yutaro Mori
b00cdb656a
Cleanup simulator service ( #653 )
2018-10-13 16:22:36 +09:00
Yutaro Mori
d1eefa5cc7
Use consistent hash formatting ( #650 )
2018-10-12 08:35:49 -07:00
Nishant Das
c67a084b55
Clean Up Todos and Add in Issue Checker ( #640 )
2018-10-11 13:52:09 -05:00
Yutaro Mori
724ae3c999
Implement Precise Ticker For Slot Interval ( #635 )
2018-10-10 11:17:48 -05:00
Yutaro Mori
ce99bd7605
Refactor to Create DB Package ( #582 )
2018-10-05 13:14:50 -04:00
Preston Van Loon
8bcddf5fdc
Migrate dependencies on @com_github_ethereum_go_ethereum//event ( #601 )
...
* Add go-ethereum's event and
* remove swp file
* goimports
* remove unused code
* fix gazelle
2018-10-02 21:49:01 -04:00
Raul Jordan
593e3dcdf9
Beacon Node Determines Slot From Genesis Block if ChainState Detected ( #606 )
2018-10-02 15:07:33 -05:00
terence tsao
d5bf733948
Fixed Simulator Can't get ParentSlot ( #602 )
2018-10-02 13:34:26 -05:00
Raul Jordan
1abed55bdd
Update Beacon/Validator Flags to Disable Reward/Cross-Link Checking by Default ( #597 )
...
* flag updates
* enable att validity, cross links, rewards
* tests all pass
* fix race
* fix cov
* fix flag
* fix conf
* fix race
* fix gazelle
2018-10-02 10:04:37 +08:00
Preston Van Loon
6e2b6229fe
Revert "Fixed Sync With Simulator ( #588 )" ( #600 )
...
This reverts commit 085b45626e
.
2018-10-01 20:54:45 -04:00
terence tsao
085b45626e
Fixed Sync With Simulator ( #588 )
2018-10-01 14:14:10 -05:00
terence tsao
d65e2a4157
Implemented Dev Flag to Use Demo Config ( #586 )
2018-09-27 23:48:39 -07:00
Raul Jordan
e10baf7c80
Validator Assignment RPC Beacon Node Stream ( #563 )
2018-09-26 21:34:35 -05:00
terence tsao
b59a4eef4e
Fixed Bugs after Crosschecking 2.1 Spec ( #564 )
2018-09-23 22:36:51 -07:00