prysm-pulse/beacon-chain/db
shayzluf 0732012459 Validator-multiple key (#2069)
* first version - broken

* working proto changes

* resolve review remarks

* fix goimport issues

* fix service issues

* first logic version-broken

* first running version - no new tests

* fix validator client test

* add wait group to goroutines

* remove unused var in function call

* fix review remarks and tests

* merge master changes and fix conflicts

* gazzele fix

* fix prestonvanloon requested changes

* merge and some of terenc3t remarks addressed

* _,pk bug fix in log

* fix account file name suffix and filter not active validator out

* merge with master and fix missing parameters

* run over all public keys in hasvalidators

* add test for error when no all the validators has index in the db and hasvalidators is called

* fix runner tests fail due to timing issues

* goimports

* smaller sleep time in proposer tests

* fix UpdateAssignments loging

* fix goimports

* added && false commented TestUpdateAssignments_DoesNothingWhenNotEpochStartAndAlreadyExistingAssignments

* hasvalidators without missing publickeys list

* fix some of prestone review remarks

* fixes for prestone comments

* review changes applied

* expect context call in TestWaitForActivation_ValidatorOriginallyExists

* changed hasvalidators to return true if one validator exists

* fix init problem to getkeys

* hasvalidators requiers all validators to be in db

* validator attest assignments update

* fix ap var name

* Change name to hasallvalidators

* fix tests

* update script, fix any vs all validator calls

* fix wait for activation

* filter validator

* reuse the reply block

* fix imports

* Remove dup

* better lookup of active validators

* better filter active vlaidators, still need to fix committee assignment tests

* lint

* use activated keys

* fix for postchainstart

* fix logging

* move state transitions

* hasanyvalidator and hasallvalidators

* fix tests with updatechainhead missing

* add tests

* fix TestCommitteeAssignment_OK

* fix test

* fix validator tests

* fix TestCommitteeAssignment_multipleKeys_OK and TestWaitForActivation_ValidatorOriginallyExists

* fix goimports

* removed unused param from assignment

* change string(pk) to hex.EncodeString(pk) fix change requests

* add inactive validator status to assignments

* fix logging mess due to multi validator setup

* set no assignment to debug level

* log assignments every epoch

* logging fixes

* fixed runtime by using the right assignments

* correct activation request

* fix the validator panic

* correct assignment

* fix test fail and waitforactivation

* performance log issue fix

* fix goimports

* add log message with truncated pk for attest

* add truncated pk to attest and propose logs

* Add comment to script, change 9 to 8

* Update assignment log

* Add comment, report number of assignments

* Use WithError, add validator as field, merge block proposal log

* Update validator_propose.go

* fix

* use entry.String()

* fix fmt
2019-04-18 12:23:38 -05:00
..
attestation_test.go Cross p2p spans, more spans, synchronous attestations, minor fixes (#2009) 2019-03-17 10:56:05 +08:00
attestation.go Cross p2p spans, more spans, synchronous attestations, minor fixes (#2009) 2019-03-17 10:56:05 +08:00
block_operations_test.go Cross p2p spans, more spans, synchronous attestations, minor fixes (#2009) 2019-03-17 10:56:05 +08:00
block_operations.go Cross p2p spans, more spans, synchronous attestations, minor fixes (#2009) 2019-03-17 10:56:05 +08:00
block_test.go Block Deletion Upon Block State Transition Error (#2270) 2019-04-16 13:06:53 -05:00
block.go Block Deletion Upon Block State Transition Error (#2270) 2019-04-16 13:06:53 -05:00
BUILD.bazel Add database methods for has any or all validators (#2246) 2019-04-14 20:02:14 +10:00
db_test.go Add Clear DB Flag (#2002) 2019-03-15 11:20:49 +08:00
db.go Use db.HighestBlockSlot() for fork choice children reading (#2150) 2019-04-03 10:32:59 -05:00
deposits.go Fix multiple deposits to the same pubkey pre-chain-start (#2030) 2019-03-28 20:44:27 -07:00
pending_deposits_test.go Add deposit index to beacon state (#2232) 2019-04-14 18:17:39 +10:00
pending_deposits.go Add deposit index to beacon state (#2232) 2019-04-14 18:17:39 +10:00
schema.go Remove Outdated DB Method (#2091) 2019-03-27 07:24:34 -07:00
setup_db.go Test Syncing with Another Fully Synced Service (#1594) 2019-02-23 11:36:20 +05:30
state_metrics.go label (#2117) 2019-03-30 13:49:47 -05:00
state_test.go Save State during Init Genesis State (#2193) 2019-04-09 15:06:23 -04:00
state.go Update docs (#2173) 2019-04-11 14:50:16 -05:00
validator_test.go Add database methods for has any or all validators (#2246) 2019-04-14 20:02:14 +10:00
validator.go Validator-multiple key (#2069) 2019-04-18 12:23:38 -05:00
verify_contract_test.go Complain if contract address changes (#1724) 2019-02-26 13:40:17 -05:00
verify_contract.go Tracing additions (#1747) 2019-02-27 19:55:47 -08:00