Commit Graph

2279 Commits

Author SHA1 Message Date
Preston Van Loon
06a3a0de14 add production config for testnet release (#2493) 2019-05-05 14:04:28 -05:00
Nishant Das
409111e374 Estimate the Time Till Follow Distance Is Completed (#2486)
* use estimation instead

* fix test

* fixing another test

* fix tests and preston's comments

* remove unused var

* fix condition

* Revert "fix condition"

This reverts commit dee0e3112c01f68f30a2e50cd4eb35f29f672e1d.

* dont return error
2019-05-05 13:18:57 -04:00
Raul Jordan
406fb40883
Fix Validator Status Field in RPC Server (#2492)
* fix status of key

* status test fix

* fmt
2019-05-05 12:05:21 -05:00
Raul Jordan
d5c0a99578 Display Only Active Validator Data (#2490) 2019-05-05 09:40:21 -07:00
Raul Jordan
679493c786
issue warn log on disconnecting peer instead of error (#2491) 2019-05-05 11:22:04 -05:00
Ivan Martinez
d721d7fe8c Add drain script (#2418)
* Add drain script

* Fix script to drain contracts from newest to oldest

* Add README

* remove comments

* Only after block 400k, look up by deposit event
2019-05-05 11:34:07 -04:00
Nishant Das
88df0f6498 shift ticker to after activation (#2489) 2019-05-05 10:24:41 -05:00
Nishant Das
2442b1a4d6
fix chainstart waiting on rpc server (#2488) 2019-05-04 20:04:12 +08:00
Nishant Das
16b42f4ac6
change logging (#2487) 2019-05-04 12:11:34 +08:00
terence tsao
71b702a3ab Only Log Active Balances (#2485)
* only log active balance

* dont need ()
2019-05-04 11:31:26 +08:00
Raul Jordan
939382ac86 Better Error Message if Failing to Exit Initial Sync (#2483)
* no err throw

* nil errors

* better error on init sync
2019-05-04 10:13:33 +08:00
terence tsao
7f4eafb7b4
3.175 (#2482) 2019-05-03 16:57:37 -07:00
Raul Jordan
329d467008
Fix Status Nil Pointer Error (#2480)
* no err throw

* nil errors
2019-05-03 16:55:56 -05:00
Raul Jordan
f612d9ff5b
no err throw (#2479) 2019-05-03 15:28:11 -05:00
Raul Jordan
3f5eea6077
Update Prysm README (#2477)
* README updated

* readme updates
2019-05-03 12:55:15 -05:00
Nishant Das
7d88e1e15e Allow Client to Retrieve Multiple Validator Statuses (#2474)
* multiple validator statuses

* gazelle

* context

* fixing bugs

* remove old way of checking

* fix logging

* make activation queue more accurate

* fix rpc test

* add test

* fix remaining tests

* lint

* comment

* review comments
2019-05-03 12:13:34 -05:00
Preston Van Loon
a152ba9528 Add CORS for ssz api (#2476)
* first pass ssz server for decoding deposit input data

* fix decoding

* revert viz change on helper

* add image target

* use /api prefix, add deployment for cluster

* fix lint

* needed CORS
2019-05-03 14:46:39 +08:00
Raul Jordan
94a1aca640 standardize slot numbers (#2475) 2019-05-03 13:28:09 +08:00
Preston Van Loon
9fb5bbd662 SSZ web api for decoding input data (#2473)
* first pass ssz server for decoding deposit input data

* fix decoding

* revert viz change on helper

* add image target

* use /api prefix, add deployment for cluster

* fix lint
2019-05-03 00:11:54 -05:00
Raul Jordan
7007a9e8fa Fix Estimation of Deposit Inclusion Slot in ValidatorActivationStatus (#2472)
* fix spacing

* fix time estimates

* correct slot estimation

* naming

* Update beacon-chain/rpc/validator_server.go

Co-Authored-By: rauljordan <raul@prysmaticlabs.com>
2019-05-02 19:13:51 -04:00
Raul Jordan
629b76cf44 Only Perform Initial Sync With a Single Peer (#2471)
* fix spacing

* use send instead of broadcast in initial sync
2019-05-02 15:36:23 -04:00
Raul Jordan
f876df42d7
ValidatorStatus Estimating Activation RPC Server (#2469)
* fix spacing

* working on position in queue

* fmt

* spacing

* feedback

* tests

* rename
2019-05-02 14:14:25 -05:00
terence tsao
b1334c6120 Revert "Reverts RPC Disabling (#2435)" (#2468)
This reverts commit e16f1e1533.
2019-05-02 09:17:45 -04:00
Zak Cole
8b510e7fad typo (#2464)
negotiation was spelled wrong and it confused me for a second.
2019-05-01 16:49:59 -07:00
Preston Van Loon
578e7bd867
Activation estimation proto (#2461)
* support activation status information

* second attempt

* format protos with prototool

* use inner status message

* add one more field

* regen pb.go

* Add position in activation queue
2019-05-01 16:39:20 -04:00
Preston Van Loon
50c0772c2a format protos with prototool (#2462) 2019-05-01 12:14:21 -07:00
terence tsao
38da4a5cd4
Add Forkchoice Tie Breaker (#2459) 2019-05-01 10:18:56 -07:00
Raul Jordan
05336e16e0
Querier Polls Forever Until 1st Response (#2458)
* revert changes to protos

* typo
2019-05-01 12:10:39 -05:00
terence tsao
de6ea81790 Recent Block Roots RPC API (#2455)
* add metrics for corret participation rate

* gaz

* add recent canonical roots API

* gaz

* all tests passed

* comments

* fmt
2019-05-01 10:14:46 -05:00
Preston Van Loon
f70e648b60 add nginx proxy caching in front of SSR (#2456) 2019-05-01 07:08:18 -07:00
Preston Van Loon
957402595d
Add simple funded too recently error (#2414) 2019-04-30 19:02:08 -04:00
Raul Jordan
aa74b1dca3 Various Logging Improvements (#2454) 2019-04-30 14:55:59 -07:00
Raul Jordan
acf2d0699c Fixed HasAnyValidators to Fallback to Looking Into the BeaconState (#2453) 2019-04-30 14:18:16 -07:00
terence tsao
a015056332 Add metric for correctly attested rate (#2452)
* add metrics for corret participation rate

* gaz
2019-04-30 16:06:31 -05:00
terence tsao
d453b0f199 fixed typos (#2444) 2019-04-30 14:55:14 -05:00
terence tsao
669ad3ee71
raise ejection bal to 3.15 (#2451) 2019-04-30 10:17:23 -07:00
terence tsao
7a7b4e55c9
prevent validator exit reentrance (#2443) 2019-04-29 16:25:31 -07:00
Preston Van Loon
3f742d79c0
Use new port for testnet site, redirect prylabs.net to alpha.prylabs.net for now (#2441) 2019-04-29 18:21:54 -04:00
terence tsao
22fa595665 Prune Atts One Epoch Older (#2442)
* prune atts > one epoch old

* use VerifyAttestation instead

* added test to prune invalid att

* space

* added ctx

* fixed existing tests

* gaz

* gazelle

* update filter for pruning atts

* gaz
2019-04-29 15:45:04 -05:00
terence tsao
bff774de32 Operation service prunes invalid attestation (#2439)
* prune atts > one epoch old

* use VerifyAttestation instead

* added test to prune invalid att

* space

* added ctx

* fixed existing tests

* gaz

* gazelle
2019-04-29 15:03:28 -05:00
Raul Jordan
aa80c308ce
Save Deposit to DB Even If Fails to Deserialize (#2440)
* include bad deposits in the db

* fmt

* Update beacon-chain/powchain/log_processing.go

Co-Authored-By: rauljordan <raul@prysmaticlabs.com>

* lint

* comment
2019-04-29 14:50:18 -05:00
terence tsao
63998b92aa Add and Use Truncate Hash Library (#2417)
* add truncate lib

* use trunc

* spaces
2019-04-29 13:11:51 -05:00
Nishant Das
c288af5e9b Continue Processing Invalid Deposits (#2437)
* fix for pending deposits

* add regression tests
2019-04-29 09:54:55 -05:00
terence tsao
4a90f82bcc Fix Validator Ejection for Testnet (#2438)
* set ejection threshold and add gauge

* spaces

* gaz
2019-04-29 09:39:31 -05:00
Nishant Das
e16f1e1533 Reverts RPC Disabling (#2435)
* make changes

* more changes
2019-04-29 08:23:24 -05:00
terence tsao
4a3b2f6d15 Renovates Major Updates (#2434)
* Update io_bazel_rules_k8s commit hash to c1daa04

* Update dependency build_bazel_rules_nodejs to v0.28.0

* Update dependency com_github_rjeczalik_notify to v0.9.2

* Update dependency io_opencensus_go to v0.21.0

* Update dependency org_golang_google_api to v0.4.0

* Update libp2p

* Update dependency com_github_deckarep_golang_set to v1

* Update dependency com_github_edsrzf_mmap_go to v1

* Update dependency com_github_go_stack_stack to v1

* Update dependency com_github_karlseguin_ccache to v2

* Update dependency com_github_rs_cors to v1

* Update dependency in_gopkg_urfave_cli_v1 to v1

* Update prysm_testnet_site commit hash to 3848e91

* extra bracket

* fix build
2019-04-29 14:56:36 +08:00
Preston Van Loon
a9d2003623 Add SSL support for prylabs.net, support opengraph on alpha.prylabs.net (#2419) 2019-04-28 21:09:31 -07:00
Raul Jordan
63633a3bee Enable Historical State Pruning By Default (#2433)
* disable historical state pruning

* imports

* lint
2019-04-29 10:53:03 +08:00
Preston Van Loon
5249134704 set cluster manager to deposit 3.2 eth (#2416) 2019-04-28 17:23:03 -05:00
Nishant Das
52250c9e7a Fix Fork Choice Reorg Conditions (#2413)
* make fixes

* change condition

* comment

* fixed up a few var names for clarity

* added test for isDescendant

* chain split reorg test

* interface for atts service

* comprehensive reorg regression test added

* space

* all tests pass

* target handler

* ci lint

* Update beacon-chain/sync/receive_block.go

Co-Authored-By: rauljordan <raul@prysmaticlabs.com>
2019-04-28 17:53:51 -04:00