prysm-pulse/beacon-chain
Ivan Martinez d1dbe05147 Copy State in CalculateNewActiveState and NewStateRecalculations (#677)
* Copy state in CalculateNewState and Recalculations

* Modifies method for copying state

* Adds CopyState() function to ActiveState and CrystalliziedState

* Fully deep copies the fields required

* Writes test for ActiveState's CopyState

* Add test for CopyCrystallizedState

* Update tests to requirements

* Fix wrong logs

* Change variables to newState

* Change newC to newState

* Gofmt the active_state_test.go
2018-10-19 14:59:48 +08:00
..
attestation Replace LevelDB with Bolt (#666) 2018-10-17 01:11:24 -05:00
blockchain Implement GHOST Beacon Chain Fork Choice Rule (#643) 2018-10-17 23:23:18 -05:00
casper Fixed RANDAO Regression (#672) 2018-10-17 20:41:47 -05:00
db Implement GHOST Beacon Chain Fork Choice Rule (#643) 2018-10-17 23:23:18 -05:00
internal Validator Client Use Assignment Stream to Determine Responsibility (#566) 2018-09-27 14:46:07 -07:00
node Replace LevelDB with Bolt (#666) 2018-10-17 01:11:24 -05:00
params Fixed RANDAO Regression (#672) 2018-10-17 20:41:47 -05:00
powchain Remove Unnecessary Interfaces, Clean Up Some Naming (#678) 2018-10-18 12:33:38 -05:00
rpc Replace LevelDB with Bolt (#666) 2018-10-17 01:11:24 -05:00
simulator Remove Unnecessary Interfaces, Clean Up Some Naming (#678) 2018-10-18 12:33:38 -05:00
sync Discard Block With Slot Lower Than LastFinalizedSlot (#679) 2018-10-18 14:21:46 -05:00
testutil Replace LevelDB with Bolt (#666) 2018-10-17 01:11:24 -05:00
types Copy State in CalculateNewActiveState and NewStateRecalculations (#677) 2018-10-19 14:59:48 +08:00
utils Refactor Crystallized State (#641) 2018-10-15 06:17:07 -07:00
BUILD.bazel Updated Docker Rules (#424) 2018-08-21 19:59:36 -07:00
main.go Update Beacon/Validator Flags to Disable Reward/Cross-Link Checking by Default (#597) 2018-10-02 10:04:37 +08:00
README.md Fixed Broken Markdown links (#483) 2018-09-08 06:50:21 -07:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum 2.0 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 sharding + casper 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.