Prova blockchain for digital assets
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Add templates for Issues and Pull Requests Dec 1, 2017
addrmgr Patch commit c5751b75a9dadf4e5bc780fa812eb4ee9d161936 from btcd Apr 7, 2017
blockchain blockchain: Correct invalid assertion. Sep 14, 2017
btcec btcec: Add keyIdMap unit tests Sep 5, 2017
btcjson btcjson/docs/main: Update install hints to include setting validate keys Sep 7, 2017
chaincfg chaincfg: Update testnet keys to include TRM keys Aug 10, 2017
cmd Add support for RPCHash config/cmdline param which allows not specify… Jun 15, 2017
connmgr connmgr: Avoid logging connReqs that may be nil Apr 20, 2017
database main: Remove use of netname shim Apr 20, 2017
docs btcjson/docs/main: Update install hints to include setting validate keys Sep 7, 2017
integration Patch commit c0def9d6130c9abe1be333508af139d8175d8d52 from btcd Apr 7, 2017
limits Copyright search and add BitGo Mar 29, 2017
mempool fix small comment mistakes Sep 14, 2017
mining mining: Log warning when mining halts due to network connectivity fai… Sep 7, 2017
peer peer: Increase trickle timeout to prevent peer networking getting stuck Jul 11, 2017
provautil provautil: Add test coverage to address encoding Aug 17, 2017
release naming: switch from using Btcd default directories to Prova directories Apr 3, 2017
rpctest Patch commit 554460feda87a4dac87af8dd23761e220dde0b03 from btcd Apr 7, 2017
txscript txscript: hashcache unit tests Sep 14, 2017
wire Patch commit c5751b75a9dadf4e5bc780fa812eb4ee9d161936 from btcd Apr 7, 2017
.arcconfig blockchain / txscript: validate that transactions are either Aztec or… Feb 6, 2017
.gitignore testing infrastructure in order to test chain state and consensus val… Jan 19, 2017
.travis.yml Use GO versions 1.8 and 1.9 in Travis testing. Nov 25, 2017
CHANGES Move btcutil into rmgd project, rename to rmgutil Oct 31, 2016
LICENSE Patch commit fdc2bc867bda6b351191b5872d2da8270df00d13 from btcd Apr 7, 2017
README.md add travis build badge Sep 1, 2017
blocklogger.go Naming: rmgd -> prova Mar 6, 2017
blockmanager.go blockmanager: Increase tolerance to large numbers of orphans to avoid… Aug 11, 2017
btcd.go main: Remove unused migration code, clean up references to invalid paths Apr 14, 2017
config.go blockmanager: Increase tolerance to large numbers of orphans to avoid… Aug 11, 2017
config_test.go Add support for RPCHash config/cmdline param which allows not specify… Jun 15, 2017
doc.go docs: Update help documentation to reference revised default port May 31, 2017
glide.lock Patch commit 554460feda87a4dac87af8dd23761e220dde0b03 from btcd Apr 7, 2017
glide.yaml Patch commit ab0f30c00d17bb7766c06174d77661443df08973 from btcd Apr 7, 2017
goclean.sh Patch commit 28d42ba23c74de1b87507bbab77413e018d518ad from btcd Apr 7, 2017
log.go main: Remove unused migration code, clean up references to invalid paths Apr 14, 2017
mkdocs.yml Naming: rmgd -> prova Mar 6, 2017
params.go main: Remove use of netname shim Apr 20, 2017
rpcserver.go btcjson/docs/main: Update install hints to include setting validate keys Sep 7, 2017
rpcserverhelp.go Patch commit 47b5478cfc62ab7f2388678e13738d859e2d3835 from btcd Apr 7, 2017
rpcserverhelp_test.go Copyright search and add BitGo Mar 29, 2017
rpcwebsocket.go Patch commit 47b5478cfc62ab7f2388678e13738d859e2d3835 from btcd Apr 7, 2017
sample-prova.conf Add instructions to sample config file for how to generate rpchash Jul 14, 2017
server.go cmd/main: Rename configuration files to Prova Apr 25, 2017
service_windows.go [Trivial] Comments May 5, 2017
signal.go Copyright search and add BitGo Mar 29, 2017
signalsigterm.go Copyright search and add BitGo Mar 29, 2017
upnp.go [Trivial] Comments May 5, 2017
version.go Version -> 0.1.0-beta Apr 7, 2017

README.md

Prova

Build Status

Prova is a distributed consensus system for digital asset tokens written in Go (golang). Prova was built to support RMG, a digitized form of gold introduced by The Royal Mint and CME Group. Features include:

  • Asset Issuance

    Prova is a simple, single asset blockchain with asset issuance rather than mining.

  • Multi-signature only

    All accounts are multi-signature wallets.

  • No “black holes”

    The system enforces rules making it impossible to send to invalid or non-recoverable addresses

  • Permissioned Participants

    Prova can enforce only authorized validators and accounts.

  • Trusted Technology

    Prova is based on mature blockchain technologies.

    The implementation is derived from btcd.

It downloads, validates, and serves a block chain using consensus rules for block acceptance. It includes a full block validation testing framework.

It relays newly generated blocks, maintains a transaction memory pool, and relays individual transactions that have not yet made it into a block. It ensures all individual transactions admitted to the pool follow the rules required by the block chain.

Prova does NOT include wallet functionality. This means you can't actually make or receive payments directly with Prova. That functionality is provided by Prova wallet implementations.

Requirements

Go 1.6 or newer.

Installation

Linux/BSD/MacOSX/POSIX - Build from Source

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

  • Ensure Go was installed properly and is a supported version:

$ go version
$ go env GOROOT GOPATH

If GOROOT or GOPATH is not set properly, add the following to your ~/.bashrc or /.profile startup files (substitute with proper directories if you have a custom installation of Go):

$ export GOROOT=/usr/local/go
$ export GOPATH=$HOME/go
$ export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

The 'go' binary will be located under GOROOT, while your saved packages will be located under GOPATH.

NOTE: The GOROOT and GOPATH above must not be the same path. It is recommended that GOPATH is set to a directory in your home directory such as ~/go to avoid write permission issues. It is also recommended to add $GOPATH/bin to your PATH at this point.

  • Run the following commands to obtain prova, all dependencies, and install it:
$ go get -u github.com/Masterminds/glide
$ git clone https://github.com/bitgo/prova $GOPATH/src/github.com/bitgo/prova
$ cd $GOPATH/src/github.com/bitgo/prova
$ glide install
$ go install . ./cmd/...
  • Prova (and utilities) will now be installed in $GOPATH/bin. If you did not already add the bin directory to your system path during Go installation, we recommend you do so now.

Updating

Linux/BSD/MacOSX/POSIX - Build from Source

  • Run the following commands to update Prova, all dependencies, and install it:
$ cd $GOPATH/src/github.com/bitgo/prova
$ git pull && glide install
$ go install . ./cmd/...

Getting Started

Prova has several configuration options avilable to tweak how it runs, but all of the basic operations described in the intro section work with zero configuration.

Linux/BSD/POSIX/Source

$ ./prova

Issues

The integrated github issue tracker is used for this project.

When reporting security issues, responsible disclosure is encouraged. The Prova developers at BitGo should be directly contacted at security@bitgo.com

Documentation

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

License

Prova is licensed under the copyfree ISC License.