Java Implementation of the Ethereum 2.0 Beacon Chain
Clone or download
dangerousfood updateJustification: Validators justifying the epoch boundary block a…
…t the start of the current epoch (#167)

* - add helper functions
- validator helper fucntion
- add new exception class
- add update validator registry
- add process_rejections method

* implement get_attestation_participants

* add scaffold for updateJustification
Latest commit f48b69e Jan 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update PR Template (#185) Jan 11, 2019
artemis renamed P2PService to BeaconNodeService (#210) Jan 22, 2019
docs checking in a very basic overview of the planned architecture. resolves Dec 20, 2018
errorprone-checks Changing year from 2018 to 2019. (#204) Jan 16, 2019
ethereum updateJustification: Validators justifying the epoch boundary block a… Jan 22, 2019
gradle Add SSZ hash tree root for some operations (#208) Jan 21, 2019
networking Use Cava types to prepare for SSZ (#207) Jan 19, 2019
pow Event interfaces (#203) Jan 16, 2019
services renamed P2PService to BeaconNodeService (#210) Jan 22, 2019
util Add SSZ hash tree root for some operations (#208) Jan 21, 2019
.gitattributes Skeleton of Pantheon project necessary to build BeaconChain. (#8) Sep 25, 2018
.gitignore removed EventBusFactory, consolidated service classes, ServiceInterfa… Dec 23, 2018
CLA.md initial commit for artemis. resolves #88 Dec 20, 2018
CODE-OF-CONDUCT.md adding all the required docs to the repo in order to open source Arte… Dec 13, 2018
CONTRIBUTING.md Update CONTRIBUTING.md (#155) Jan 4, 2019
Dockerfile Add Unicode/UTF-8 support in Jenkinsfile. (#191) Jan 12, 2019
GOVERNANCE.md adding all the required docs to the repo in order to open source Arte… Dec 13, 2018
Jenkinsfile Revert build environment changes. Pending Further Investigation. (#193) Jan 13, 2019
LICENSE initial commit for artemis. resolves #88 Dec 20, 2018
README.md Update README.md (#135) Dec 24, 2018
build.gradle Add google-java-format Step to Spotless, Apply to Codebase (#181) Jan 11, 2019
gradle.properties Set up scaffolding for ChainStorageService (#195) Jan 14, 2019
gradlew Gradle 5.1 Upgrade (#159) Jan 5, 2019
gradlew.bat Gradle 5.1 Upgrade (#159) Jan 5, 2019
settings.gradle renamed P2PService to BeaconNodeService (#210) Jan 22, 2019

README.md

artemis

Build Status License Gitter chat

Implementation of the Ethereum 2.0 Beacon Chain.

Based on the (evolving) specification.

NOTE: This repo is still in early development.

Build Instructions

To build, clone this repo and run with gradle like so:

git clone --recursive https://github.com/PegaSysEng/artemis.git
cd artemis
./gradlew

After a successful build, distribution packages will be available in build/distributions.

Code Style

We use Google's Java coding conventions for the project. To reformat code, run:

./gradlew spotlessApply

Code style will be checked automatically during a build.

Testing

All the unit tests are run as part of the build, but can be explicitly triggered with:

./gradlew test

The integration tests can be triggered with:

./gradlew integrationTest

Run Options

To view the run menu:

$ ./gradlew run --args='-h'

Usage: Artemis [-hpV]
  -h, --help                       Show this help message and exit.
  -p, --PoWChainServiceDisabled    If this option is enabled then the PoW Chain service is disabled.
  -V, --version                    Print version information and exit.

You can run the executable from the CLI with this command:

./gradlew run

To run without a PoW Chain:

$ ./gradlew run --args='-p'