Preston Van Loon
3f205e462f
add security file ( #2662 )
2019-05-20 12:55:38 -04:00
Preston Van Loon
46f215b673
Renovate updates ( #2661 )
2019-05-20 11:10:43 -04:00
Preston Van Loon
40588021d4
Add eth1 balance monitoring alert ( #2575 )
...
* Add eth1 balance monitoring
* lint
* lint
* priority
* lint
* use value in alerts
* fix beacon-chain service
* working on stability
* more yaml
* add more alerts to the finality alerts
* add nother header to ignore
* extend requirement time for low balance
* remove old flag
* remove extra flag
* feedback to use consistent flag
2019-05-19 10:52:17 -04:00
Raul Jordan
632f6797cd
Reverts #2638 #2637 #2630 ( #2640 )
...
* Revert "fix nil block (#2638 )"
This reverts commit d43ea74244
.
* Revert "add to topic mapping (#2637 )"
This reverts commit 85ef099360
.
* Revert "Reorg to an Announced Finalized Block if On a Different Chain (#2630 )"
This reverts commit 08288f0958
.
2019-05-17 22:27:44 -04:00
terence tsao
3bad541f3c
Revert "remove canonical attestation filtering ( #2635 )" ( #2639 )
2019-05-17 22:16:45 -04:00
Raul Jordan
d43ea74244
fix nil block ( #2638 )
2019-05-17 21:31:28 -04:00
Raul Jordan
85ef099360
add to topic mapping ( #2637 )
2019-05-17 20:48:28 -04:00
Raul Jordan
50063912a8
Remove Expensive Participation Rate Prometheus Gauge ( #2636 )
...
* rem expensive prom gauge
* rem prom
2019-05-17 19:57:13 -04:00
terence tsao
becd06553b
remove canonical attestation filtering ( #2635 )
2019-05-17 19:47:16 -04:00
Preston Van Loon
bdf4590b86
Fix config value, yaml fixes ( #2634 )
...
* minor fixes
* go back to 8
2019-05-17 19:27:13 -04:00
Preston Van Loon
208c5dfea6
Revert "Disable libp2p TLS security protocols for now ( #2622 )" ( #2633 )
2019-05-17 18:59:01 -04:00
Nishant Das
25ce3a3676
Add Excess Deposit Flag to allow Validator Balances more than 32 ETH ( #2625 )
...
* add flags and code
* adding tests
* gaz
* Update shared/featureconfig/config.go
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
2019-05-17 17:10:34 -04:00
Raul Jordan
08288f0958
Reorg to an Announced Finalized Block if On a Different Chain ( #2630 )
...
* proto changes
* spacings
* rem root
* finalized root
* regen
* handle finalized state announcement
* handle finalized announcement
* fixed broken tests
* finalized state switch
* tests passing
* sync service imports
* check interface impl
2019-05-17 16:58:04 -04:00
Preston Van Loon
72d1fa2899
Change a few params in k8s ( #2628 )
2019-05-17 16:28:53 -04:00
terence tsao
3349fb4cba
increase slots per epoch to 16 ( #2627 )
2019-05-17 14:41:49 -04:00
Preston Van Loon
15cac0c0b1
Disable libp2p TLS security protocols for now ( #2622 )
...
* Disable security protocols for now
* Enabling security for test only. See https://github.com/libp2p/go-libp2p-swarm/issues/124
* Fix spacing
2019-05-17 13:29:25 -04:00
terence tsao
b9fe8b172c
Filter Canonical Attestation by Default ( #2626 )
...
* exclusive of finalized block
* filter canonical attestations by default
2019-05-17 13:17:29 -04:00
Preston Van Loon
dd734f23c3
Handle unmarshal failures ( #2624 )
2019-05-17 11:12:17 -04:00
Raul Jordan
40fb4b01fa
Override Finalized State Announcement Proto ( #2623 )
2019-05-17 10:59:00 -04:00
Preston Van Loon
d20c3d6cf7
Add better, incremental reputation ( #2618 )
...
* add better, incremental reputation
* remove space
* Lint
2019-05-17 22:04:38 +08:00
Raul Jordan
15a48dbd75
New Finalized State Announcement Protobuf ( #2619 )
2019-05-16 22:06:40 -04:00
Nishant Das
fc4fd7834b
fix panic ( #2613 )
2019-05-16 11:17:26 -04:00
terence tsao
5e4b9c0909
Add Total Vote Count for Block Tree ( #2576 )
2019-05-16 11:05:27 -04:00
Preston Van Loon
4837629091
Add timestamp metadata to p2p messages ( #2611 )
2019-05-15 21:28:02 -07:00
Nishant Das
64ce41f9fc
Add Check for Goroutines Count ( #2608 )
...
* changes
* revert ide
* goimports
* Update shared/cmd/flags.go
2019-05-15 10:38:27 -04:00
Nishant Das
56130404fc
Change Logging of Failed Attestations ( #2599 )
...
* change logging
* review comments
* gazelle
2019-05-15 09:09:39 +08:00
Andrew
d672a06026
Updated README Deploying with Docker in Windows ( #2598 )
...
Updated instructutions for running Beacon Node in Docker on Windows. The process requires a few additional steps to make a local volume available to mount the data dir. If this doesn't happen, the /tmp/prysm-data dir won't be created at run, and the chaindata will not be stored locally, nor will the account creation process store the key files appropriately for reference when running the validator.
2019-05-14 10:40:52 -04:00
terence tsao
c10c45c4b1
Renovate Renovate Updates ( #2587 )
...
* exclusive of finalized block
* Update com_github_atlassian_bazel_tools commit hash to 20cbdb1
* Update io_bazel_rules_k8s commit hash to 7475ba2
* Update dependency build_bazel_rules_nodejs to v0.29.0
* Update dependency com_github_jbenet_goprocess to v0.1.3
* Update dependency com_github_prometheus_common to v0.4.0
* Update dependency io_bazel_rules_go to v0.18.4
* Update dependency org_golang_google_api to v0.5.0
* Update libp2p
* Update prysm_testnet_site commit hash to 0438607
* renovate updates
* fixed duplication
2019-05-14 01:37:12 -04:00
Preston Van Loon
fd4c7ffc07
Add new log formats and set fluentd as default for cluster ( #2594 )
...
* Add new log formats and set fluentd as default for cluster
* fix image build
2019-05-13 20:43:04 -04:00
Preston Van Loon
23880351f8
Handle race condition in progress ( #2589 )
...
* Handle in progress condition
* Handle in progress condition
* add test too
* space
2019-05-13 14:42:57 -04:00
Nishant Das
e33a6d8aa5
Fix Bitfield Errors ( #2588 )
2019-05-13 06:43:02 -07:00
Nishant Das
eef35996de
Blacklist Keys in Cluster PK Manager ( #2536 )
...
* initialize rpc client
* add struct
* gaz
* add keymap
* update proto and add rpc methods
* update proto
* add method
* make changes
* add routine
* gaz
* mockgen
* error fix
* prom metric
* Some improvements
* fixes
* fix and working cluster pk manager
* fix and working cluster pk manager
* fix and working cluster pk manager
* fix and working cluster pk manager
* regen mocks and pb.go
* k8s
2019-05-12 16:38:37 -04:00
Jim McDonald
215e6fc494
Do not panic when the beacon node is shut down. ( #2571 )
2019-05-12 11:58:07 -04:00
Antoine Toulme
c9ce8b5246
Allow discovery to be removed, and add peers explicitly to peer store ( #2557 )
...
* Allow discovery to be removed, and add peers explicitly to peer store
* Changes after code review
* Update shared/cmd/flags.go
Co-Authored-By: Preston Van Loon <preston@prysmaticlabs.com>
2019-05-11 18:02:58 -04:00
Preston Van Loon
9f7f7d6cff
Tracing improvements ( #2570 )
...
* some improvements
* fix
* gazelle
* disable lostcancel
2019-05-11 17:43:55 -04:00
terence tsao
cf8e474410
Avoid Panic Retrieving Validator Public Key ( #2566 )
...
* exclusive of finalized block
* fixed saveValidatorIdx to skip validator not in state
* fixed test
* tests
* comment
* comment
* fixed test
* comment
2019-05-11 17:08:00 -04:00
Nishant Das
678ffa607e
Fix Bitfield in Attestations ( #2565 )
...
* fix bitfield
* test
* fix reference
* fix tests
* remove test
* fix test
* add new helper
* add test
* fix tests
* fix test
* gaz
* add continue
2019-05-11 16:49:09 -04:00
terence tsao
d34656a76d
Add Nil Block Conditions for Block Cache ( #2569 )
...
* exclusive of finalized block
* add nil blk conditions
2019-05-11 16:37:06 -04:00
Preston Van Loon
78a76e56fb
Add alert manager config ( #2564 )
2019-05-11 09:21:21 -07:00
Nishant Das
d1fa88ce4b
Pool Attestations from Sync ( #2559 )
...
* pooling attestations
* add test
* change limit
* comment
* terence's review
* handle zero case
* add metrics
* more metrics
2019-05-11 10:21:26 +08:00
terence tsao
39a3689a57
Implement Block Cache in DB ( #2560 )
2019-05-10 18:19:46 -07:00
Raul Jordan
94dbac4016
Fix BlockTree RPC Server Response ( #2556 )
2019-05-10 10:07:43 -07:00
Preston Van Loon
fc1fbf8017
Use a prysm specific DHT protocol ( #2558 )
...
* use a prysm specific DHT
* gazelle
* space
2019-05-10 11:56:30 -04:00
Nishant Das
a4d50f097e
Fix Logging in Validator Client ( #2555 )
2019-05-10 06:43:04 -07:00
Preston Van Loon
9a82845c3c
Fix lint issues ( #2554 )
...
* fix broadcast debug message
* feedback
* imports
* lint
2019-05-10 11:59:30 +08:00
Preston Van Loon
65f4c78750
Only marshal broadcast debug message when actually logging debug ( #2553 )
...
* fix broadcast debug message
* feedback
2019-05-09 22:57:47 -04:00
terence tsao
ed8a88337b
Can't save attestation target when head is nil ( #2530 )
...
* take care nil block
* warn to info
* preston's feedback
2019-05-09 22:34:31 -04:00
terence tsao
13e9bb5020
Filter Canonical Attester for RPC ( #2551 )
...
* exclusive of finalized block
* add filter to only include canonical attestation
* comments
* grammer
* gaz
* typo
* fixed existing tests
* added test for IsAttCanonical
* add nil blocks test
2019-05-09 18:53:19 -05:00
Preston Van Loon
991ee7e81b
"Super sync" and naive p2p reputation ( #2550 )
...
* checkpoint on super sync with reputation
* ensure handling only expected peers msg
* exclusive of finalized block
* skip block saved already
* clean up struct
* remove 2 more fields
* _
* everything builds, but doesnt test yet
* lint
* fix p2p tests
* space
* space
* space
* fmt
* fmt
2019-05-09 16:02:24 -05:00
Raul Jordan
ecef1093eb
Fetch Block Tree from Justified Block to Highest Observed Slot via RPC ( #2549 )
...
* test block tree req
* tree improvement
* use the right data
* block tree blocked by children func
* rem file
* imports
* add ctx
* imports
* mock
* check expired context
* added block root
* gazelle
* sace
2019-05-09 12:38:05 -05:00