Preston Van Loon
a19cb1864e
Tracing additions ( #1747 )
2019-02-27 19:55:47 -08:00
Raul Jordan
20803b4c9d
Revert Usage of ssz.TreeHash Across Repo ( #1711 )
...
* revert using ssz.TreeHash
* gazelle
2019-02-25 21:42:31 -06: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
Ivan Martinez
0d29b2cd91
Makes test naming consistent across codebase ( #1636 )
2019-02-22 07:11:26 -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
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
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
Raul Jordan
088507af66
Initialize State from ChainStart Deposits in POWChainService ( #1474 )
...
* tests passing once again in db package
* fixed all tests
* revert some weird p2p changes made accidentally
* fix repeated code
* build fixed
* fix p2p
* fix all tests
2019-02-03 16:44:48 -06:00
Raul Jordan
98a4274b81
Refactor ChainService for Synchronous Tests and ChainStart ( #1347 )
...
* can now test blockchain service synchronously
* completed chainstart listener
* fix comment
* completed refactor
* fix
* fix build
* rem genesis fetch
* fix broken
* fixed concurrency bug
* comments
2019-01-28 19:59:37 +08: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
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
Nishant Das
bb7b0a324b
Fix Bug On Startup Using Genesis.json ( #1258 )
...
* fix bug
* making requested changes
* new changes
* changing initialize state
* remove genesis.json and references
* remove log
* readme
* readme
* remove reference
2019-01-09 11:03:57 +08:00
terence tsao
141a8dba87
Reformat Configs for Readability ( #1256 )
2019-01-05 20:36:05 -08:00
Raul Jordan
7e1af4fceb
Remove Use of Proto .GetX for Value Getters ( #1235 )
2019-01-04 21:58:19 -06:00
Nishant Das
9db1002d87
Updating Genesis Block to Spec ( #1172 )
...
* Updating to spec
* addressing review comments
2018-12-25 14:47:07 +08:00
Raul Jordan
5d26efcfaa
Deprecate types.BeaconState with pb.BeaconState Generated Proto ( #1164 )
2018-12-23 16:51:04 -06: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
terence tsao
122ad6ef3c
Implemented Get_block_root Helper Function ( #1096 )
2018-12-13 11:35:11 -08:00
terence tsao
121654ff12
Removed Deprecated BeaconBlock Fields ( #1035 )
2018-12-03 08:10:47 -08:00
Raul Jordan
a99de08562
Merge Active/Cystallized State ( #1019 )
2018-12-01 16:09:12 -06:00
Andrei Ivasko
85653335f1
Standartize params for BeaconChain and Validator projects ( #796 )
...
* Standardize params for BeaconChain and Validator projects
* gofmt
* various changes to bring up to standards
* lint
* linter 2, not sure why travis complains
* revert service_test.go
2018-11-19 00:39:35 +08:00
Yutaro Mori
c00a1d3132
Replace LevelDB with Bolt ( #666 )
2018-10-17 01:11:24 -05:00
Yutaro Mori
724ae3c999
Implement Precise Ticker For Slot Interval ( #635 )
2018-10-10 11:17:48 -05:00
terence tsao
efeb6976d1
Align Block and State Field Names with Spec ( #628 )
2018-10-09 19:34:50 -07:00
Yutaro Mori
ce99bd7605
Refactor to Create DB Package ( #582 )
2018-10-05 13:14:50 -04:00