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
89b451cb6e
Move Validator Helper Functions to Helper Package ( #1584 )
...
* fixed epoch_processing
* test p2p
* refactored validator helpers to helper package
* increased validator test cov
2019-02-13 15:04:31 -06:00
terence tsao
f8d8865020
Moved Rewards/Penalties Helpers to Helper Packages ( #1583 )
2019-02-13 17:33:45 +00:00
terence tsao
05b29d6226
Update PendingAttestationRecord Proto ( #1567 )
...
* fixed epoch_processing
* test p2p
* PendingAttestationRecord -> PendingAttestation
2019-02-12 12:04:30 -06:00
Raul Jordan
12524ae8dd
Update RANDAO to Match Spec ( #1533 )
...
* fix bug in eth1 data vote count increases
* updating attester slashings
* is double vote and attester pseudocode
* attester slashing revamp complete
* exits processing complete
* all block operations aligned to spec
* completed test revamp
* builds properly
* all done FINALLY
* deprecate all instances of old randao logic
* fix all broken tests and cleanup randao references across repo
* builds but tests failing
* fixing broken chaintests
* only chaintests fail now
* randao fully updated
* add bls todo
* lint
* travis
* fix unresolved property in struct
* remove used randao var
2019-02-09 14:35:51 -06:00
terence tsao
e76bf193b4
fix config across codebase ( #1514 )
...
* fixed epoch_processing
* fixed tests
* fixed more tests
2019-02-07 07:07:25 +01:00
Nishant Das
c48f9c96e0
Allow Simulated Backend to Advance Chain ( #1445 )
...
* initialize beacon state separately
* extracting out testcase into another func
* creating function for simulated objects
* creating simulated object struct
* final clean up
* documentation
* lint
* adding chain advancer
* review comments
* replacing lib
* adding initialization for chain and new vars in struct
* added func
* fixing tests and all other bugs
* fixing tests
* docs
* adding a new nil block function
* adding test
* remove check for nil blocks
* godoc
* fixing merge conflicts, tests
* fix test
2019-02-06 10:18:55 +08:00
terence tsao
506db55be5
Aligning ETH2.0 spec - Make Epoch First Citizen (Shuffling and GetCrosslinkAtSlot) ( #1488 )
2019-02-05 19:52:14 +01:00
terence tsao
21ac564631
Aligning ETH2.0 spec - Make Epoch First Citizen (Package: Validators) ( #1460 )
2019-02-04 21:34:33 +01:00
terence tsao
cdf50e2fa2
Aligning ETH2.0 Spec - Implemented Slot & Epoch Helpers ( #1447 )
...
* starting to use SlotToEpoch...
* updated exisiting functions...
* fixed epoch tests
* fixed rest of the tests
* tests for newly added helper functions
* fixed visiblity
* added PrevEpoch and NextEpoch helpers
* lint
* removed file from other commit
2019-02-02 00:52:35 +08: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
c0f36e467b
Eliminate Custody Logic for Phase 0 ( #1408 )
2019-01-30 11:11:13 +01:00
terence tsao
a52f73b78f
Remove Shard Committees Last Part ( #1411 )
2019-01-29 14:56:32 +01:00
terence tsao
af1c382828
Remove Shard Committees 5 - Align Core Package ( #1379 )
2019-01-25 08:20:02 -08:00
Ivan Martinez
858231c90c
Change baserewardquotient to spec and remove Gwei from config ( #1388 )
...
* Change baserewardquotient to spec and remove Gwei from config
* Attempt to fix test
* Fix tests
2019-01-25 15:10:53 +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
terence tsao
060a311a14
Core Package Clean up Part 2 ( #1268 )
...
* comments on core package declarations
* fixed sentence
* cap
* no extra line
* fixed tests
* gazelle
2019-01-10 07:49:50 +08:00
terence tsao
911d30031a
Hook up Epoch-Processing Logic Inside State Transitions ( #1246 )
2019-01-09 09:26:40 -08:00
Raul Jordan
4bb6196f4f
Wrap Up Data Structure Renaming ( #1270 )
...
* spec renames
* fix goimports
* fix items
2019-01-09 03:49:17 -06:00
terence tsao
074ac07dc8
Replace Validator Status Code With Activation/Exit Slot ( #1233 )
2019-01-04 22:39:07 -08:00
terence tsao
1314077a4d
Code Clean Up Part 1 - Core Package ( #1216 )
2019-01-01 09:17:44 -08:00
terence tsao
8515cc3cd1
Attestation Inclusion and Crosslink Rewards and Penalties ( #1178 )
2018-12-26 21:27:35 -08:00
terence tsao
75bf268d8b
Rewards/Penalties for Justification and Finalization Case 2 ( #1175 )
2018-12-26 22:11:02 -06:00
terence tsao
72428239b8
Rewards/Penalties for Justification and Finalization Case 1 ( #1173 )
2018-12-26 07:46:06 -08:00
terence tsao
f975af8bc7
Rewards Penalties Helpers ( #1168 )
2018-12-26 07:22:52 -08:00