Ivan Martinez
e9cfc08549
Update all beacon constants to latest in spec ( #1407 )
...
* Update all beacon constants
* Fix documentation
* Fix sync time in config
* Fix some names
2019-01-29 12:16:50 +08:00
Raul Jordan
98a4274b81
Refactor ChainService for Synchronous Tests and ChainStart ( #1347 )
...
* can now test blockchain service synchronously
* completed chainstart listener
* fix comment
* completed refactor
* fix
* fix build
* rem genesis fetch
* fix broken
* fixed concurrency bug
* comments
2019-01-28 19:59:37 +08:00
Ivan Martinez
45e9eda43c
Normalize ETH to Gwei client-wide ( #1381 )
2019-01-24 15:29:04 -08:00
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
Nishant Das
7ff544fddf
Fix travis and Other Linter Errors ( #1356 )
...
* fix travis and other linter errors
* remove megacheck
2019-01-21 13:35:34 +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
Nishant Das
08a06458d9
Add in ChainStart Listener ( #1327 )
...
* changing handling of logs
* gazelle
* removing outdated vars
* fixing tests
* adding vrc bindings to service
* updating vrc sol and bindings
* more changes
* adding trie
* remove functions
* addressing preston's review
* tests
* gazelle
* fixed tests
* note
* Lint
* doc
* exploration test
* adding new methods and tests
* adding log type checker
* lint
* Adding processChainstartLog
* gazelle
* addressing comments
* addressing comments and adding tests
* review comments
* comment
* comment
* abi naming
2019-01-17 23:14:32 +08:00
Nishant Das
75a431c969
Modify PowChain service ( #1289 )
...
* changing handling of logs
* gazelle
* removing outdated vars
* fixing tests
* adding vrc bindings to service
* updating vrc sol and bindings
* more changes
* adding trie
* remove functions
* addressing preston's review
* tests
* gazelle
* fixed tests
* note
* Lint
* doc
* exploration test
* adding new methods and tests
* adding log type checker
* lint
* gazelle
* addressing comments
2019-01-16 22:01:21 +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
terence tsao
e313e97666
Implement Validator Rotation Logic ( #1279 )
2019-01-13 12:52:31 -08:00
Andrei Ivasko
b29188128d
ToBytes32 ( #1306 )
2019-01-13 09:04:14 -05:00
terence tsao
060a311a14
Core Package Clean up Part 2 ( #1268 )
...
* comments on core package declarations
* fixed sentence
* cap
* no extra line
* fixed tests
* gazelle
2019-01-10 07:49:50 +08:00
Raul Jordan
4bb6196f4f
Wrap Up Data Structure Renaming ( #1270 )
...
* spec renames
* fix goimports
* fix items
2019-01-09 03:49:17 -06:00
terence tsao
138bc37a60
Renaming Poc_ and Pow_receipt_ fields ( #1271 )
2019-01-08 20:42:42 -08:00
Nishant Das
bb7b0a324b
Fix Bug On Startup Using Genesis.json ( #1258 )
...
* fix bug
* making requested changes
* new changes
* changing initialize state
* remove genesis.json and references
* remove log
* readme
* readme
* remove reference
2019-01-09 11:03:57 +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
ccc2a4b91f
Process Validator Deposits ( #1184 )
2019-01-04 23:39:34 -06: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
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
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
8402a1dd61
Part 1 of Cleaning Up State Proto ( #1070 )
2018-12-11 07:46:01 -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
terence tsao
391eacd1d7
Refactor Casper Validators Into Core/Validators Stateless Package ( #875 )
2018-11-20 22:44:04 -08:00
terence tsao
cb65c556d6
Config Updates to Latest Spec ( #868 )
2018-11-20 17:41:20 -08: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
terence tsao
3c6952c510
Synchronize Beacon Node with Spec ( #719 )
2018-11-08 09:19:39 -08:00
Nishant Das
37bc1c67be
Adding Basic Private Key Management ( #671 )
...
* adding flags
* adding modified key utils
* adding more funcs
* more changes
* more changes
* documentation
* changes to node
* gazelle
* fixing bazel build
* gazelle
* adding tests
* more tests
* addressing terence's feedback
* adding geth header
* test
* changes
* fixedd it
* fixed marshalling
* adding more to tests
* gazelle
* adding more tests
* lint
* add cov
* cov
* fix imports
2018-11-08 11:22:31 +08: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
terence tsao
80d6c60769
fixed error strings ( #708 )
2018-10-31 23:05:55 +01:00