Nishant Das
f9a5d277e8
Add Ability for Validator Client to Provide Public Key ( #567 )
...
* Adding pubkey to validators
* Adding test
* Addressing Review
2018-09-26 11:27:52 +08: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
1aeb0e6b10
Part 1 of Attestation Service - [sync -> blockchain -> rpc] ( #548 )
...
* Revert "Add Skip Coverage Condition in Coverage.sh (#416 )"
This reverts commit 72a5dd1cf4
.
* add coverage.sh back
* beginning sig aggregation routine
* fixed errors
* fixed existing tests
* merged master
* add attestation build.bazel
* private visibility
* tests for attestation service
* lint
* bazel gazelle
* add validator beacon file
* lint
* tests for sync service
* removed tmp.go
* bazel gazelle
2018-09-24 09:22:09 +08:00
Zach Zundel
f3774edeb1
Pending TODO Script Checker in Codebase ( #540 )
...
* TODO script
* Add todo to Travis
* Remove blame from todo check
* Print failing todo comments
* Fail on failure
* Fix todo checker
* Don't install godeps
* *actually* don't install godeps
2018-09-22 18:07:03 -04:00
terence tsao
1988dd0d5d
Change Default Validator Balance to Big Int ( #559 )
2018-09-22 13:15:39 -07:00
Raul Jordan
673c4f840f
Streaming Validator Assignment Service Definition ( #554 )
2018-09-22 13:19:34 -05:00
Preston Van Loon
e5569c88f8
More todos ( #558 )
...
* Add TODO link for issue #555
* Remove database related TODO
* update todo for issue #426
2018-09-22 12:58:24 -04:00
Nishant Das
4973144b76
Remove TODO ( #557 )
2018-09-22 09:14:25 -05:00
Raul Jordan
5c0ee65619
Finished TODO cleanup ( #553 )
2018-09-21 22:36:38 -05:00
Raul Jordan
419cff2512
--Dev Mode Flag for Local Demo/Development ( #537 )
2018-09-21 16:02:17 -05: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
Nishant Das
e9ae09ef4c
Fixing profiling and tracing ( #550 )
2018-09-21 13:35:48 -05:00
terence tsao
a455baad5e
V's Sharding Talk from IC3-ETH bootcamp ( #551 )
2018-09-22 00:57:33 +08:00
Raul Jordan
190a976d3d
Validator Clients Use an Internal Clock to Determine Slot Responsibility ( #467 )
2018-09-21 09:32:20 -05:00
terence tsao
9d93312e30
Format TODO ( #546 )
2018-09-20 23:26:51 -07:00
Daniel Schonfeld
8b61994fb3
Attestation Justified Slot Validation Per Spec ( #516 )
...
* bringing isAttestationValid up to spec and udpating tests
* Seems like a bug/typo returning Slot inside Attestation.JustifiedSlotNumber(), fixed now
* typos per @terenc3t
* change errors and messages
* using positive tests vs negative if statements to test for spec rules
* fix error typo
* remove comment
2018-09-20 20:31:29 -04:00
Preston Van Loon
91f26f1421
Use hamming.CountBitsBytes ( #547 )
2018-09-20 10:56:51 -04:00
Divyank Katira
2a51ed3f39
P2P Message Execution Tracing ( #517 )
...
* Request execution tracing initial commit
* Resolve linter issues
* Run gazelle
* Make trace sampling configurable, clean up, update doc
* Document trace span creation
* Fix linter issue
2018-09-20 07:46:35 -04:00
Preston Van Loon
75d32588e0
format and cleanup some TODOs ( #544 )
2018-09-19 21:14:31 -07:00
terence tsao
b4e57489af
Fixed Bugs for Proposer Attestation ( #539 )
2018-09-19 10:23:26 -04:00
Preston Van Loon
8bfed4897f
Added Comments/Documentation on Recent Block Hashes of ActiveState ( #533 )
...
* Add some clarifying comments to calculateNewBlockHash
* missing )
* words
2018-09-19 12:28:50 +08:00
Raul Jordan
4bc2176898
Refactor Block Processing + UpdateHead to Use Slot Numbers ( #474 )
2018-09-18 09:06:28 -04:00
Preston Van Loon
a53395db94
Create PULL_REQUEST_TEMPLATE.md ( #532 )
2018-09-18 12:40:55 +08:00
terence tsao
ddfe1715c9
RPC methods for Validators to Get ShardID, Index and Slot ( #526 )
2018-09-17 22:36:09 -04:00
Nishant Das
5a6e5f44fd
Validator Client Fix ( #254 )
2018-09-17 06:13:04 +02: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
Preston Van Loon
2c3d2032e4
Update travis to use bazel 0.17.1 ( #522 )
2018-09-16 18:27:02 +02: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
Nishant Das
75262ab82d
Disable SMC ( #520 )
...
* disable SMC
* adding tags
* Remove tag
2018-09-16 00:41:31 +08:00
terence tsao
ae84cfcfa2
Implement Proposer Attestation Check for Block Validity ( #508 )
2018-09-15 07:51:17 -07:00
Jie Hou
be11f2f103
Check attestation slot number ( #515 )
2018-09-13 22:07:30 -07:00
terence tsao
9639161fcc
Aligning With Latest 2.1 Spec ( #513 )
2018-09-13 17:36:57 -07:00
terence tsao
593c1ec9fc
Filled in ContainsBlock for Blockchain Service ( #512 )
...
* Revert "Add Skip Coverage Condition in Coverage.sh (#416 )"
This reverts commit 72a5dd1cf4
.
* add coverage.sh back
* filled in contains block to not always return false
* fixed lint
* lint
2018-09-13 23:24:18 +08:00
Daniel Schonfeld
15a6545f64
Default values for Genesis Block ( #507 )
...
* return a genesis block filled with default values
modified tests to reflect the block's requirements
* linted
2018-09-13 21:21:57 +08:00
Preston Van Loon
431934af3c
Remove old go-ethereum .github templates and configuration ( #510 )
2018-09-13 11:45:39 +08:00
Nishant Das
adef6a1b44
fix readme ( #506 )
2018-09-13 10:39:55 +08:00
terence tsao
e773dcd417
Pubkey Description in VRC MD ( #505 )
2018-09-12 19:13:44 -07:00
Nishant Das
9aced5f145
moving log checks ( #509 )
2018-09-12 18:43:20 -07:00
terence tsao
a630abae59
Dynasty Transition During Block Processing ( #498 )
2018-09-11 20:17:20 -07:00
Preston Van Loon
366124991b
Allow users to use 0x prefix for their pubkey ( #500 )
2018-09-11 18:55:05 -07:00
terence tsao
861b960ed9
Implement Attester Responsibilities for Demo ( #487 )
2018-09-11 10:08:31 -07:00
Mohammad Mahdi Jahanara
6095243f2a
added --rpc flag to geth command. ( #496 )
2018-09-10 22:52:02 -07:00
Yutaro Mori
f312c013fc
beacon-chain: Refactor Beacon Chain To Simplify Block Processing ( #473 )
2018-09-11 07:09:41 +02: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
ab3c0efdba
Add MacOS to travis CI ( #491 )
...
* cleanup bazel install script, bump to 0.16.0, add osx to build/test
* add osx as a different entry in the build matrix
* reorganize build matrix
2018-09-09 22:50:04 -04:00
Preston Van Loon
db1138ae1f
Fix p2p issues in #465 ( #489 )
2018-09-09 18:15:24 -04:00
Ivan Martinez
d4e8de95d8
Change IndicesForSlots to ShardsAndCommitteesForSlots ( #481 )
...
* Change IndicesForSlots to ShardsAndCommitteesForSlots
* Capitalize function properly
2018-09-09 11:05:36 +08:00