gonano

package module
v0.0.0-...-745f595 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2018 License: MIT Imports: 0 Imported by: 0

README

gobanano

gobanano is a low effort banano fork of the excellent gonano; a nano currency node implementation, written in Go by @alexbakker.

The upstream project is WIP. Please see the upstream project for latest status and progression.

Thanks is also due for the wonderful protocol documentation.

Hopefully Alex has the cycles to continue this project, it seems promising.

Building / Running

Install go (>1.8) and configure a $GOPATH e.g. ~/go/. Please note the go get is case-sensitive.

$ go get github.com/BananoCoin/gobanano

$ cd go/src/github.com/BananoCoin/gobanano/

$ make
mkdir -p build/bin
go build -o build/bin/banano-node github.com/BananoCoin/gobanano/cmd/nano-node
go build -o build/bin/banano-vanity github.com/BananoCoin/gobanano/cmd/nano-vanity
go build -o build/bin/banano-wallet github.com/BananoCoin/gobanano/cmd/nano-wallet

$ build/bin/banano-node
2018/08/01 21:49:34.455560 opening badger database at /home/am/.config/gonano/node
2018/08/01 21:49:34.462027 initializing ledger
2018/08/01 21:49:34.463065 initializing node
2018/08/01 21:49:34.464098 starting node (network: live)
send (167.99.194.145:7071): keep_alive (152 bytes)
add peer: 167.99.194.145:7071
requesting frontiers from 167.99.194.145:7071
recv packet (167.99.194.145:7071): keep_alive (152 bytes)
send (167.99.194.145:7071): keep_alive (152 bytes)
send (37.17.230.147:7071): keep_alive (152 bytes)
add peer: 37.17.230.147:7071
send (164.132.197.158:7071): keep_alive (152 bytes)
add peer: 164.132.197.158:7071
send (138.68.11.251:7071): keep_alive (152 bytes)
[...]

The badger db is located in ~/.config/gonano/db/.

Documentation

Overview

Package gonano provides an implementation of the Nano cryptocurrency. It encapsulates all packages of the gonano project. See the 'nano' package for the actual Nano implementation.

Directories

Path Synopsis
cmd
Package nano provides a number of useful types for Nano like Address and Balance.
Package nano provides a number of useful types for Nano like Address and Balance.
block
Package block provides implementations for Nano's block types.
Package block provides implementations for Nano's block types.
crypto
Package crypto provides some helpful crypto functions (used internally).
Package crypto provides some helpful crypto functions (used internally).
crypto/ed25519
Package ed25519 implements the Ed25519 signature algorithm.
Package ed25519 implements the Ed25519 signature algorithm.
crypto/random
Package random provides some functions to securely generate random bytes and numbers.
Package random provides some functions to securely generate random bytes and numbers.
node
Package node provides a node implementation that can participate in the Nano network.
Package node provides a node implementation that can participate in the Nano network.
node/proto
Package proto provides an implementation of the Nano network protocol.
Package proto provides an implementation of the Nano network protocol.
store
Package store provides a storage implementation for the Nano block lattice.
Package store provides a storage implementation for the Nano block lattice.
store/genesis
Package genesis provides the genesis constants for the live Nano network.
Package genesis provides the genesis constants for the live Nano network.
wallet
Package wallet provides some helpful wallet functionality like seed generation and key derivation.
Package wallet provides some helpful wallet functionality like seed generation and key derivation.

Jump to

Keyboard shortcuts

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