terence tsao
8c04ced1a6
Name Changes to Align with V0.3 ( #1621 )
...
* fixed epoch_processing
* penalize->slash
* exit -> voluntary_exit
* SEED_LOOKAHEAD -> MIN_SEED_LOOKAHED
* ENTRY_EXIT_DELAY -> ACTIVATION_EXIT_DELAY
* `INCLUDER_REWARD_QUOTIENT` -> `ATTESTATION_INCLUSION_REWARD_QUOTIEN`
* LatestIndexRoots -> LatestActiveIndexRoots
* `MIN_VALIDATOR_WITHDRAWAL_EPOCHS` -> `MIN_VALIDATOR_WITHDRAWAL_DELAY`
* MAX_WITHDRAWALS_PER_EPOCH -> MAX_EXIT_DEQUEUES_PER_EPOCH
* ETH1_DATA_VOTING_PERIOD -> EPOCHS_PER_ETH1_VOTING_PERIOD
* SLOT_DURATION -> SECONDS_PER_SLOT
* EPOCH_LENGTH -> SLOTS_PER_EPOCH
* SLOT_DURATION -> SECONDS_PER_SLOT take 2
* rest of the misc fixes for config name changes
* remove tools/bootnode/.!74296!bootnode.go
* `current_epoch_start_shard` -> `current_shuffling_start_shard`, `current_shuffling_epoch`, `current_shuffling_see`
* go fmt
* fixed comment
* updated pseudocode comments
* merged master
2019-02-18 10:52:16 -06:00
terence tsao
fc1aacaa54
Skips Attestation Older than Finalized Slot ( #1623 )
...
* fixed epoch_processing
* sync skips attestation with slot < finalized slot
* lint
2019-02-17 16:10:57 -06:00
Raul Jordan
ae13bb5c83
Use Tree Hashing Algorithm Everywhere for Block Roots and State Root ( #1577 )
...
* begin using tree hash instead of hash for state and blocks
* replace with ssz
* rem references to vote cache
* replace all instances of state/block hash with root
* goimports
* almost every test in the world fails
* goimports
* all tests pass, tree hash across repo
2019-02-14 14:04:47 -06:00
Nishant Das
9ecef934d8
Update Beacon State to Match the Spec ( #1489 )
...
* first line of changes
* fix all tests in core package
* Finished fixing up all tests
* docs
* more docs
2019-02-06 10:44:27 -06:00
terence tsao
8c355497ee
Beacon Block Operation Pool to store Attestation ( #1444 )
2019-01-31 19:54:24 +01:00
Raul Jordan
cec6c8de83
Standardize Naming of Shared Packages, Remove Deprecated Packages ( #1435 )
...
* rem txpool
* standardize repo shared utils, remove deprecated items
* complete
* package lvl godoc
2019-01-31 10:53:58 +08:00
terence tsao
665f3f885c
New Operation Service Part 1 - Sync and DB connection ( #1437 )
2019-01-30 20:48:50 +01:00
Raul Jordan
07c0387be1
Validator Epoch Assignments RPC Implementation ( #1419 )
...
* begin reorder
* move into beacon server
* add proposer server
* fix
* add proposer server
* wrap up rpc reorder
* eliminated deprecated RPC endpoints
* formatted nicely
* RPC protos
* fix lint
* integrate hash proto
* epoch assignments
* deprecated committee code
* remove deprecated messages
* fixed mocks, added tests for validator epoch assignments
* gazelle
* fix broken bazel
* nishant comment
2019-01-29 13:56:14 +01:00
Ed Mazurek
10b237e72d
db methods: remove Get prefix ( #1351 )
...
* db methods: remove Get prefix for getter functions
* db methods: consistent test names by removing Get
2019-01-21 17:34:11 +08:00
terence tsao
463cd58171
Implement Process Penalties and Exit Logic ( #1291 )
...
* implemented process pentalties and exit logic
* tests
* add MaxWithdrawalsPerEpoch to config
* preston's feedback, replaced index with idx
* s/e/penalizedEpoch
* removed blank line
2019-01-15 21:52:57 -08:00
Preston Van Loon
592c5c3d92
Refactor hashing of beaconblock to shared ( #1315 )
...
* Add beacon block hash function
* Refactor/remove old hash method
* gazelle
2019-01-15 00:41:20 +08:00
terence tsao
e313e97666
Implement Validator Rotation Logic ( #1279 )
2019-01-13 12:52:31 -08:00
Andrei Ivasko
b29188128d
ToBytes32 ( #1306 )
2019-01-13 09:04:14 -05:00
Raul Jordan
7e1af4fceb
Remove Use of Proto .GetX for Value Getters ( #1235 )
2019-01-04 21:58:19 -06:00
Nishant Das
f305ee7fe6
Remove Deprecated Fields from Beacon State ( #1222 )
...
* remove fields
* remove deadcode
2019-01-02 13:23:03 +08:00
Nishant Das
5804dcfb67
Add Batch Syncing for Initial Sync ( #1119 )
...
* adding proto objects
* simulator changes
* adding stuff for initial sycn
* more changes
* finally fixed test
* fixing tests and sync
* test fix
* adding batched block response
* remove types references
* fix tests
* addressing review
* removing genesis block
* updating protos
* fix merge conflicts
* file permissions
2018-12-26 22:16:46 +08:00
Raul Jordan
5d26efcfaa
Deprecate types.BeaconState with pb.BeaconState Generated Proto ( #1164 )
2018-12-23 16:51:04 -06:00
Preston Van Loon
10f45744d6
Use gogo protobuf as the protoc compiler ( #1165 )
...
* first commit, remote att types
* no more agg attestation proto
* regen mock
* only attestations
* proto
* att process
* fix att references
* more tests passing
* use att protos
* complete
* change visibility
* use gogoprotobu
2018-12-23 15:34:59 -05:00
Raul Jordan
1065617087
Replace Attestation Type Primitive With Proto Generated Type ( #1149 )
...
* first commit, remote att types
* no more agg attestation proto
* regen mock
* only attestations
* proto
* att process
* fix att references
* more tests passing
* use att protos
* complete
* Update dependency com_github_deckarep_golang_set to v1 (#1159 )
* Update dependency com_github_edsrzf_mmap_go to v1 (#1160 )
* Update dependency com_github_go_stack_stack to v1 (#1161 )
* Update dependency com_github_rs_cors to v1 (#1162 )
* Update dependency in_gopkg_urfave_cli_v1 to v1 (#1163 )
* change visibility
2018-12-22 15:30:59 -05:00
Raul Jordan
e49a190754
Replace Types of Block Primitives With Proto Generated Types ( #1137 )
...
* refactor repo to use protos
* removed block successfully in types
* db package updated
* db, core passing
* chain service done
* no more block instances
* all pass
* deprecate all block protos
* tests pass
2018-12-20 17:00:38 -05:00
Nishant Das
724b036fff
Combine Sync Services ( #1060 )
...
* adding initial service
* got it working
* deleting redundant querier file
* golint
* formatting span messages
* lint
* lint
* addressing raul's comments
2018-12-10 13:26:44 +08:00