Commit Graph

832 Commits

Author SHA1 Message Date
terence tsao
c9f1bfc19c
Simulate Epoch Transition (#361) 2018-08-01 08:24:55 -07:00
Edward Ward
a433bc70f2 Fix Gitter Link (#362)
Was getting 404 for the gitter link, now working.
2018-08-01 07:51:29 -04:00
Raul Jordan
3a5b68ddc2
beacon: Beacon Chain RPC Service Proto Definitions (#360) 2018-08-01 00:35:08 -05:00
terence tsao
2c4bfeeef0
sync functions for active and crystallized states (#358) 2018-07-31 18:13:54 -07:00
Raul Jordan
13a011ce5f
proto: Structure Protos for Beacon and for Sharding (#359) 2018-07-31 13:54:45 -05:00
Yutaro Mori
f3b3712916 Quick Test Helper for Creating Blocks (#356) 2018-07-31 07:37:20 -07: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
terence tsao
9b1966374a
Part 2 of State Sync - Active State Proto Struct (#355) 2018-07-30 18:13:25 -07:00
terence tsao
33c56092ad beacon: Part 1 of State Sync - Crystallized State Proto Struct (#354) 2018-07-30 19:29:40 -05:00
Yutaro Mori
9c9aef8194
Eliminate test only methods on types.Block (#350) 2018-07-31 00:45:44 +09:00
Preston Van Loon
26fec66da4
Kubernetes - Part 1 of ?? (#348)
* Add basic k8s configuration for geth deployments

* set genesis difficulty to 0x0

* gazelle, comments

* More comments on priority class and adjust priority class for ethstats

* Adjustments to the miner limits

* set minimum gas price to 0
2018-07-30 10:04:47 -04:00
Yutaro Mori
f9d23da2dd Decouple Database From the ServiceRegistry (#335) 2018-07-29 23:14:50 -07:00
terence tsao
9853f53cc1 beacon: Quick Fix on Typo (#346) 2018-07-29 21:20:20 -04:00
terence tsao
1cb300565d
Implement Validator Cutoff Algorithm (#339) 2018-07-29 10:03:03 -07:00
Nishant Das
d7a88dffa4
Implemeting Validator Rewards and Penalties (#323)
* Adding Validator Rewards

* Addressing review comments

* Adding Penalties

* Adding changes

* Breaking up functions

* Cleaning up

* Adding slashing conditions

* Adding slashing condition boiler plate

* Adding tests

* Adding comments

* Adding comments

* Add in Pubkey

* Adding more tests

* Adding more unit tests and making name changes

* Add beacon chain test helper and fix references to it

* Adding rewards test

* Adding all tests

* Addressing review comments

* Remove slashing conditions

* fix lint

* Fixing merge issues

* removing commented function

* removing newline

* fix golint
2018-07-30 00:22:15 +08: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
67d05861eb beacon: Merge PoWChain goroutines together (#334) 2018-07-27 13:41:00 -05:00
Federico Gimenez
3d8417761f declare explicitly field names on struct initialization (#336) 2018-07-27 21:24:59 +08:00
Federico Gimenez
db832f53a8 Re-Enable Proposer Tests (#328)
* reenable proposer tests

* gazelle fix

* address review comments

* address review comments

* address review comments

* use params.DefaultAttesterDeposit
2018-07-27 08:29:28 +08:00
terence tsao
b1c47ab83a
Implement Validator Clean Up for Dynasty Transition (#329) 2018-07-26 11:20:55 -07:00
Yutaro Mori
8d858aad9b Add Feed Subscribe() Convenience Method (#333) 2018-07-26 07:16:31 -07:00
Preston Van Loon
5776e573ed Add script to ensure visibility is OK (#332)
* Add script to ensure visibility is OK

* typo

* another typo
2018-07-26 13:13:07 +08:00
terence tsao
2bd1e334bc client: Change Notary to Attester Across Codebase (#326) 2018-07-25 20:57:19 -05: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
terence tsao
c0b4503d5f beacon: Check State Hashes while Processing Incoming Blocks (#319) 2018-07-24 16:09:04 -05:00
Preston Van Loon
d33836b48e shared: Move p2p Library to Shared (#317) 2018-07-24 10:21:58 -05:00
Nishant Das
3ee3b15c47
Fix for Proposer Bug (#305)
* Adding fix for proposer bug

* Adding full client

* Removing timeouts

* Fixing Tests

* Remove debug.test file

* lint

* Making Requested Changes

* Fix lint

* Adding check for period

* Add comment

* Change comment

* Making tests shorter

* CollationsizeLimit Fix for tests

* running gazelle

* Comment out tests

* Add comment

* gazelle
2018-07-23 12:55:11 -04:00
Raul Jordan
d46f1f6502
beacon: Block Processing Validity Conditions (#310) 2018-07-23 12:54:41 -04:00
Preston Van Loon
48b047fd61
Add Docker Container Images for beacon-chain and client (#314)
* Add docker container images for beacon-chain and client

* Add docker section to README
2018-07-22 13:31:43 -04:00
terence tsao
3abfb77b87
Outline for Active State Transition Function (#309) 2018-07-22 13:00:10 -04:00
Preston Van Loon
226d219480
Fix period calculation for dev chains where blockNumber < period length (#313) 2018-07-22 10:55:54 -04:00
Federico Gimenez
49d23d60fd
Update readme and contributing links (#312) 2018-07-22 08:36:42 -04:00
Federico Gimenez
637e8ccdab
fix example genesis.json (#299) 2018-07-22 08:33:49 -04:00
Kushagra Sharma
f5447817ba Fixed broken links in contributing doc (#308)
Former-commit-id: 80907203d0fee19fc39ec8ab1321002bfb728bfb [formerly d51d360e33532d6ad682d9a7767f25b83044f75d]
Former-commit-id: a93e945b020ffcd74f3d307d9209c70b0af43c42
2018-07-21 13:15:43 -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
59fc2e13e7 client: Fix P2P Linter Error (#307)
Former-commit-id: 5f673dffed4267c1aca8ebfb4fe182798b9b2d2a [formerly 3fd494231ba5a350ab59a86fcf60ae9f56f1da00]
Former-commit-id: 1506dd418121884a8c7a727f8cf03c12e4c93cc3
2018-07-21 12:20:00 -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
dbdd8f14bd Remove Bad CLABot (#302)
Former-commit-id: c84b0f192c6536418e344ff7d2cd7bd559343bc6 [formerly 42fab4db3bb20147042defad59e892c5f6edd3a1]
Former-commit-id: 8a2129ddfe6fb9f66d9371f684fcbeb9da69a3e1
2018-07-20 14:23:40 -05:00
Raul Jordan
06542e3e05 added clabot file (#301)
Former-commit-id: b482b21e3e0f1157b993befa231d78f187063cbe [formerly a99658c0bf0205e26bb910d58fb1784d18436c5c]
Former-commit-id: 4a42fdd2620aa19c98bc367657c2f5e9a0f33d9f
2018-07-20 13:30:36 -05:00
Raul Jordan
abed3dcb6d update to GPLv3 (#297)
Former-commit-id: cc6b67b7391c407d2f830ae46e6765e097c50c57 [formerly cb2dc8a0ea96b92897dd8f797eb632c941d9f653]
Former-commit-id: 600e28af6901b19b8d191cf3153343d94670f9d0
2018-07-20 10:23:48 -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
e9773bca90 Update README.md (#292)
Former-commit-id: 6a975f58702ffae8f8e76e40ef571600766fe172 [formerly b16300ef75c1deb135ef1e75c45dac0174ee6a51]
Former-commit-id: 8bea7a65e249d0df7df1059a59fe87aa3e394c2f
2018-07-18 10:17:54 +08: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
Preston Van Loon
fa15f552b1 Disable Remote Execution For Now (#283)
* Disable remote execution for now

Will be addressed in #282

* fix typo

* Update .travis.yml


Former-commit-id: 5fc014164e759968db5193e1a07169283734f2bc [formerly d19ffd0ad589160d55b2303d92e9496f12fcd1ee]
Former-commit-id: 87e1067efc929ac7ca46036ec6b600f4a11e4e91
2018-07-15 13:28:38 -04:00