Commit Graph

1634 Commits

Author SHA1 Message Date
Preston Van Loon
69572d0ada
Add validator balance metric (#1692)
* Add validator metrics

* Add test

* use hex.EncodeToString for faster processing
2019-02-23 23:33:10 -05:00
renovate[bot]
900a0bad36 Update org_golang_x_crypto commit hash to 6635ad9 (#1691) 2019-02-23 20:06:52 -08:00
Ivan Martinez
06a9b582a0 Implement BlockExists and BlockHashByHeight (#1682) 2019-02-23 18:58:13 -08:00
Nishant Das
f5c88e1bcb
Test Syncing with Another Fully Synced Service (#1594)
* clean up test

* adding test setup

* add chainstart check to sync querier

* goimports

* goimports

* backend cleanup

* adding getters

* lint

* moving to db

* gazelle

* adding more services setup

* adding more changes

* adding different test setups

* other merge issues

* imports

* fixing keys

* get intial sync able to be set up

* new changes and gazelle

* use simulated p2p

* everything finally works

* unexport fields

* revert changes from merge

* remove mock server

* add documentation

* gazelle

* add another node

* review comments

* fix tests
2019-02-23 11:36:20 +05:30
renovate[bot]
e118713a2f Update dependency com_github_mattn_go_isatty to v0.0.5 (#1686) 2019-02-22 16:29:35 -08:00
Preston Van Loon
273993a7e0 DepositInput: Proof of possession, withdrawal credentials (#1675)
* move deposit input to keystore pkg, add proof of possession and withdrawal addr

* Add spec details for deposit input

* Use ssz

* actually use withdrawal key
2019-02-22 14:24:31 -06:00
renovate[bot]
6bb2d32ad0 Update org_golang_x_sys commit hash to cd39177 (#1688) 2019-02-22 11:20:59 -08:00
renovate[bot]
b072a1d86a Update dependency com_github_mattn_go_colorable to v0.1.1 (#1685) 2019-02-22 14:01:23 -05:00
Preston Van Loon
5adbaa2e23
Add example encoding for godoc ssz (#1687)
* Add example encoding for godoc ssz

* A bit more comments

* Add comment about fatal error
2019-02-22 12:50:28 -05:00
Ivan Martinez
0d29b2cd91 Makes test naming consistent across codebase (#1636) 2019-02-22 07:11:26 -08:00
Preston Van Loon
9f533fb7ae fix zero being power of two (#1684) 2019-02-22 06:45:25 -08:00
renovate[bot]
69058c126d Update org_golang_x_sys commit hash to a9d3bda (#1681) 2019-02-22 19:10:20 +05:30
renovate[bot]
3f0b3d7b7f Update dependency com_github_syndtr_goleveldb to v1 (#1683) 2019-02-22 18:34:11 +05:30
renovate[bot]
a152bc9950 Update org_golang_x_exp commit hash to 438050d (#1680) 2019-02-22 17:48:17 +05:30
renovate[bot]
c7d31935ee Update com_github_aristanetworks_goarista commit hash to 728bce6 (#1677) 2019-02-21 19:53:18 -08:00
renovate[bot]
7077fce256 Update org_golang_x_exp commit hash to 3d75e7a (#1678) 2019-02-21 14:00:00 -08:00
Raul Jordan
0a3b8fae9b
Deprecate Old Configuration Flags (#1676)
* replace password flag with path to password

* changed to simple string flag

* fix build
2019-02-21 14:34:44 -06:00
Raul Jordan
718f99ee10
Custom ChainStart Genesis Time Delay in Deposit Contract (#1666)
* custom delay

* completed custom delay
2019-02-21 10:51:29 -06:00
renovate[bot]
143d6335d5 Update org_golang_x_sys commit hash to b4e8571 (#1659) 2019-02-21 16:57:43 +05:30
Nishant Das
5e5a8e75e5
Add ChainStart Check To Sync (#1671)
* Add chainstart to sync service

* adding changes to node

* fixing tests

* comments

* add test

* add another test

* remove test in build.bzl
2019-02-21 12:27:04 +05:30
renovate[bot]
ff9174eefd Update com_github_libp2p_go_libp2p_discovery commit hash to 5e0d40c (#1672) 2019-02-20 22:28:26 -08:00
renovate[bot]
82e47acd1a Update org_golang_x_oauth2 commit hash to 9b3c759 (#1658) 2019-02-20 20:31:16 -08:00
renovate[bot]
df69bcbeb0 Update dependency com_github_multiformats_go_multihash to v1.0.10 (#1669) 2019-02-20 20:38:54 -05:00
renovate[bot]
22c44e74af Update dependency build_bazel_rules_nodejs to v0.18.7 (#1668) 2019-02-20 20:04:11 -05:00
Raul Jordan
dcc0672a19
Fatal if ChainStart Receiving Fails (#1665)
* fatal if impossible to receive chainstart

* fix tests
2019-02-20 15:58:23 -06:00
terence tsao
06bfda24d5 Revert "Remove Redundant Committee Assignment Getters in Validator RPC Service (#1655)" (#1664)
This reverts commit 15f8b6a10d.
2019-02-20 14:46:30 -06:00
terence tsao
ddb8fa1867
Implement Process Slot for Per-slot Processing (#1663) 2019-02-20 12:08:05 -08:00
terence tsao
15f8b6a10d
Remove Redundant Committee Assignment Getters in Validator RPC Service (#1655) 2019-02-20 11:53:49 -08:00
Cayman
df28379c0e Update typo in Contributing.md (#1662)
gometallinter -> gometalinter
2019-02-20 11:24:28 -08:00
Raul Jordan
19abe81472
Implement Randao Reveal Signing in Proposer Client (#1650)
* finish the BLS API wrapper

* all tests passing

* unexported comment

* gofmt tests for bls

* block processing test into own package to avoid cycle

* randao tests pass

* blocks test passing

* use common deposit generator

* helper

* resolved import cycle

* setup initial

* builds

* almost done with blockchain tests

* fix blockchain tests

* getting through with chaintests

* revert client change

* lint

* sync master conflict gazelle

* randao test fixes

* randao proposer impl

* tests pass
2019-02-20 12:58:34 -06:00
Cayman
e3ba3e181c Remove leaf hashing in MerkleRoot function (#1653)
* Remove leaf hashing in MerkleRoot function

See https://github.com/ethereum/eth2.0-specs/pull/646 for clarification.

* Add comment clarifying leaf hashing removal
2019-02-20 23:51:35 +05:30
Raul Jordan
9bee695a3b
Implement Eth1Data RPC Server Functionality (#1615)
* eth1 data comments

* eth1 data RPC server side impl

* logic is data objects is empty

* finished eth1 server logic

* update comments

* fmt

* big int comparisons

* begin adding eth1 data tests

* empty data votes test runs

* all tests complete with every code branch triggered, behavior correct

* fmt, imports

* address comments

* wrapped up tests

* addressed all comments
2019-02-20 11:57:02 -06:00
Nishant Das
668a7633ad
Add Utility to Send Deposit Transactions (#1618)
* add in utility

* fix errors

* remove image target

* add in stats package

* add in stats package

* key fix
2019-02-20 12:21:33 +05:30
terence tsao
c0bf3ec5b9
Implement Attestation Req/Res for Sync Service (#1654)
* sync responds for attestation and unseen attestations

* hook up routines

* wrapped up tests

* better name

* gaz
2019-02-19 22:29:51 -08:00
Raul Jordan
b0f5324303
Implement BLS Based RANDAO (#1633)
* finish the BLS API wrapper

* all tests passing

* unexported comment

* gofmt tests for bls

* block processing test into own package to avoid cycle

* randao tests pass

* blocks test passing

* use common deposit generator

* helper

* resolved import cycle

* setup initial

* builds

* almost done with blockchain tests

* fix blockchain tests

* getting through with chaintests

* revert client change

* lint

* sync master conflict gazelle

* randao test fixes
2019-02-19 23:07:28 -06:00
renovate[bot]
e9e8c61666 Update dependency com_github_golang_snappy to v0.0.1 (#1652) 2019-02-19 18:28:27 -08:00
renovate[bot]
c84ee0ddfe Update org_golang_x_sys commit hash to 90b0e44 (#1651) 2019-02-19 16:32:00 -08:00
terence tsao
c30bef0812
Implement Next Epoch Committee Assignment for RPC Server (#1641) 2019-02-19 15:31:04 -08:00
Preston Van Loon
259cbd7c6c Contract drain (for test/debug only!) (#1648) 2019-02-19 14:01:41 -08:00
Preston Van Loon
4ee57f1c45 shorten name (#1649) 2019-02-19 13:38:29 -08:00
Raul Jordan
2425bef5c7
Update Configuration, Naming, and GenesisStart to Accommodate Randao (#1647)
* signature on startup configuration

* remove ref to hash32s for randao

* completed changes
2019-02-19 14:24:00 -06:00
renovate[bot]
ef4a7e07cc Update org_golang_x_crypto commit hash to a4c6cb3 (#1642) 2019-02-19 15:06:24 -05:00
renovate[bot]
aab2a6d088 Update com_github_prometheus_procfs commit hash to e4d4a22 (#1645) 2019-02-19 15:06:05 -05:00
renovate[bot]
077f83031b Update org_golang_x_oauth2 commit hash to 4b83411 (#1646) 2019-02-19 15:05:50 -05:00
Raul Jordan
ab511cb022
Move Deposit Encoding to Helpers Package (#1644)
* move deposits

* finish moving deposit helpers
2019-02-19 12:05:34 -06:00
Preston Van Loon
81c2e4e94b
First pass on pow faucet for testnet (#1624)
* first pass on pow faucet for testnet

* delete unused thing

* remove unneeded thing

*  remove other thing

* https & remove a log

* don't force redirect on https, its not working?

* some renaming of stuff

* lint

* lint

* some stablity config

* move protos to proto directory, add generated pb file for go users

* add health probe

* add hpa and request cpu

* handle err

* some more config
2019-02-19 12:32:14 -05:00
renovate[bot]
0e1f5ef55c Update com_github_phoreproject_bls commit hash to afaefda (#1640) 2019-02-19 08:00:58 -08:00
Raul Jordan
c5c7d40398
Create Wrapper Around Pure Go BLS Project in Prysm (#1625)
* finish the BLS API wrapper

* all tests passing

* unexported comment

* gofmt tests for bls

* slice

* len

* cap err string

* tests

* imports

* gazelle
2019-02-19 09:09:50 -06:00
renovate[bot]
6a0c095998 Update org_golang_x_sys commit hash to 153ac47 (#1637) 2019-02-19 06:19:28 -08:00
renovate[bot]
624a0fd72e Update dependency com_github_gxed_hashland to v0.0.1 (#1639) 2019-02-19 18:24:36 +05:30