prysm-pulse/beacon-chain
Raul Jordan 1c8ac6658e
Implement Block DB Methods (#3221)
* include new getter for block

* create block filters from indices

* give every block index a unique bucket

* construct block indices by bucket mmap

* almost done save for the block filters

* include block filters, need a few more small touches for fetching the proper indices by bucket

* full functionality to filter by parent root

* tests pass when using the same logic as attestations

* todo

* proper todo formatting

* first minimum slot range filter

* slot range filters pass

* more filter criteria passing

* tests passing

* add todos

* all block tests pass and work

* rem fmt

* range retrieval test

* fixed test conditions

* instantiate the other buckets

* simplify bucket lookups

* deprecate non map code

* revamp to remove old index prefixes

* create indices from data

* create indices from data

* fetch block roots by slot range

* better abstractions

* simpler abstractions

* roots rename

* comment

* preston feedback

* allow blocks without parent root
2019-08-19 19:34:53 -05:00
..
attestation Deprecate the old, and add new DB setup util for tests (#3208) 2019-08-14 11:48:28 -07:00
blockchain Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
cache Clean Up In Memory Deposits in DB (#3065) 2019-08-13 19:13:47 -04:00
core Regular sync: pubsub subscriber for voluntary exits (#3227) 2019-08-18 11:33:58 -04:00
db Implement Block DB Methods (#3221) 2019-08-19 19:34:53 -05:00
deprecated-sync Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
flags Standardize Flags at Top Level and Remove Deprecated Utils (#3046) 2019-07-23 08:58:20 -05:00
gateway Add rule to push docker images (#3006) 2019-07-20 20:40:03 -04:00
internal Create a testing db method that can be used with the new database interface (#3217) 2019-08-15 17:41:51 -04:00
node Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
operations Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
p2p Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
powchain Clean Up In Memory Deposits in DB (#3065) 2019-08-13 19:13:47 -04:00
rpc Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
sync Add flag for testing new p2p (#3243) 2019-08-19 17:20:56 -04:00
BUILD.bazel fix docker image builds (#3068) 2019-07-24 15:19:44 -04:00
main.go Standardize Flags at Top Level and Remove Deprecated Utils (#3046) 2019-07-23 08:58:20 -05:00
README.md update beacon chain spec link (#1897) 2019-03-05 18:54:58 -05:00
usage_test.go Add a gRPC gateway (#2604) 2019-06-02 08:33:44 -07:00
usage.go Standardize Flags at Top Level and Remove Deprecated Utils (#3046) 2019-07-23 08:58:20 -05: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.