Commit Graph

1824 Commits

Author SHA1 Message Date
Nishant Das
07a25ca710 Adding Prometheus Metrics and Tracing to Sync (#1858)
* adding tracing and metrics

* clean up main routine

* added tracing to initial sync

* gazelle

* fix tests

* fix naming

* comments

* consistent style in promauto counters

* rename spans

* final comment
2019-03-05 11:31:19 -06:00
Nishant Das
b264cdc557 Allow Node to Request State if it is Behind (#1875)
* fix naming

* comment

* tests
2019-03-05 10:59:49 -06:00
terence tsao
3f9124b30c
minus genesis epoch (#1886) 2019-03-05 07:51:13 -08:00
Preston Van Loon
81ecbf5f16 Set renovate limits to unlimited (#1884)
* Set renovate limits to unlimited

* Update renovate.json

* Update renovate.json
2019-03-05 22:13:22 +08:00
Nishant Das
612252cd42 Update Renovate (#1878)
* Update dependency com_github_libp2p_go_libp2p_autonat to v0.0.1

* Update dependency com_github_libp2p_go_libp2p_blankhost to v0.0.1

* Update dependency com_github_spf13_cobra to v0.0.3

* Update dependency com_github_allegro_bigcache to v1

* Update dependency com_github_hashicorp_go_multierror to v1

* Update dependency com_github_x_cray_logrus_prefixed_formatter to v0.5.2

* Update dependency com_github_fd_go_nat to v1

* Update dependency com_github_matttproud_golang_protobuf_extensions to v1

* Update dependency com_github_libp2p_go_libp2p_kbucket to v0.1.0

* Update dependency io_bazel_rules_go to v0.18.0

* Update dependency io_opencensus_go to v0.19.1

* Update dependency com_github_miekg_dns to v1

* Update dependency com_github_mr_tron_base58 to v1
2019-03-05 05:03:26 -08:00
terence tsao
dd40320a1c Save and Delete Validators Pubkey - Idx Post Chainstart (#1873)
* starting tests

* added tests

* fixed comments

* gaz

* make sure key is using EntryExitEffectEpoch
2019-03-05 15:22:15 +08:00
Preston Van Loon
9999b3280a
Use promauto to automatically register metrics (#1872)
* Use promauto to automatically register metrics

* sub genesis slot
2019-03-04 21:38:03 -05:00
Nishant Das
d162b5603e clean up context (#1850) 2019-03-04 12:57:59 -08:00
skillful-alex
4194d78bed Add Web3Service Health Checks. (Issue #1204) (#1581)
* described the Status () function

* web3 service health checks

* remove method LatestBlockTime and add tests

* remove lastHeadInteractTime

* corrected conflicts of different branches of development

* goimports -w beacon-chain/powchain/service_test.go
2019-03-04 15:37:24 -05:00
renovate[bot]
55c31a4a6d Update dependency com_github_matttproud_golang_protobuf_extensions to v1 (#1869) 2019-03-04 15:27:38 -05:00
Preston Van Loon
6af522986e
Enable POW chain by default (#1861)
* enable POW chain by default

* fix tests in node.go

* ignore ctx
2019-03-04 15:10:03 -05:00
Preston Van Loon
76d37ddc4a Update renovates (#1865) 2019-03-04 06:35:31 -08:00
renovate[bot]
730d509edf Update dependency com_github_fd_go_nat to v1 (#1852) 2019-03-04 08:54:34 -05:00
renovate[bot]
db58870525 Update dependency com_github_x_cray_logrus_prefixed_formatter to v0.5.2 (#1848) 2019-03-04 08:32:46 -05:00
renovate[bot]
131f671063 Update dependency com_github_boltdb_bolt to v1 (#1851) 2019-03-04 08:30:21 -05:00
renovate[bot]
45e95728d3 Update com_github_atlassian_bazel_tools commit hash to 02472d8 (#1855) 2019-03-04 05:07:21 -08:00
renovate[bot]
2bfb0590bd Update dependency com_github_hashicorp_go_multierror to v1 (#1860) 2019-03-04 04:47:50 -08:00
terence tsao
eb9d4a630b add metrics for justification and finalization (#1854) 2019-03-03 22:53:20 -08:00
terence tsao
b00891880e
Implement Validator Status RPC Methods (#1839) 2019-03-03 21:28:00 -08:00
renovate[bot]
b6bc380f4a Update dependency com_github_allegro_bigcache to v1 (#1849) 2019-03-03 22:35:25 -05:00
renovate[bot]
bf7cbee24a Update dependency com_github_spf13_cobra to v0.0.3 (#1846) 2019-03-03 21:36:00 -05:00
Raul Jordan
0ce7c8c599
remove old timestamp error log (#1807) 2019-03-03 15:26:59 -08:00
terence tsao
17682321fe
Clean Up Validator RPC Server (#1798) 2019-03-03 14:55:12 -08:00
Ivan Martinez
5aa7320507 Clear Up Code Inconsistencies (#1836) 2019-03-03 09:31:29 -08:00
Nishant Das
fe2eb5a812 Fixing Sync (#1830)
* fix querier

* new fixes for sync

* reducing batch size and adding equality condition

* remove commented code

* fix test

* fix few more tests
2019-03-03 11:03:47 -06:00
Preston Van Loon
f09c66035b
add slot metric (#1815) 2019-03-03 08:18:27 -05:00
Preston Van Loon
f5aed821a6 Set static to off for cgo built beacon-chain (#1813)
* Update BUILD.bazel

* gazelle
2019-03-02 23:49:27 -08:00
terence tsao
c467ef19fa remove fmt print (#1811) 2019-03-02 22:49:00 -05:00
terence tsao
94e6cfe478
Refactor Crosslink Committees at Slot (#1771) 2019-03-02 19:14:04 -08:00
terence tsao
6a1addbd1a remove logging exits (#1791) 2019-03-02 21:22:35 -05:00
terence tsao
394dae6076
Update Renovates (#1805) 2019-03-02 16:36:30 -08:00
Nishant Das
b8785ba1d8 Eth1 Data Fix (#1785)
* adding fields to initalize state

* fix references

* change naming

* change to eth1data

* lint
2019-03-02 17:38:22 -06:00
terence tsao
5ab93dfabb Fix Randao Reveal Bug (#1801)
* use 32 bytes

* all tests passed

* lint
2019-03-02 17:24:15 -06:00
renovate[bot]
3144c36164 Update dependency com_github_libp2p_go_libp2p_blankhost to v0.0.1 (#1793) 2019-03-02 10:25:32 -05:00
renovate[bot]
6c62d294bd Update dependency com_github_libp2p_go_libp2p_autonat to v0.0.1 (#1790) 2019-03-02 10:03:26 -05:00
Preston Van Loon
1c53c1a2b3 Update renovate (#1789) 2019-03-02 06:45:33 -08:00
Nishant Das
9de86c0d3a make less aggressive log (#1786) 2019-03-02 08:58:58 -05:00
Preston Van Loon
4b0249b89e
update geth (#1776) 2019-03-02 00:13:55 -05:00
Nishant Das
615daa98e9
Add Error Log for Attester (#1759)
* add log

* add test
2019-03-02 09:57:02 +08:00
Raul Jordan
88765b6d3c
Fix Attestation Info at Slot to Match Justified Epoch Expectations (#1768)
* fix crosslinkt committees

* fix lint

* fix in epoch

* imports

* add gx tags

* epoch shuffling tests

* regress test

* preston comments

* service change

* advance to handle skip slots

* ready

* imports

* rem unnecessary log

* revert config

* last comment

* imports
2019-03-01 18:33:55 -06:00
Preston Van Loon
8e3d8bca18
change this log to debug because its very verbose (#1772) 2019-03-01 16:28:03 -05:00
Preston Van Loon
4bf0ec0720 Block caching for ETH1Data (includes #1760) (#1769)
* add tests for cache

* changes to test

* add pruning and tests

* add fifo queue

* revamped key function

* fix all methods to use new fifo queue

* fix tests and gazelle

* refactor block cache

* lint

* add a bit more testing to service_test
2019-03-01 14:31:38 -06:00
James Towle
cfbbc9c61a Implemented the flag grouping logic (#1756)
* Implemented the flag grouping logic

* Added a usage file to the validator binary and fixed style issues

* Ran gazelle fix to fix the CI tests that failed
2019-03-01 14:48:05 -05:00
Raul Jordan
7fac8a3c42
Fix Crosslink Calculation in Assignment Fetching (#1737)
* fix crosslinkt committees

* fix lint

* fix in epoch

* imports

* add gx tags

* epoch shuffling tests

* regress test

* preston comments

* lint
2019-03-01 11:39:09 -06:00
Preston Van Loon
b6ff2d0ef1 Remove all tag based imports (#1766)
* remove all tag based imports

* add new import
2019-03-01 23:19:17 +08:00
terence tsao
6dc6a9b766 Misc Fixes for Epoch Processing (#1762)
* misc fixes for epoch processing

* more fixes

* more fixes

* added todos

* fixed tests

* lint
2019-02-28 20:47:32 -06:00
Nishant Das
43932bc0d1 Optimize ETH1 Data Vote (#1757)
* optimize ETH1 data vote flow

* fixing merge issues

* Add benchmark

* fix genesis case
2019-02-28 17:27:28 -06:00
terence tsao
852214e497
Remove Next Epoch Registry Change Checks (#1761) 2019-02-28 07:27:43 -08:00
terence tsao
a483dba91c Update Renovates (#1758)
* Update com_github_libp2p_go_libp2p_autonat commit hash to ca1e879

* Update com_github_libp2p_go_libp2p_discovery commit hash to f6df2e8

* Update com_github_prometheus_procfs commit hash to bbced96

* Update com_github_libp2p_go_libp2p_autonat commit hash to ca1e879

* Update com_github_libp2p_go_libp2p_discovery commit hash to f6df2e8

* Update com_github_prometheus_procfs commit hash to bbced96

* Update org_golang_x_lint commit hash to 5b3e6a5

* Update dependency com_github_google_uuid to v1.1.1

* Update dependency com_github_hashicorp_golang_lru to v0.5.1
2019-02-28 15:13:59 +08:00
renovate[bot]
889caebdb0 Update org_golang_x_crypto commit hash to 31a3858 (#1755) 2019-02-28 14:44:18 +08:00