prysm-pulse/beacon-chain
Preston Van Loon fcbb168c76
Code health: review map usage (#7635)
* remove unused cache states map

* correct typo

* Remove unused array

* Add lock around deposits cache chainstart pubkeys

* Copy attestation before grabbing lock. This may reduce lock contention time as other callers wanting the lock do not need to wait as long for the lock to become available.

* Copy attestation before grabbing lock. This may reduce lock contention time as other callers wanting the lock do not need to wait as long for the lock to become available.

* Set capacity to 1 since it is known that the slice will be 1 after insertion

* require validatorSlashingPreconditionCheck caller to hold lock

* Add lock for voluntary exits pool HasBeenIncluded

* Require rate limiter retrieveCollector to hold lock

* Add lock requirement assertions in sync

* Remove unused struct

* remove ClearCachedStates API

* field initSyncState is unused

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2020-10-26 21:17:07 +00:00
..
blockchain Code health: review map usage (#7635) 2020-10-26 21:17:07 +00:00
cache Code health: review map usage (#7635) 2020-10-26 21:17:07 +00:00
core Restrict Proposer Lookup to the Current Epoch (#7542) 2020-10-26 13:40:38 -07:00
db Allow Specifying Output Directory When Creating DB Backups (#7630) 2020-10-26 18:20:54 +00:00
flags Allow Specifying Output Directory When Creating DB Backups (#7630) 2020-10-26 18:20:54 +00:00
forkchoice Forkchoice: update read only lock to regular lock (#7633) 2020-10-24 16:35:18 +00:00
gateway Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
interop-cold-start Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
node Allow Specifying Output Directory When Creating DB Backups (#7630) 2020-10-26 18:20:54 +00:00
operations Code health: review map usage (#7635) 2020-10-26 21:17:07 +00:00
p2p Fix Gossip Message ID (#7624) 2020-10-24 03:38:05 +00:00
powchain Fix pregenesis countdown msg wording (#7477) 2020-10-23 05:21:52 +00:00
rpc Restrict Proposer Lookup to the Current Epoch (#7542) 2020-10-26 13:40:38 -07:00
state Prevent Panics in Field Trie Helpers (#7613) 2020-10-23 21:41:45 +00:00
sync Code health: review map usage (#7635) 2020-10-26 21:17:07 +00:00
BUILD.bazel Cache ETH1 headers on startup for eth1data voting (#7541) 2020-10-20 05:10:27 +00:00
main.go Allow Specifying Output Directory When Creating DB Backups (#7630) 2020-10-26 18:20:54 +00:00
README.md Fix old markdown links (#4603) 2020-01-21 03:30:35 +00:00
usage_test.go Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
usage.go Allow Specifying Output Directory When Creating DB Backups (#7630) 2020-10-26 18:20:54 +00:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum Serenity in Golang by Prysmatic Labs. Before you begin, check out our Contribution Guidelines and join our active chat room on Discord or Gitter below:

Discord Gitter

Also, read the latest beacon chain design spec, this design spec serves as a source of truth for the beacon chain implementation we follow at prysmatic labs. Check out the FAQs. Refer this page on why we are combining sharding and casper together.