Commit Graph

946 Commits

Author SHA1 Message Date
Preston Van Loon
82d743094e
Add basic bootnode (#735)
* Add basic bootnode

* Add comment

* fix logging
2018-11-10 12:32:45 -05: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
terence tsao
4c6565d419 Integers to Bytes Helper Methods (#734)
* Change validator functions done

* implemented helper methods to convert int to bytes

* use them across prysm

* bazel gazelle

* forgot build.bazel
2018-11-08 11:52:51 -05: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
Preston Van Loon
e330249e49
Enable DHT support for p2p peer discovery (#730) 2018-11-06 20:52:36 -05:00
Yutaro Mori
d7bfa1c3b4 Delete test files before running tests (#729) 2018-11-06 13:43:10 -08:00
Ivan Martinez
b8eb25843f Updates Public Key from bytes32 to bytes in Validator Registration Contract (#630) 2018-11-06 15:13:46 -06:00
Yutaro Mori
278a81032f
Always pass an item through channel when processing blocks (#728) 2018-11-06 21:48:11 +01:00
renovate[bot]
15563ae265 Update dependency build_bazel_rules_nodejs to v0.15.3 (#725) 2018-11-06 10:04:18 -05:00
renovate[bot]
d4fb71efa3 Update dependency io_bazel_rules_go to v0.16.2 (#726) 2018-11-06 06:38:19 -05:00
renovate[bot]
f3dec630dd Update dependency bazel_gazelle to v0.15.0 (#724) 2018-11-05 20:48:50 -05:00
renovate[bot]
02eb3f280e Pin dependency solium to 1.1.8 (#723) 2018-11-06 01:40:22 +00:00
renovate[bot]
ae1138e0e8 Add renovate.json (#722) 2018-11-05 20:32:13 -05:00
terence tsao
8dc3fb5c85
Removed Demo Debug Flags (#680) 2018-11-05 18:35:50 +01:00
Preston Van Loon
3118947271
Update libp2p deps (#717)
* Revert "Fix LibP2P Global Proto Bug on Travis (#690)"

This reverts commit 7300204176.

* update libp2p deps

* goimports
2018-11-03 12:59:39 -04:00
Yutaro Mori
4db3a3f2d1
Properly clean up attestations during state transitions (#705) 2018-11-03 16:50:14 +04:00
terence tsao
8408315f9c switch ethereum 2.0 to ethereum serenity (#714) 2018-11-01 07:02:01 -04:00
Jerry Fireman
3868b6bbe7 Update readme file to include section on running under windows (#715) 2018-11-01 06:59:52 -04:00
terence tsao
80d6c60769 fixed error strings (#708) 2018-10-31 23:05:55 +01:00
Raul Jordan
95625629f7
Disable Codecov Patch As It Is Unreliable (#713) 2018-10-30 17:00:20 +01:00
Yutaro Mori
370065593f Fix parent attestation check (#700) 2018-10-24 15:14:58 +08:00
Yutaro Mori
dd0a15abb2
Convert remaining int config values to uint64 (#695) 2018-10-24 01:37:17 +09: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
7300204176
Fix LibP2P Global Proto Bug on Travis (#690) 2018-10-22 14:39:29 -05:00
Ivan Martinez
d1dbe05147 Copy State in CalculateNewActiveState and NewStateRecalculations (#677)
* Copy state in CalculateNewState and Recalculations

* Modifies method for copying state

* Adds CopyState() function to ActiveState and CrystalliziedState

* Fully deep copies the fields required

* Writes test for ActiveState's CopyState

* Add test for CopyCrystallizedState

* Update tests to requirements

* Fix wrong logs

* Change variables to newState

* Change newC to newState

* Gofmt the active_state_test.go
2018-10-19 14:59:48 +08:00
Raul Jordan
bdec3f4740
Discard Block With Slot Lower Than LastFinalizedSlot (#679) 2018-10-18 14:21:46 -05:00
Raul Jordan
19bbcb74c8
Remove Unnecessary Interfaces, Clean Up Some Naming (#678) 2018-10-18 12:33:38 -05:00
Raul Jordan
f2bc9e0352
BLS Public API (#676)
* public bls api

* added basic tests

* merge master
2018-10-18 00:44:00 -05:00
Raul Jordan
81ff9fd7e3
Implement GHOST Beacon Chain Fork Choice Rule (#643) 2018-10-17 23:23:18 -05:00
terence tsao
4e1f187c9f Fixed RANDAO Regression (#672) 2018-10-17 20:41:47 -05:00
terence tsao
b19e24e9e0
Implemented Update Ancestor Hashes Function (#660) 2018-10-17 16:00:23 -07:00
terence tsao
31adcce976
Implement Validator Exiting Logic (#667) 2018-10-16 23:32:26 -07:00
Yutaro Mori
c00a1d3132 Replace LevelDB with Bolt (#666) 2018-10-17 01:11:24 -05:00
terence tsao
b98d30cf18
Implement RANDAO From Spec (#651) 2018-10-15 17:02:00 -07:00
Yutaro Mori
1f00cfe23e
Replaced HasStoredState with IsSyncedWithNetwork (#662) 2018-10-16 07:22:15 +09:00
Nishant Das
5117e6d195 Refactor Crystallized State (#641) 2018-10-15 06:17:07 -07:00
Yutaro Mori
2697d99762 Fix getSignedParentHashes (#664)
* fix getSignedParentHashes

* Add another check
2018-10-15 16:50:08 +08:00
Catalin Pirvu
c3a7dfce96 Add check for validity to CheckBit method (#658) 2018-10-15 02:35:52 +08:00
Yutaro Mori
8bffae1316 Various cleanup and bugfixes around validator/RBC interaction (#657) 2018-10-14 10:29:57 -05:00
Ivan Martinez
6d46dda33c Make blake2b hash util in shared/ (#649) 2018-10-13 21:32:29 -05:00
terence tsao
dc8d40d10d Replace Dynasty with Validator Set Change (#655) 2018-10-13 21:12:06 -05:00
Yutaro Mori
b00cdb656a
Cleanup simulator service (#653) 2018-10-13 16:22:36 +09:00
Yutaro Mori
4c657fef04 Proposal to upgrade to 1.11 (#652) 2018-10-13 13:23:41 +08:00
Yutaro Mori
f767b11348
Prevent 0 value for committeesPerSlot in shuffle function (#648) 2018-10-13 14:05:19 +09:00
terence tsao
6d0290664a
Implement Validator Rotation during State Recalculation (#645) 2018-10-12 11:27:55 -07:00
Yutaro Mori
d1eefa5cc7 Use consistent hash formatting (#650) 2018-10-12 08:35:49 -07:00
Yutaro Mori
04c7a89f1d [WIP] Partial fix for the validator code (#647) 2018-10-11 23:41:17 -05:00