Merge pull request #1967 from OpenBazaar/qatest
Revert multiwallet client continue on error
|1 month ago|
|.travis||2 years ago|
|Godeps||1 month ago|
|api||3 months ago|
|cmd||3 months ago|
|core||1 month ago|
|docs||1 month ago|
|ipfs||4 months ago|
|mobile||3 months ago|
|net||1 month ago|
|pb||1 month ago|
|qa||2 months ago|
|repo||2 months ago|
|schema||6 months ago|
|storage||11 months ago|
|test||9 months ago|
|util||7 months ago|
|vendor||1 month ago|
|wallet||2 months ago|
|.dockerignore||1 year ago|
|.gitignore||1 year ago|
|.golangci.yml||11 months ago|
|.travis.yml||11 months ago|
|CONTRIBUTING.md||11 months ago|
|Dockerfile||9 months ago|
|Dockerfile.dev||2 months ago|
|Dockerfile.qa||2 months ago|
|LICENSE||1 year ago|
|Makefile||2 months ago|
|README.md||10 months ago|
|build.sh||11 months ago|
|deploy.sh||1 year ago|
|docker-compose.yml||1 year ago|
|openbazaard.go||7 months ago|
|package.json||1 month ago|
|test_compile.sh||1 year ago|
This repository contains the OpenBazaar server daemon which handles the heavy lifting for the OpenBazaar desktop application. The server combines several technologies: A modified IPFS node, which itself combines ideas from Git, BitTorrent, and Kademlia. A lightweight wallet for interacting with several cryptocurrency networks. And a JSON API which can be used by a user interface to control the node and browse the network. Find the user interface for the server at github.com/OpenBazaar/openbazaar-desktop.
A typical install of OpenBazaar contains a bundle of the server daemon and user interface. If this is what you are looking for, you can find an installer at https://openbazaar.org/download. If you are looking to run the server daemon by itself or to contribute to development, see below for instructions.
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 here.
To build from source you will need to have Go installed and properly configured. Detailed instructions for installing Go and openbazaar-go on each operating system can be found in the docs package.
We use Godeps with vendored third-party packages.
We are using a fork of go-ipfs in the daemon. The primary changes include different protocol strings to segregate the OpenBazaar network from the main IPFS network and an increased TTL on certain types of DHT data. You can find the full diff in the readme of the forked repo. The fork is bundled in the vendor package and will be used automatically when you compile and run the server. Note that you will still see github.com/ipfs/go-ipfs import statements instead of github.com/OpenBazaar/go-ipfs despite the package being a fork. This is done to avoid a major refactor of import statements and make rebasing IPFS much easier.
You can either pull in remote changes as normal or run
go get -u github.com/OpenBazaar/openbazaar-go.
You can run the server with
go run openbazaard.go start. Ensure you are using at least version
1.10 of Golang, otherwise you might get errors while running.
Usage: openbazaard [OPTIONS] start [start-OPTIONS] The start command starts the OpenBazaar-Server Application Options: -v, --version Print the version number and exit Help Options: -h, --help Show this help message [start command options] -p, --password= the encryption password if the database is encrypted -t, --testnet use the test network -r, --regtest run in regression test mode -l, --loglevel= set the logging level [debug, info, notice, warning, error, critical] (default: debug) -f, --nologfiles save logs on disk -a, --allowip= only allow API connections from these IPs -s, --stun use stun on µTP IPv4 -d, --datadir= specify the data directory to be used -c, --authcookie= turn on API authentication and use this specific cookie -u, --useragent= add a custom user-agent field -v, --verbose print openbazaar logs to stdout --torpassword= Set the tor control password. This will override the tor password in the config. --tor Automatically configure the daemon to run as a Tor hidden service and use Tor exclusively. Requires Tor to be running. --dualstack Automatically configure the daemon to run as a Tor hidden service IN ADDITION to using the clear internet. Requires Tor to be running. WARNING: this mode is not private --disablewallet disable the wallet functionality of the node --disableexchangerates disable the exchange rate service to prevent api queries --storage= set the outgoing message storage option [self-hosted, dropbox] (default=self-hosted) --bitcoincash use a Bitcoin Cash wallet in a dedicated data directory --zcash= use a ZCash wallet in a dedicated data directory. To use this you must pass in the location of the zcashd binary.
Documentation of the OpenBazaar protocol has not been formalized yet. If you would like to help, please reach out on Slack or via a new issue on GitHub.
openbazaar-go exposes an HTTP API which permits high-level interactions on the network and the internal wallet. Find the HTTP API documentation at https://api.docs.openbazaar.org.
Contributions are definitely welcome! Please read the Contributing Guidelines before starting.