altcoin-go

module
v0.0.0-...-2334cb8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2016 License: Unlicense

README

altcoin

Forked from github.com/toqueteos/altcoin

(re-uploaded 'cos github did't allow forking an existing fork under another name)

[GoDoc] (http://godoc.org/github.com/toqueteos/altcoin)codebeat

The simplest crypto-currency ported from Python to Go for readability and type-safety, also for the fun and learn new things.

DISCLAIMER: Identifier names (variables and funcs) don't strictly follow Go styleguide, for example, you may find var foo_bar instead of var fooBar. This would be fixed gradually.

Installation

Tested on: go version go1.3 windows/amd64, it may work on older versions.

It should work on all other Go supported OSes.

You can easily install a full node by:

go get github.com/toqueteos/altcoin/cmd/altcoind

Organization

Everything lives in its own independent sub-package.

Exceptions to this rule are packages:

  • config.
  • types.
  • tools.
  • templates, not an actual Go package; holds the HTML files requires for webgui.

Comparisons to basiccoin

I've only worried about understanding how this thing worked and making it readable, basiccoin's Python codebase was heavily compressed so its very hard to read (even though its Python).

It may contain critical bugs due to some missunderstanding while porting it.

Feel free to criticise, send issues or pull requests at any time.

I'll try to read all those as soon as possible.

Creating a derived coin

altcoin allows to easily create derived custom coins easily, just as basiccoin's.

Files you may want to check out:

Directories

Path Synopsis
cmd
Sometimes peers ask us for information or push new transactions or blocks to us.
Sometimes peers ask us for information or push new transactions or blocks to us.

Jump to

Keyboard shortcuts

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