terence tsao
9e096302d2
revert 2 initial committees to 3 ( #746 )
2018-11-13 07:26:47 -08:00
terence tsao
6520c8ffc2
Fixed GetShardAndCommitteesForSlot index out of range ( #744 )
...
* fixed committees index offset
* remove debug logs
* aligned tests
2018-11-12 13:29:32 -05:00
Yutaro Mori
8235c35e07
Various Fixes to Allow State Recalculation to Succeed ( #733 )
...
* Allow state recalculations to correctly advance
* fixes
* comments
2018-11-08 19:13:50 +01:00
terence tsao
3c6952c510
Synchronize Beacon Node with Spec ( #719 )
2018-11-08 09:19:39 -08:00
Raul Jordan
6476fb54af
Dynamic Chain Test Language Package With YAML Parser ( #681 )
2018-11-07 14:07:41 -05:00
terence tsao
8dc3fb5c85
Removed Demo Debug Flags ( #680 )
2018-11-05 18:35:50 +01:00
Yutaro Mori
dd0a15abb2
Convert remaining int config values to uint64 ( #695 )
2018-10-24 01:37:17 +09:00
Yutaro Mori
7caedbaf27
Miscellaneous Fixes for Demo ( #694 )
...
* Various fixes to get code in line with demo
* more fixes
2018-10-23 11:07:43 -05:00
Yutaro Mori
4c5099c8ba
Miscellaneous Cleanup Around Block Processing Logic ( #684 )
...
* Cleanup code around block processing
* gazelle
* gofmt
2018-10-22 16:04:17 -05:00
terence tsao
31adcce976
Implement Validator Exiting Logic ( #667 )
2018-10-16 23:32:26 -07:00
Nishant Das
5117e6d195
Refactor Crystallized State ( #641 )
2018-10-15 06:17:07 -07:00
Catalin Pirvu
c3a7dfce96
Add check for validity to CheckBit method ( #658 )
2018-10-15 02:35:52 +08:00
Yutaro Mori
8bffae1316
Various cleanup and bugfixes around validator/RBC interaction ( #657 )
2018-10-14 10:29:57 -05:00
terence tsao
dc8d40d10d
Replace Dynasty with Validator Set Change ( #655 )
2018-10-13 21:12:06 -05:00
terence tsao
6d0290664a
Implement Validator Rotation during State Recalculation ( #645 )
2018-10-12 11:27:55 -07:00
terence tsao
efeb6976d1
Align Block and State Field Names with Spec ( #628 )
2018-10-09 19:34:50 -07:00
Raul Jordan
cd2073e84f
Cleanup and Refactor Shared Package ( #634 )
2018-10-09 00:58:54 -05: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
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
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
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
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