Yutaro Mori
b00cdb656a
Cleanup simulator service ( #653 )
2018-10-13 16:22:36 +09:00
Yutaro Mori
d1eefa5cc7
Use consistent hash formatting ( #650 )
2018-10-12 08:35:49 -07: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
Raul Jordan
cd2073e84f
Cleanup and Refactor Shared Package ( #634 )
2018-10-09 00:58:54 -05:00
Yutaro Mori
ce99bd7605
Refactor to Create DB Package ( #582 )
2018-10-05 13:14:50 -04:00
Raul Jordan
b8036fcb0f
Fix Validator Assignment ( #609 )
...
* fix
* ready
2018-10-02 22:39:19 -05:00
Preston Van Loon
8bcddf5fdc
Migrate dependencies on @com_github_ethereum_go_ethereum//event ( #601 )
...
* Add go-ethereum's event and
* remove swp file
* goimports
* remove unused code
* fix gazelle
2018-10-02 21:49:01 -04:00
terence tsao
aec2ea3b1b
Fixed Simulator Slot Alignment ( #607 )
2018-10-02 20:02:52 -05:00
terence tsao
d5bf733948
Fixed Simulator Can't get ParentSlot ( #602 )
2018-10-02 13:34:26 -05:00
Raul Jordan
1abed55bdd
Update Beacon/Validator Flags to Disable Reward/Cross-Link Checking by Default ( #597 )
...
* flag updates
* enable att validity, cross links, rewards
* tests all pass
* fix race
* fix cov
* fix flag
* fix conf
* fix race
* fix gazelle
2018-10-02 10:04:37 +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
Raul Jordan
419cff2512
--Dev Mode Flag for Local Demo/Development ( #537 )
2018-09-21 16:02:17 -05:00
Preston Van Loon
3c264be1c1
Clean up some p2p related TODOs ( #521 )
...
* Remove error checking for type assertions on p2p messages. The code should fail earlier in the p2p layer. Also fixed format on some TODOs
* format TODO again
* Add a bit more tests for p2p stuff
* goimports on feed_mock
* remove unused import
2018-09-16 14:02:53 -04:00
Nishant Das
cddae7a306
Implement RPC Messaging Between Validators ( #475 )
...
* Adding Proto files
* Move to shared package
* adding attestation sub
* gazelle
* attestation check
* proposal finished
* Add in attesters responsibilities
* fixing dependency issues
* adding topics
* refactoring tests
* Adding more tests
* adding more changes
* gazelle
* removing attester p2p
* remove mock
* changing to new proposer model
* changing tests
* making changes
* gazelle
* adding gomock
* adding rpc methods, reverting changes to other proto files
* gazelle and test changes
* adding tests
* adding mocks and tests
* gazelle
* fixing merge issues
* lint
* lint
2018-09-16 09:12:36 +08:00
terence tsao
ae84cfcfa2
Implement Proposer Attestation Check for Block Validity ( #508 )
2018-09-15 07:51:17 -07:00
Preston Van Loon
78c763368b
Update rules_go, bazel_gazelle, and go-ethereum to Support Go 1.11 ( #490 )
...
* Update rules_go, bazel-gazelle, and go-ethereum to support go 1.11
* gazelle
2018-09-10 23:14:29 +02:00
Preston Van Loon
db1138ae1f
Fix p2p issues in #465 ( #489 )
2018-09-09 18:15:24 -04:00
terence tsao
366e5168ba
Initialize New Cycle during Block Processing ( #443 )
2018-08-29 16:21:15 -07:00
terence tsao
f37a59d2f8
Part 5 of Aligning Beacon Chain with Latest 2.1 - Block Vote Cache ( #436 )
2018-08-28 17:55:56 -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
terence tsao
e1f727cbb2
Implement Beacon Node Validator and Observer Entry Points ( #414 )
2018-08-20 08:50:11 -07:00
Raul Jordan
d3b5a7c67b
beacon: Implement Beacon Node gRPC Server Streams ( #400 )
...
* remove client helper in internal
* tidying up the sharding client project
* update all docs
* implementing beacon rpc server methods
* address prs
* begin coverage
* regen proto
* include announcement chans
* tests pass, announcing as canonical only after block has passed all processing
* system functioning yay
* tests pass
* bootstrap validators
* default balance params
* fix lint
* fix all tests
* increasing cov
* 100% test cov rpc
* build file for internal
* typo
* graceful stop
* merge with Terence's PR
* address review comments
* fixed blockchain tests and lint
* added ethdb
* persists last simulated session
* cov
* ready
* fix lint
* fix cov tests
* fix lint
* config options for args
* fix lint
* lint fix
2018-08-17 21:34:56 -06:00
terence tsao
1f56c4304d
Part 1 of Aligning Core Blockchain Package with Latest 2.1 Spec ( #371 )
2018-08-13 17:58:37 -07:00
Raul Jordan
2060d2934e
beacon: Fix Beacon Block Response in Simulator ( #394 )
2018-08-12 13:20:30 -05:00
Ivan Martinez
390ac62ed8
Update docs client/beacon-chain wide ( #386 )
2018-08-09 11:25:48 -07:00
terence tsao
bfaa248b39
Refactor Proto Struct to Be More Semantic ( #381 )
2018-08-05 16:23:31 -07:00
Ivan Martinez
73f24561c7
Change all struct initializations to be explicit ( #374 )
2018-08-03 14:31:52 -07:00
terence tsao
c9f1bfc19c
Simulate Epoch Transition ( #361 )
2018-08-01 08:24:55 -07:00
Raul Jordan
13a011ce5f
proto: Structure Protos for Beacon and for Sharding ( #359 )
2018-07-31 13:54:45 -05:00
Sina Mahmoodi
8c0e9d231c
beacon: Check parent hash in block processing ( #340 )
...
Signed-off-by: Sina Mahmoodi <itz.s1na@gmail.com>
2018-07-31 18:06:44 +09:00
Raul Jordan
cccd675a84
beacon: Initial Sync Network Simulator ( #341 )
2018-07-30 23:41:27 -05:00