Raul Jordan
f2bc9e0352
BLS Public API ( #676 )
...
* public bls api
* added basic tests
* merge master
2018-10-18 00:44:00 -05: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
Ivan Martinez
6d46dda33c
Make blake2b hash util in shared/ ( #649 )
2018-10-13 21:32:29 -05:00
Yutaro Mori
d1eefa5cc7
Use consistent hash formatting ( #650 )
2018-10-12 08:35:49 -07:00
Nishant Das
c67a084b55
Clean Up Todos and Add in Issue Checker ( #640 )
2018-10-11 13:52:09 -05:00
Raul Jordan
cd2073e84f
Cleanup and Refactor Shared Package ( #634 )
2018-10-09 00:58:54 -05: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
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
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
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
Raul Jordan
5c0ee65619
Finished TODO cleanup ( #553 )
2018-09-21 22:36:38 -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
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
terence tsao
ddfe1715c9
RPC methods for Validators to Get ShardID, Index and Slot ( #526 )
2018-09-17 22:36:09 -04: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
Preston Van Loon
db1138ae1f
Fix p2p issues in #465 ( #489 )
2018-09-09 18:15:24 -04:00
Preston Van Loon
b02042dbe9
shared: Split P2P Topics And Introduce Middleware (Adapters) ( #421 )
2018-08-29 11:32:54 -05:00
Preston Van Loon
9c764555eb
k8s: Kubernetes - Part 2 of ?? ( #401 )
2018-08-14 11:16:21 -05:00
Federico Gimenez
dd29481abe
Fix beacon-chain/sync Test Race ( #390 )
...
* fix beacon-chain/sync test race
* address review comments
* remove unused file
* gazelle
* disable race for client/contracts
* address review comments
* fix conflict
* remove duplicated deps, embed
* remove unneeded file
2018-08-12 16:27:21 -04:00
Ivan Martinez
390ac62ed8
Update docs client/beacon-chain wide ( #386 )
2018-08-09 11:25:48 -07:00
Nishant Das
2cf7fa0174
Check Last Finalized Epoch ( #357 )
...
* Adding proto topics
* Adding crystallized state request
* Reverting shanges to proto
* Adding db checks
* get crystallised state
* Finalize epoch for mapping
* more changes
* cleaning up main routine
* adding tests
* fix test
* Adding ability to save blocks
* Adding block fetcher
* Another test for setting finalized epoch
* adding final tests
* finished tests
* adding comments
* gazelle
* Making requested changes
* Fixing lint
* stop sync from exiting
* fixing lint
* lint
* Adding new request type to proto
* Making changes to block/state requests
* Change tests
* fixing error messages
* gazelle and lint
* adding back crystallised state
* fix tests
* Fixing merge conflicts
* Addressing review comments
* Changing back to one service
* removing case
2018-08-07 20:12:10 +08: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
Raul Jordan
cccd675a84
beacon: Initial Sync Network Simulator ( #341 )
2018-07-30 23:41:27 -05:00
Yutaro Mori
f9d23da2dd
Decouple Database From the ServiceRegistry ( #335 )
2018-07-29 23:14:50 -07:00
Preston Van Loon
bb29e367d5
Add Golint ( #344 )
2018-07-28 21:18:56 -04:00
Preston Van Loon
9cf375267e
Add Security Linter: gosec ( #343 )
2018-07-28 20:44:24 -04:00
Raul Jordan
9ab02849b6
beacon: Initial Beacon P2P Protobufs, Subscriptions ( #327 )
2018-07-28 15:53:02 -04:00
Yutaro Mori
8d858aad9b
Add Feed Subscribe() Convenience Method ( #333 )
2018-07-26 07:16:31 -07:00
Yutaro Mori
09ca832a5f
beacon: Beginning the Sync Service for the Beacon Chain ( #322 )
2018-07-25 11:57:44 -05:00
Federico Gimenez
b8fe4228af
Add Mutex on Top of p2p Feeds Map ( #321 )
...
* add mutex on top of p2p feeds map
* lock read too
* add concurrent write test and enable race detector
* restrict race detection to concurrent feed map write test
* gazelle fix
* increase ram and I/O in bazel's local_resources
* reverted local_resources changes
* address review comments
* do not disable sandboxing on travis
* address review comments
2018-07-26 00:11:15 +08:00
terence tsao
8d42418d0d
client: add rpc to client ( #320 )
2018-07-24 23:52:39 -05:00
Preston Van Loon
d33836b48e
shared: Move p2p Library to Shared ( #317 )
2018-07-24 10:21:58 -05:00
Raul Jordan
b6cd890a67
Log Verbosity Flags + Logrus Package Level Logs With Fields ( #304 )
...
Former-commit-id: f7344b7d3fb2fa07f0fd421c5ed3721f6c7a9258 [formerly e678ab2f1681d9492c0e1b142cd06ee08a462fdb]
Former-commit-id: d942da3d5cfcde921bebb149c26edd5c4ed178dd
2018-07-21 12:51:18 -05:00
Raul Jordan
92af8bc351
Rename Entire Project to Repo, Change Import Paths and Readmes ( #298 )
...
Former-commit-id: b7b8bbd10777012ae6f7d30eb6b05c3b1c3ec5d3 [formerly 06e1112fa0e1092a7137186d3a386972daa2effe]
Former-commit-id: ff2bc760c9dafb6250f056606eb2cbf96b6afa5b
2018-07-20 16:31:26 -05:00
Raul Jordan
4d5d229f0f
beacon: Define a Core Blockchain Package and Persisted Structure for Beacon ( #278 )
...
Former-commit-id: bbd5b46e7f64f762350d6fb496492207e70d7130 [formerly 43a37f7139b7d1d90f0c27a7406b63bdf390ad96]
Former-commit-id: bb7a2ff0a7619f8de0bd38cd2c9eb0de7c189edb
2018-07-19 11:31:50 -05:00
Preston Van Loon
9ac88d11da
sharding: Local networked P2P! ( #222 )
...
Former-commit-id: d22d05529bb0050b8a03053a28d876e3e458bbff [formerly 284a04699110aa285a42f5b0ad244ca9bd77d2df]
Former-commit-id: 83cd9c8a48fb5ce9c57ff8ef6c2b1741a4d05130
2018-07-17 13:39:04 -05:00
Preston Van Loon
77267169ea
Add More Lint Rules With gometalinter ( #284 )
...
* turn up linter to 11
* Added extra linting rules and fixed all lint issues
* add deadline of 10m
Former-commit-id: 632999fcaa8370516d6fe76c28c503cb2e3319b7 [formerly d4354f631b1eb4f7918cde28bf063f756ae92a54]
Former-commit-id: 3aaf78a56b76850b0123d61551ac554ccecfe9ad
2018-07-15 15:06:36 -04:00
Raul Jordan
e305d58355
shared: reinclude debug.Exit() usefulness ( #275 )
...
Former-commit-id: 423052bc5858f3e5772b37bb9d0b4a05f9b131ac [formerly 869ca9c92bc215b0583953bb5ab2479927b15256]
Former-commit-id: bfd9353f0234864c9823ad3ee10d152d59af791c
2018-07-13 22:35:15 -05:00
Raul Jordan
83569f1342
shared: Abstract Service Registry Into Shared Folder, Add Beacon Node and Beacon Entry Point ( #268 )
...
Former-commit-id: 406ba2f1e65ec58e822fcf1b9d54c44ba51a559c [formerly 52aebe050663c4dc73fc56e5e4c6846620267f1f]
Former-commit-id: c959a9fda119e4403136ac4f8d1b345d464ab5df
2018-07-13 21:15:37 -05:00
Raul Jordan
739f34f26c
sharding: Test for Node Fetch and Register Service, 100% Simulator Coverage ( #254 )
...
Former-commit-id: 2fe6fdb393917f90c9a8a0c6dfb866738736803e [formerly 03d3519c59eb7f78e20ff08c081031d9b1f673bc]
Former-commit-id: a1cba8b7ec0517748d5df0bab458b2466f7b6329
2018-07-13 11:47:57 -05:00