neoneo-go/pkg
decentralisedkev 493d8f3d95
[chain] Refactor, add chaincfg and database initialisation (#243)
* [chain]

- Add basic chain cfg parameters

- Added logic to insert genesis block, if it is a fresh database

- changed SaveBlock to ProcessBlock
- changed SaveHeaders to ProcessHeaders

- Changed parameter from a wire message to the payload, for header and
block processing

- Added check in chain for when the block is in the future, i.e. not at
the tip of the chain

- Added custom error returns, to distinguish between a database error
and a validation error
2019-03-28 20:23:50 +00:00
..
chain [chain] Refactor, add chaincfg and database initialisation (#243) 2019-03-28 20:23:50 +00:00
chaincfg [chain] Refactor, add chaincfg and database initialisation (#243) 2019-03-28 20:23:50 +00:00
connmgr [connmgr] Refactor Connmgr (#205) 2019-03-21 23:18:02 +00:00
crypto remove extra base58 2019-03-17 23:02:34 +00:00
database Add Chain saving functionality to Database (#206) 2019-03-23 16:57:05 +00:00
peer [Peer] Add peer manager (#241) 2019-03-28 19:46:31 +00:00
peermgr [Peer] Add peer manager (#241) 2019-03-28 19:46:31 +00:00
pubsub Fix lint errors (#182) 2019-03-17 18:26:35 +00:00
vm VM: Add basic vm (#166) 2019-03-18 21:40:21 +00:00
wire Finalized size calculation methodology (#215) 2019-03-25 01:04:54 +00:00
Readme.md Initial commit 2019-02-25 22:44:14 +00:00

ReadMe

Currently this package is in Development.

References

btcd https://github.com/btcsuite/btcd

geth https://github.com/ethereum/go-ethereum

aeternity https://github.com/aeternity/elixir-node