Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/piotrnar/gocoin
Full bitcoin solution written in Go (golang)
https://github.com/piotrnar/gocoin
bitcoin gocoin golang node wallet
Last synced: 10 days ago
JSON representation
Full bitcoin solution written in Go (golang)
- Host: GitHub
- URL: https://github.com/piotrnar/gocoin
- Owner: piotrnar
- License: other
- Created: 2013-03-27T19:51:58.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-10-23T16:00:53.000Z (16 days ago)
- Last Synced: 2024-10-23T19:39:06.608Z (16 days ago)
- Topics: bitcoin, gocoin, golang, node, wallet
- Language: Go
- Homepage:
- Size: 16.1 MB
- Stars: 976
- Watchers: 66
- Forks: 226
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.txt
- License: LICENSE
Awesome Lists containing this project
- favorite-link - 用 Go (golang) 编写的完整比特币解决方案。
README
# About Gocoin
**Gocoin** is a full **Bitcoin** solution written in Go language (golang).
The software architecture is focused on maximum performance of the node
and cold storage security of the wallet.The **wallet** is designed to be used offline.
It is deterministic and password seeded.
As long as you remember the password, you do not need any backups ever.
Wallet can be used without the client, but with the provided **balio** tool instead.The **client** (p2p node) is an application independent from the **wallet**.
It keeps the entire UTXO set in RAM, providing an instant access to all its records
and - in consequece - an extraordinary blochchain processing performance.System memory and time Gocoin client 1.10.1 needs to sync the blockchain up to
the given block number, with comparision to Bitcoin Core 23.0:![SyncChart](website/quick_sync_gocoin_vs_core.png)
*The above data was collected using [Hetzner](https://hetzner.com) dedicated server
with 3.6GHz Intel i7-7700 CPU, 2x512MB SSD and 1Gbit internet connection,
running Debian 11 (bullseye).
Clients using their default configuration, except for the second (blue) Bitcoin Core
that is set to use **dbcache=16384**.
For other performance charts see [gocoin.pl](https://gocoin.pl/gocoin_performance.html) website.*# Requirements
## Hardware
**client**:
* 64-bit architecture OS and Go compiler.
* File system supporting files larger than 4GB.
* At least 40GB of system RAM (more recommended).**wallet**:
* Any platform that you can make your Go (cross)compiler to build for (Raspberry Pi works).
* For security reasons make sure to use encrypted swap file (if there is a swap file).
* If you decide to store your password in a file, have the disk encrypted (in case it gets stolen).## Operating System
Having hardware requirements met, any target OS supported by your Go compiler will do.
Currently that can be at least one of the following:* Windows
* Linux
* macOS
* Free BSD## Build environment
In order to build Gocoin yourself, you will need the following tools installed in your system:* **Go** (recent version) - http://golang.org/doc/install
* **Git** (optional) - http://git-scm.com/downloadsIf the tools mentioned above are properly installed, you should be able to execute `go` and
(optionally) `git` from your OS's command prompt without a need to specify full path to the
executables.# Getting sources
Download the source code from github to a local folder of your choice by executing:
git clone https://github.com/piotrnar/gocoin.git
Alternatively - if you don't want to use git - download the code archive
from [github.com/piotrnar/gocoin](https://github.com/piotrnar/gocoin)
using any web browser. Then extract the archive to your local disk.# Building
## Client node
Go to the `client/` folder and execute `go build` there.## Wallet
Go to the `wallet/` folder and execute `go build` there.## Tools
Each sub-folder inside `tools/` folder is a separate tool.Go to a chosen sub-folder and execute `go build` there.
# Binaries
Windows or Linux (amd64) binaries can be downloaded from
* https://sourceforge.net/projects/gocoin/files/?source=directory
Please note that the binaries are usually not up to date.
I strongly encourage everyone to build the binaries himself.# Development
Although it is an open source project, I am sorry to inform you that **I will not merge in any pull requests**.
The reason is that I want to stay an explicit author of this software, to keep a full control over its
licensing. If you are missing some functionality, just describe me your needs and I will see what I can do
for you. But if you want your specific code in, please fork and develop your own repo.# Support
The official web page of the project is served at gocoin.pl
where you can find extended documentation, including **User Manual**.Please do not log github issues when you only have questions concerning this software.
Instead see [Contact](http://gocoin.pl/gocoin_links.html) page at [gocoin.pl](http://gocoin.pl) website
for possible ways of contacting me.If you want to support this project, I ask you to run your own Gocoin node, prefably with TCP port 8333
open for the outside world. Do not hestiate to report any issues you find.