Skip to content
A full node Bitcoin (BSV) implementation written in Go
Go
Branch: master
Clone or download

Latest commit

shilch Merge pull request #3 from deepthawtz/master
ignore ABC and BUCash peers
Latest commit 4c29707 Jun 9, 2019

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addrmgr
blockchain increase maxscriptsize from 520 to 100000 bytes Jan 23, 2019
bsvec Rebrand to SV Dec 16, 2018
btcjson
chaincfg Added checkpoint at #556767 Dec 21, 2018
cmd
connmgr Rebrand to SV Dec 16, 2018
database Rebrand to SV Dec 16, 2018
docs
integration Remove magnetic anomaly Dec 19, 2018
kube
limits
mempool Remove magnetic anomaly Dec 19, 2018
mining
netsync Rebrand to SV Dec 16, 2018
peer
rpcclient Rebrand to SV Dec 16, 2018
txscript remove extra info from text names Jan 23, 2019
version Bump minor version number Nov 17, 2018
wire Rebrand to SV Dec 16, 2018
.gitignore Rebrand to SV Dec 16, 2018
.travis.yml
CHANGES
Dockerfile Rebrand to SV Dec 16, 2018
Gopkg.lock Rebrand to SV Dec 16, 2018
Gopkg.toml
LICENSE txscript: Significantly improve errors. Jan 12, 2017
Makefile
README.md
bindata.go Rebrand to SV Dec 16, 2018
bsvd.go
config.go Update to defaultExcessiveBlockSize of 128MB Dec 19, 2018
config_test.go
doc.go
goclean.sh Update .travis.yml and goclean.sh Sep 22, 2018
log.go Rebrand to SV Dec 16, 2018
params.go
rpcadapters.go Rebrand to SV Dec 16, 2018
rpcserver.go Remove magnetic anomaly Dec 19, 2018
rpcserverhelp.go
rpcserverhelp_test.go Relicense to the btcsuite developers. May 1, 2015
rpcwebsocket.go
sample-bsvd.conf Rebrand to SV Dec 16, 2018
server.go
service_windows.go Rebrand to SV Dec 16, 2018
signal.go Rebrand to SV Dec 16, 2018
signalsigterm.go btcd: Simplify shutdown signal handling logic. (#733) Aug 11, 2016
upgrade.go
upnp.go

README.md

bsvd

Build Status Go Report Card ISC License GoDoc

bsvd is a full node Bitcoin (BSV) implementation written in Go (golang).

This project is a port of the bchd codebase to Bitcoin (BSV). It provides a high powered and reliable blockchain server which makes it a suitable backend to serve blockchain data to lite clients and block explorers or to power your local wallet.

bsvd does not include any wallet functionality by design as it makes the codebase more modular and easy to maintain. The bsvwallet is a separate application that provides a secure Bitcoin (BSV) wallet that communicates with your running bsvd instance via the API.

Table of Contents

Requirements

Go 1.9 or newer.

Install

Install Pre-built Packages

The easiest way to run the server is to download a pre-built binary. You can find binaries of our latest release for each operating system at the releases page.

Build from Source

If you prefer to install from source do the following:

  • Install Go according to the installation instructions here: http://golang.org/doc/install

  • Run the following commands to obtain btcd, all dependencies, and install it:

$ go get github.com/bitcoinsv/bsvd

This will download and compile bsvd and put it in your path.

If you are a bsvd contributor and would like to change the default config file (bsvd.conf), make any changes to sample-bsvd.conf and then run the following commands:

$ go-bindata sample-bsvd.conf  # requires github.com/go-bindata/go-bindata/
$ gofmt -s -w bindata.go

Getting Started

To start bsvd with default options just run:

$ ./bsvd

You'll find a large number of runtime options on the help menu. All of which can also be set in a config file. See the sample config file for an example of how to use it.

Docker

Building and running bsvd in docker is quite painless. To build the image:

docker build . -t bsvd

To run the image:

docker run bsvd

To run bsvctl and connect to your bsvd instance:

# Find the running bsvd container.
docker ps

# Exec bsvctl.
docker exec <container> bsvctl <command>

Documentation

The documentation is a work-in-progress. It is located in the docs folder.

Contributing

Contributions are definitely welcome! Please read the contributing guidelines before starting.

Security Disclosures

To report security issues please contact:

Chris Pacia (ctpacia@gmail.com) - GPG Fingerprint: 0150 2502 DD3A 928D CE52 8CB9 B895 6DBF EE7C 105C

or

Josh Ellithorpe (quest@mac.com) - GPG Fingerprint: B6DE 3514 E07E 30BB 5F40 8D74 E49B 7E00 0022 8DDD

License

bsvd is licensed under the copyfree ISC License.

You can’t perform that action at this time.