Jacek Sieka 949b24702c
hash_ssz: updates (#13)
* rename from tree_ssz
* add special cases for some types based on beacon chain code
* add smoke test
* avoids some trivial allocations, but the big one remains - the
temporary
chunk buffer is still heap allocated
* update to handle zero-length buffer case same as latest spec
2018-11-16 11:04:21 -06:00
2018-11-16 11:04:21 -06:00
2018-11-08 11:55:24 +01:00
2018-11-16 11:04:21 -06:00
2018-09-06 11:56:42 -06:00
2018-07-20 15:46:03 +02:00
2018-09-04 20:34:09 -06:00
2018-07-20 15:46:03 +02:00
2018-07-20 15:46:03 +02:00
2018-09-05 12:46:09 -06:00

Ethereum Beacon Chain

Build Status (Travis) Windows build status (Appveyor) License: Apache License: MIT Stability: experimental

An alternative implementation of the Ethereum beacon chain in Nim.

Please see Full Casper chain v2.1 specs and the Ethereum Foundation reference implementation.

You can check where the beacon chain fits in the Ethereum research ecosystem in the Status Athenaeum.

Convention

Ethereum Foundation uses:

  • snake_case for fields and procedure names
  • MACRO_CASE for constants
  • PascalCase for types

Nim NEP-1 recommends:

  • camelCase for fields and procedure names
  • PascalCase for constants
  • PsacalCase for types

To facilitate collaboration and comparison, Nim-beacon-chain uses the Ethereum Foundation convention.

Installation

You can install the developement version of the library through nimble with the following command

nimble install https://github.com/status-im/nim-beacon-chain@#master

License

Licensed and distributed under either of

at your option. This file may not be copied, modified, or distributed except according to those terms.

Description
Nim implementation of the Ethereum Beacon Chain
https://nimbus.guide
Readme
Languages
Nim 94.9%
Shell 1.9%
C 1.7%
Makefile 0.6%
Rich Text Format 0.2%
Other 0.5%