synapse

module
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2019 License: MIT

README

Phore Synapse

Build Status codecov Go Report Card

A proof-of-stake, sharded blockchain built from scratch.

This is loosely based on the Ethereum sharding system.

TODO List

  • implement BLS sigs
  • implement serialization of active/crystallized states into merkle roots
  • registration logic

Service Port List

  • 11781 - P2P network default port
  • 11782 - beacon chain RPC port
  • 11783 - P2P service RPC port

Testing

make test

Also, to test validator code, run the following commands in 3 separate terminals in order:

go run cmd/p2p/synapsep2p.go
go run cmd/beacon/synapsebeacon.go
go run cmd/validator/synapsevalidator.go -validators 0-4095

Building

make build

Installing pre-commit checks

pip install precommit
precommit install

Directories

Path Synopsis
app
db
rpc
cmd
cmd
cmd
Package shard TODO: move it to proper package and folder
Package shard TODO: move it to proper package and folder
test
cmd
app
rpc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL