Commit Graph

965 Commits

Author SHA1 Message Date
terence tsao
e1137e5801 Allow Beacon Node to Connect to Bootstrap Node for Peer Discovery (#740)
* start sequence for node to connect to bootstrap nodes

* lint

* maybe warning is more appropiate?

* fix gazelle

* preston's feedback

* add go-ipfs-addr to workspace

* move flag to shared

* removed routed host
2018-11-14 21:25:06 -05:00
renovate[bot]
19f6e641e4 Update com_github_ipfs_go_log commit hash to de9a213 (#765) 2018-11-14 21:16:14 -05:00
renovate[bot]
2003f9ff24 Update com_github_ipfs_go_datastore commit hash to 277eeb2 (#763) 2018-11-14 21:12:40 -05:00
renovate[bot]
a928d72a2b Update com_github_ipfs_go_ipfs_util commit hash to 05b6094 (#764) 2018-11-14 21:10:20 -05:00
renovate[bot]
5426ffca88 Update com_github_huin_goupnp commit hash to 656e61d (#762) 2018-11-14 21:06:32 -05:00
renovate[bot]
5cf93fdc1b Update com_github_golang_mock commit hash to 8a44ef6 (#760) 2018-11-14 21:03:15 -05:00
renovate[bot]
f5e11e2f3e Update com_github_gorilla_websocket commit hash to 483fb8d (#761) 2018-11-14 20:59:58 -05:00
renovate[bot]
8e9a03c228 Update com_github_fjl_memsize commit hash to 2a09253 (#758) 2018-11-14 20:54:36 -05:00
renovate[bot]
9dd9800139 Update com_github_golang_lint commit hash to c67002c (#759) 2018-11-14 20:45:13 -05:00
renovate[bot]
1c757abbbe Update com_github_aristanetworks_goarista commit hash to 5faa74f (#755) 2018-11-14 20:24:17 -05:00
renovate[bot]
fe9dad3c02 Roll back dependency com_github_multiformats_go_multiaddr to 1 (#754) 2018-11-14 18:46:28 -05:00
renovate[bot]
9de01f70bd Update com_github_btcsuite_btcd commit hash to 67e573d (#756) 2018-11-14 17:34:35 -05:00
renovate[bot]
6fd6e989ec Roll back dependency com_github_libp2p_go_libp2p_routing to 2 (#753) 2018-11-14 15:52:12 -05:00
terence tsao
a0569ee7ad Fixed Validator Shuffling (#749)
* fixed parent hashes copy bug

* use data
2018-11-14 15:24:34 -05:00
renovate[bot]
0e28b667f3 Update dependency build_bazel_rules_nodejs to v0.16.0 (#750) 2018-11-14 15:23:36 +08:00
terence tsao
9e096302d2
revert 2 initial committees to 3 (#746) 2018-11-13 07:26:47 -08:00
terence tsao
6520c8ffc2 Fixed GetShardAndCommitteesForSlot index out of range (#744)
* fixed committees index offset

* remove debug logs

* aligned tests
2018-11-12 13:29:32 -05:00
terence tsao
5d15afe326 Update README.md (#742) 2018-11-11 15:18:52 -05:00
Jie Hou
0de655eaab Move BlockVoteCache out of ActiveState (#739) 2018-11-11 08:54:17 -08:00
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