Commit Graph

1096 Commits

Author SHA1 Message Date
Jie Hou
aad64d113a Auto Clean Block Vote Cache (#972)
* WIP: Dummy db clean service

* [WIP. NOT READY FOR REVIEW] Add DB cleanup routine that cleans block vote cache

* Add missing bazel config

* Put DB clean behind a CLI flag

* Address review comments

* Fix error handling
2018-11-28 17:02:35 +08:00
renovate[bot]
feae808420 Update org_golang_x_crypto commit hash to eb0de9b (#984) 2018-11-27 19:53:05 -10:00
Preston Van Loon
740a9b76a7
Kubernetes - Part 3 of ?? (#981)
* Add nginx ingress for proof-of-work namespace

* connect beacon-chain to pow namespace geth-nodes for websocket connections

* Added relay to beacon-chain

* Route inbound TCP traffic on port 20000 to beacon-relay

* Add bootnode

* Add a basic pk

* checkpoint

* Added flag for p2p port

* Register flag with main

* Set P2P port specifically

* Add beacon chain config

* add deployvrc job

* Add deployvrc service account

* review

* gazelle

* a cluster is needed, i guess
2018-11-28 00:27:21 -05:00
renovate[bot]
5195dd0c44 Update org_golang_google_api commit hash to 0a71a43 (#983) 2018-11-27 22:04:52 -05:00
Preston Van Loon
a32d49afb7
Added kubernetes config map update for deployvrc (#980)
* Added kubernetes config map update for deployvrc

* Fail if k8s failed
2018-11-27 21:15:25 -05:00
renovate[bot]
74c293a1e9 Update com_github_syndtr_goleveldb commit hash to 353a9fc (#979) 2018-11-27 00:03:23 -10:00
renovate[bot]
6939186f10 Update org_golang_google_api commit hash to bed42c9 (#978) 2018-11-27 17:39:56 +08:00
renovate[bot]
2cae48f172 Update com_github_prometheus_common commit hash to 4724e92 (#974) 2018-11-26 19:25:20 -06:00
renovate[bot]
288acce6b7 Update com_github_syndtr_goleveldb commit hash to d5f8e13 (#975) 2018-11-26 13:23:08 -06:00
renovate[bot]
9c43826830 Update com_github_prometheus_procfs commit hash to 619930b (#976) 2018-11-26 12:54:10 -06:00
renovate[bot]
4ee15d5ba7 Update org_golang_x_crypto commit hash to e657309 (#977) 2018-11-26 12:18:57 -06:00
Preston Van Loon
c8ce74825e Bootstrap the DHT service (#973)
* Bootstrap the DHT service, add some tracing spans

* fix

* test fix

* dont ignore error
2018-11-26 10:18:43 -06:00
Preston Van Loon
fa37ef1721 Bootnode query tool (#969)
* Add a tool to query bootstrap DHT node and ping the peer

* Add quick note

* Gazelle

* quick fixes

* fixes
2018-11-26 11:19:32 +08:00
Preston Van Loon
8587c637a0 Added flag for p2p port (#968)
* Added flag for p2p port

* Register flag with main

* lint

* Fix flag
2018-11-26 10:54:02 +08:00
Preston Van Loon
0559d01261
Add support for connecting via relay nodes (#827)
* Preliminary support for relay nodes

* lint

* Add comment, remove TODO

* work on relay address factory

* dial relay node, if available

* forgot new files

* fix service registry breakage

* added logging

* Added a peer count with prometheus

* always start mDNS

* fix lint
2018-11-25 11:55:02 -05:00
terence tsao
f8496f78a9 remove BlockVoteCacheDeepCopy function (#966) 2018-11-25 22:26:44 +08:00
terence tsao
72b3c48f2f add todo for 712 (#967) 2018-11-25 21:45:48 +08:00
terence tsao
5bdfb024c0 remove appendNewSpecialRecord (#965) 2018-11-25 02:01:49 -06:00
Preston Van Loon
203cef3140 Delete unused CurrentSimulatorSlot (#964) 2018-11-25 12:17:27 +08:00
Raul Jordan
8c9c78f128
Merge Active/Crystallized State (#953) 2018-11-24 12:57:07 -06:00
Preston Van Loon
74731870eb
Fix service registry breakage (#954)
* fix service registry breakage

* added logging
2018-11-24 07:03:36 -05:00
Mason Mahaffey
b3a0fecd18 ETH 2.0 Design Specs have been moved (#959) 2018-11-23 22:02:35 -10:00
Mason Mahaffey
a4230116f7 Typo in CONTRIBUTING.MD (#957)
simple typo!
2018-11-23 23:33:35 -06:00
renovate[bot]
7ef7da89bf Update com_github_btcsuite_btcd commit hash to 3dcf298 (#955) 2018-11-23 16:28:53 -10:00
renovate[bot]
098ab9d3a3 Update dependency com_github_multiformats_go_multiaddr to v1 (#939) 2018-11-23 10:31:09 -05:00
Nishant Das
92709bc0a7 Bulk Update (#949)
* Update dependency com_github_multiformats_go_multiaddr_net to v1

* Update dependency com_github_mr_tron_base58 to v1

* Update dependency com_github_opentracing_opentracing_go to v1

* Update dependency com_github_pborman_uuid to v1

* Update dependency com_github_prometheus_prometheus to v2

* Update dependency com_github_satori_go_uuid to v1

* Update dependency com_github_urfave_cli to v1

* Update dependency com_github_whyrusleeping_go_smux_multiplex to v3

* Update dependency com_github_whyrusleeping_go_smux_multistream to v2

* Update dependency com_github_whyrusleeping_go_smux_yamux to v2

* Update dependency com_github_whyrusleeping_mafmt to v1

* Update dependency com_github_whyrusleeping_yamux to v1
2018-11-23 09:35:51 -05:00
Nishant Das
e08bc39420
lint (#937) 2018-11-23 11:21:02 +08:00
terence tsao
d058c4ede6 Bulk updates for renovate bot (#936)
* Update org_golang_x_sys commit hash to 62eef0e

* Update dependency com_github_libp2p_go_libp2p_loggables to v1

* Update dependency com_github_libp2p_go_libp2p_secio to v2

* Update dependency com_github_libp2p_go_sockaddr to v1

* Update dependency com_github_libp2p_go_libp2p_swarm to v3

* Update dependency com_github_libp2p_go_libp2p_transport to v3

* Update dependency com_github_libp2p_go_maddr_filter to v1

* Update dependency com_github_libp2p_go_stream_muxer to v3

* Update dependency com_github_libp2p_go_tcp_transport to v2

* Update dependency com_github_libp2p_go_testutil to v1

* Update dependency com_github_libp2p_go_ws_transport to v2

* Update dependency com_github_matttproud_golang_protobuf_extensions to v1

* Update dependency com_github_miekg_dns to v1
2018-11-23 10:27:00 +08:00
Raul Jordan
30e34745e5
Refactor More Casper Functions Into Beacon-Chain/Core (#890) 2018-11-22 11:18:06 -08:00
terence tsao
3bcbda0efc Bulk Updates for Our Lovely Renovate Bot (#924)
* Update org_golang_x_sys commit hash to 62eef0e

* Update dependency com_github_libp2p_go_libp2p_loggables to v1

* Update dependency com_github_libp2p_go_libp2p_secio to v2
2018-11-22 11:05:35 -08:00
terence tsao
47c1cbea79 Fixed pubkeys in genesis.json (#925) 2018-11-22 10:29:32 -08:00
Nishant Das
5329ef8e5b fix specials (#914) 2018-11-22 09:01:23 -08:00
Nishant Das
6ad689ad81 Bulk Update (#920) 2018-11-22 08:13:42 -08:00
renovate[bot]
d1b03dfa8f Update dependency com_github_libp2p_go_addr_util to v2 (#899) 2018-11-22 00:03:05 -08:00
renovate[bot]
68427a846d Update dependency com_github_libp2p_go_libp2p_crypto to v2 (#906) 2018-11-21 23:27:58 -08:00
Nishant Das
ecb159e1ff
Update Renovate (#905)
* Update dependency com_github_ipfs_go_log to v1

* Update dependency com_github_jackpal_gateway to v1

* Update dependency com_github_jackpal_go_nat_pmp to v1

* Update dependency com_github_konsorten_go_windows_terminal_sequences to v1

* Update dependency com_github_libp2p_go_libp2p to v6

* Update dependency com_github_libp2p_go_libp2p_circuit to v2
2018-11-22 14:46:19 +08:00
renovate[bot]
2fc0fbcac6 Update dependency com_github_ipfs_go_ipfs_util to v1 (#892) 2018-11-21 20:45:46 -08:00
renovate[bot]
02db97ded7 Update dependency com_github_huin_goupnp to v1 (#889) 2018-11-21 19:45:41 -08:00
renovate[bot]
b1cd885c88 Update dependency com_github_gorilla_websocket to v1 (#888) 2018-11-21 19:26:32 -08:00
renovate[bot]
2dee561bc1 Update dependency com_github_ipfs_go_todocounter to v1 (#894) 2018-11-21 19:07:04 -08:00
Nishant Das
16b04699d0 Allow Initial Sync to Work with Simulator (#669)
* polling interval

* adding proto message

* changing proto messages

* changing naming

* adding slot functionality

* initial sync working

* new changes

* more sync fixes

* its working now

* finally working

* add tests

* fix tests

* tests

* adding tests

* lint

* log checks

* making changes to simulator

* update logs

* fix tests

* get sync to work with crystallized state

* fixing race

* making requested changes

* unexport

* documentation

* gazelle and fix merge conflicts

* adding repeated requests

* fix lint

* adding new clock , db methods, and util func

* revert change to test

* gazelle

* add in test

* gazelle

* finally working

* save slot

* fix lint and constant
2018-11-21 10:00:36 -08:00
renovate[bot]
f33cfb9b1f Update dependency com_github_google_uuid to v1 (#887) 2018-11-21 05:27:50 -08:00
renovate[bot]
d8ca3238c3 Update dependency com_github_go_yaml_yaml to v2 (#885) 2018-11-21 07:59:41 -05:00
Preston Van Loon
d83f960d5d
Use --batch for gazelle to help with timeouts on buildkite (#843)
* Use --batch for gazelle to help with timeouts on buildkite, maybe

* batch for vis script too
2018-11-21 07:35:47 -05:00
renovate[bot]
e9bb4e3bde Update dependency com_github_prometheus_prometheus to v0.20.0 (#871) 2018-11-21 07:15:38 -05:00
Preston Van Loon
34cf3b7df0
Bulk renovate updates (#884)
* Roll back dependency com_github_libp2p_go_libp2p to 6

* Update com_github_go_yaml_yaml commit hash to 51d6538

* Update com_github_libp2p_go_libp2p_circuit commit hash to f83937e

* Update com_github_libp2p_go_libp2p_crypto commit hash to 3120e9f

* Update com_github_multiformats_go_multistream commit hash to 0c61f18

* Update com_github_opentracing_opentracing_go commit hash to be550b0

* Update com_github_prometheus_client_golang commit hash to 3fb53df

* Update com_github_prometheus_common commit hash to 1f2c4f3

* Update com_github_prometheus_prometheus commit hash to 11b336e

* Update com_github_satori_go_uuid commit hash to b2ce238

* Update com_github_sirupsen_logrus commit hash to 91da99d

* Update com_github_syndtr_goleveldb commit hash to f908035

* Update dependency com_github_libp2p_go_buffer_pool to v0.1.1

* Update dependency com_github_libp2p_go_conn_security to v0.1.15

* Update dependency com_github_libp2p_go_flow_metrics to v0.2.0

* Update dependency com_github_libp2p_go_libp2p_blankhost to v0.3.15

* Update dependency com_github_libp2p_go_libp2p_interface_connmgr to v0.0.21

* Update dependency com_github_urfave_cli to v0.1.0

* Update dependency com_github_ipfs_go_datastore to v0.3.0

* Update dependency com_github_libp2p_go_libp2p_interface_pnet to v0.2.0

* Update dependency com_github_libp2p_go_reuseport_transport to v0.1.11

* Update dependency com_github_multiformats_go_multiaddr to v0.1.2

* Update dependency com_github_multiformats_go_multihash to v0.1.0

* Update dependency com_github_opentracing_opentracing_go to v0.10.0

* Update dependency com_github_prometheus_prometheus to v0.20.0

* Update dependency com_github_sirupsen_logrus to v0.11.5

* Update dependency com_github_steakknife_hamming to v0.2.5

* Update dependency com_github_x_cray_logrus_prefixed_formatter to v0.5.2

* Update dependency io_opencensus_go to v0.18.0

* Update dependency com_github_boltdb_bolt to v1

* Update dependency com_github_fd_go_nat to v1

* fixes

* fixes
2018-11-21 07:06:08 -05:00
Nishant Das
e0d13ec304 goimports (#882) 2018-11-21 06:27:04 -05:00
terence tsao
391eacd1d7
Refactor Casper Validators Into Core/Validators Stateless Package (#875) 2018-11-20 22:44:04 -08:00
Raul Jordan
a1c5499e77 Refactor Casper Incentives Into Core/Incentives Stateless Package (#870) 2018-11-20 22:23:18 -08:00
renovate[bot]
b270f31541 Update org_golang_x_sys commit hash to 0cf1ed9 (#876) 2018-11-20 21:36:36 -08:00