terence tsao
6d0290664a
Implement Validator Rotation during State Recalculation ( #645 )
2018-10-12 11:27:55 -07:00
Yutaro Mori
d1eefa5cc7
Use consistent hash formatting ( #650 )
2018-10-12 08:35:49 -07:00
Yutaro Mori
04c7a89f1d
[WIP] Partial fix for the validator code ( #647 )
2018-10-11 23:41:17 -05:00
Ivan Martinez
26cad3f9c1
Enforce Max Committee Size and Remove Multiple Slots Per Committee ( #644 )
2018-10-10 18:27:56 -05:00
terence tsao
efeb6976d1
Align Block and State Field Names with Spec ( #628 )
2018-10-09 19:34:50 -07:00
Yutaro Mori
3e8a450e0f
Fix Flaky Tests ( #636 )
2018-10-09 10:52:20 -05:00
Raul Jordan
cd2073e84f
Cleanup and Refactor Shared Package ( #634 )
2018-10-09 00:58:54 -05:00
terence tsao
1c7af71774
Add SpecialRecord Type and Updated Config ( #624 )
2018-10-06 08:30:15 -07:00
Nishant Das
3dfbec9d3c
Update Rewards to Align with Spec ( #596 )
...
* Adding integer square root and other changes to spec
* adding doc
* fixing tests
* fix spec
* fix rewards
* Remove failing test
* fix test
* lint
2018-10-04 12:49:18 +08:00
Preston Van Loon
6e2b6229fe
Revert "Fixed Sync With Simulator ( #588 )" ( #600 )
...
This reverts commit 085b45626e
.
2018-10-01 20:54:45 -04:00
terence tsao
085b45626e
Fixed Sync With Simulator ( #588 )
2018-10-01 14:14:10 -05:00
terence tsao
d65e2a4157
Implemented Dev Flag to Use Demo Config ( #586 )
2018-09-27 23:48:39 -07:00
Nishant Das
48c07bfeb9
Update Rewards to Align with Spec ( #570 )
...
* updating rewards
* add tests
* adding tests
* lint
2018-09-26 22:20:59 -05:00
Preston Van Loon
5bc324d2f1
Change pubkey from uint64 to bytes ( #561 )
...
* Change pubkey from uint64 to bytes
* add the rebuilt proto pb.go
2018-09-24 22:01:26 -05:00
Raul Jordan
78ccea9865
Refactor ValidatorSlot RPC and Casper to Return ValidatorSlotAndResponsibility ( #565 )
...
* slot responsibility casper refactor
* fix
2018-09-24 23:18:27 +08:00
terence tsao
b59a4eef4e
Fixed Bugs after Crosschecking 2.1 Spec ( #564 )
2018-09-23 22:36:51 -07:00
terence tsao
1988dd0d5d
Change Default Validator Balance to Big Int ( #559 )
2018-09-22 13:15:39 -07:00
Nishant Das
53508d6bec
Update Rewards to Align With New Spec ( #504 )
2018-09-21 14:56:39 -05:00
Raul Jordan
fa96e57ca2
Re-Add Block Validity Checks ( #541 )
2018-09-21 14:33:53 -05:00
terence tsao
b4e57489af
Fixed Bugs for Proposer Attestation ( #539 )
2018-09-19 10:23:26 -04:00
terence tsao
ddfe1715c9
RPC methods for Validators to Get ShardID, Index and Slot ( #526 )
2018-09-17 22:36:09 -04:00
terence tsao
ae84cfcfa2
Implement Proposer Attestation Check for Block Validity ( #508 )
2018-09-15 07:51:17 -07:00
Yutaro Mori
f312c013fc
beacon-chain: Refactor Beacon Chain To Simplify Block Processing ( #473 )
2018-09-11 07:09:41 +02:00
Ivan Martinez
d4e8de95d8
Change IndicesForSlots to ShardsAndCommitteesForSlots ( #481 )
...
* Change IndicesForSlots to ShardsAndCommitteesForSlots
* Capitalize function properly
2018-09-09 11:05:36 +08:00
Ivan Martinez
d30d81a608
Rename all mentions of height to slot ( #456 )
...
#442
2018-09-01 12:01:53 -04:00
Yutaro Mori
f0abbf6f26
Refactor Validator Shuffling Logic ( #444 )
...
* Refactor and fix bugs for validator shuffling logic
* fix lint errors
* fixes
* address pr comments
* comments
* typo
* fix tests
* better readability
* gofmt
2018-08-30 22:55:52 -04:00
terence tsao
6389877154
Part 4 of Aligning Beacon Chain with Latest 2.1 - Bootstrapping Genesis ( #430 )
2018-08-25 11:59:46 -07:00
terence tsao
1598ae8605
Part 3 of Aligning Beacon Chain with Latest 2.1 - Processing Attestations ( #423 )
2018-08-24 09:07:23 -07:00
Raul Jordan
4a1b5db07b
beacon: Store Incoming Blocks and Calculated States in DAG ( #422 )
...
* begin with a block/state dag approach in prep for fork choice
* add TODOs for fork choice items, add data structure for forks
* remove syncing and processing states for incoming block sync
* simulator only broadcasts blocks now, no more state simulation
* fix sim tests, no more state sim
* bazel rerun
* naive fork choice
* split update head routine
* pesky race conditions
* fork choice rule works
* dag + fork choice working
* canonical head storage across sessions
* todo: save dag
* no more stalling after 10 blocks, using event feeds
* address review
* sync instead uses event feed
* refactored pure funcs into casper package
* tests pass
* fix lint
* refactor get blockhash
* refactor blockhashforslot
* event feed for incoming blocks in chainservice
* use config
* addressed all comments
* fix typo
* address yutaro comment
* using db interface
* check if parent hash in previous slot DAG
* works
* tests
* drop ffg suffix
* bazel gazelle
* full cov validators by height shard
* gazelle
* state tests
* all state tests
* 100% cov types and 99% cover casper
* cov up
* 80% blockchain cov
* fix lint
2018-08-23 22:09:59 -06:00