Leandro Lugaresi
d061c784e0
Added Prometheus Client and p2p Metrics ( #673 )
...
* Added prometheus client and p2p metrics
* Avoid run the adapter if the metrics are disabled
* fix visibility issue
* Fix invalid p2p.Message sent to Adapters
The middlewares (adapters) must receive the complete message to avoid
problems and the main Handler must get the values from middlewares
Also, added tests and comments for metrics package
* Added logrus hook collector
This collector is used to collect counters of log messages.
The main purpose of these metric is to know how many warnings and errors
the system are getting.
* Add hook when register the prometheus service
* update bazel builds
* fix emit tests and remove unused imports
* gazelle --fix
* remove unused logger
* move prometheus package to shared directory
* better metric names and fix metric paths
* improve metric tests and start to use promauto
* added prometheus initial documentation
* fix tests
* fix type differences with go get and bazel
* Fix service test
2018-11-15 07:54:45 -05:00
Preston Van Loon
ebcd772f67
Batch renovate updates ( #774 )
...
* 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
2018-11-15 07:48:58 -05:00
renovate[bot]
c2794b1d8a
Update com_github_libp2p_go_addr_util commit hash to 6e2ee01 ( #767 )
2018-11-15 07:25:15 -05:00
renovate[bot]
0fa79cd3cf
Update com_github_libp2p_go_libp2p_blankhost commit hash to 23a786e ( #770 )
2018-11-15 00:54:11 -05:00
renovate[bot]
f6a86b082e
Update com_github_libp2p_go_conn_security commit hash to 42db08f ( #768 )
2018-11-14 21:39:46 -08:00
renovate[bot]
762b2730c2
Update com_github_libp2p_go_conn_security_multistream commit hash to cda5d4f ( #769 )
2018-11-14 23:22:46 -05:00
renovate[bot]
0773f44846
Update com_github_jackpal_go_nat_pmp commit hash to d89d09f ( #766 )
2018-11-14 23:07:51 -05:00
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
renovate[bot]
0e28b667f3
Update dependency build_bazel_rules_nodejs to v0.16.0 ( #750 )
2018-11-14 15:23:36 +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
Preston Van Loon
e330249e49
Enable DHT support for p2p peer discovery ( #730 )
2018-11-06 20:52:36 -05: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
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
Raul Jordan
7300204176
Fix LibP2P Global Proto Bug on Travis ( #690 )
2018-10-22 14:39:29 -05:00
Yutaro Mori
c00a1d3132
Replace LevelDB with Bolt ( #666 )
2018-10-17 01:11:24 -05:00
Preston Van Loon
cce5884aab
Moving solidity lint check to bazel / buildkite ( #629 )
...
* Add solium dependency
* gazelle
* Remove step from travis
2018-10-07 13:20:59 -04:00
Preston Van Loon
6bc655d9c1
More fixes to bazel buildkite and update rules_go ( #626 )
...
* Im just guessing here
* Update .buildkite-bazelrc
* Update .buildkite-bazelrc
* Update WORKSPACE
* Update .buildkite-bazelrc
2018-10-04 23:07:22 -04:00
Preston Van Loon
763d0d6bdc
Add Go tools in bazel ( #608 )
...
* add atlassian bazel tools
* Add bazel entrypoints for native go stuff
* gazelle
2018-10-02 22:04:36 -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
Divyank Katira
2a51ed3f39
P2P Message Execution Tracing ( #517 )
...
* Request execution tracing initial commit
* Resolve linter issues
* Run gazelle
* Make trace sampling configurable, clean up, update doc
* Document trace span creation
* Fix linter issue
2018-09-20 07:46:35 -04:00
terence tsao
ddfe1715c9
RPC methods for Validators to Get ShardID, Index and Slot ( #526 )
2018-09-17 22:36:09 -04:00
Preston Van Loon
78c763368b
Update rules_go, bazel_gazelle, and go-ethereum to Support Go 1.11 ( #490 )
...
* Update rules_go, bazel-gazelle, and go-ethereum to support go 1.11
* gazelle
2018-09-10 23:14:29 +02:00
Preston Van Loon
b02042dbe9
shared: Split P2P Topics And Introduce Middleware (Adapters) ( #421 )
2018-08-29 11:32:54 -05:00
terence tsao
b7bf48bc3e
Fixed NewSimulatedBackend ( #405 )
...
* sync functions for active and crystallized states
* make pb structure more semantic
* use run func to consolidate to one main routine
* remove mainchain package
* remove smc. yay!
* fixed NewSimulatedBackend
* added smc tests back
* race = off
* used latest commit from bazel-go-ethereum
* changed testoutput to all
* output test.log after failure
* disable race
* restore travis config to original state, add race=off to blockchain workspace
* added issue number and fixed typo
2018-08-16 15:37:53 -06:00
Raul Jordan
cd90598a90
client: Update Attester to Use Beacon Node RPC, Replacing SMC Completely ( #365 )
2018-08-09 17:54:59 -05:00
Preston Van Loon
26fec66da4
Kubernetes - Part 1 of ?? ( #348 )
...
* Add basic k8s configuration for geth deployments
* set genesis difficulty to 0x0
* gazelle, comments
* More comments on priority class and adjust priority class for ethstats
* Adjustments to the miner limits
* set minimum gas price to 0
2018-07-30 10:04:47 -04:00
Raul Jordan
9ab02849b6
beacon: Initial Beacon P2P Protobufs, Subscriptions ( #327 )
2018-07-28 15:53:02 -04:00
Federico Gimenez
b8fe4228af
Add Mutex on Top of p2p Feeds Map ( #321 )
...
* add mutex on top of p2p feeds map
* lock read too
* add concurrent write test and enable race detector
* restrict race detection to concurrent feed map write test
* gazelle fix
* increase ram and I/O in bazel's local_resources
* reverted local_resources changes
* address review comments
* do not disable sandboxing on travis
* address review comments
2018-07-26 00:11:15 +08:00
Preston Van Loon
48b047fd61
Add Docker Container Images for beacon-chain and client ( #314 )
...
* Add docker container images for beacon-chain and client
* Add docker section to README
2018-07-22 13:31:43 -04:00
Raul Jordan
b6cd890a67
Log Verbosity Flags + Logrus Package Level Logs With Fields ( #304 )
...
Former-commit-id: f7344b7d3fb2fa07f0fd421c5ed3721f6c7a9258 [formerly e678ab2f1681d9492c0e1b142cd06ee08a462fdb]
Former-commit-id: d942da3d5cfcde921bebb149c26edd5c4ed178dd
2018-07-21 12:51:18 -05:00
Preston Van Loon
9ac88d11da
sharding: Local networked P2P! ( #222 )
...
Former-commit-id: d22d05529bb0050b8a03053a28d876e3e458bbff [formerly 284a04699110aa285a42f5b0ad244ca9bd77d2df]
Former-commit-id: 83cd9c8a48fb5ce9c57ff8ef6c2b1741a4d05130
2018-07-17 13:39:04 -05:00
Preston Van Loon
77267169ea
Add More Lint Rules With gometalinter ( #284 )
...
* turn up linter to 11
* Added extra linting rules and fixed all lint issues
* add deadline of 10m
Former-commit-id: 632999fcaa8370516d6fe76c28c503cb2e3319b7 [formerly d4354f631b1eb4f7918cde28bf063f756ae92a54]
Former-commit-id: 3aaf78a56b76850b0123d61551ac554ccecfe9ad
2018-07-15 15:06:36 -04:00
Preston Van Loon
ad68cd0937
Update go-ethereum with fix for mac OS builds ( #281 )
...
Former-commit-id: daad7a0a2588bfaa5402a4b49e1c37db0a50c22d [formerly 70f92288a0838362495d4b30a3a2c57268fa7b5a]
Former-commit-id: fdbc53b780970d32cb786bcb12b2e07b06b9ee6e
2018-07-15 11:39:57 -04:00
Preston Van Loon
bc2f4e1131
update rules_go and gazelle ( #279 )
...
Former-commit-id: 41644206a58f240d1d287997661122d675efd97f [formerly aaedd03127aeaf7c013b22dd7ff4f82d6979f154]
Former-commit-id: 6ecaa6f62e8c31bdf6fc27f774418d7dcb1fb1d7
2018-07-15 00:32:10 -04:00
Raul Jordan
f5e5287082
sharding: Remove Dependency on Geth: Replace Log With Logrus Package ( #242 )
...
Former-commit-id: 2ec35880b3aa30d3c217815c9a474e8d81ee1fa8 [formerly c20da02cf9149990f8b7913cfe426b8036992c16]
Former-commit-id: 4851374829557f1523f5994b1d97e08e46979aed
2018-07-09 21:27:23 -05:00