Skip to content

gotcha/counterpartyd

 
 

Repository files navigation

Build Status Coverage Status

Description

counterpartyd is the reference implementation of the Counterparty Protocol.

Dependencies

rpcuser=bitcoinrpc
rpcpassword=$PASSWORD
txindex=1
server=1
addrindex=1

Versioning

  • Major version changes require a full (automatic) rebuild of the database.
  • Minor version changes require a(n automatic) database reparse.
  • All protocol changes are retroactive on testnet.

Usage

To get started, run $ counterpartyd.py --rpc-password=$PASSWORD server.

For a summary of the available command‐line arguments and options, see $ counterpartyd.py --help and $ counterparty-cli.py --help.

The test suite is invoked with $ py.test in the root directory of the repository.

Input and Output

  • Quantities of divisible assets are written to eight decimal places.
  • Quantities of indivisible assets are written as integers.
  • All other quantities, i.e. prices, odds, leverages, feed values and target values, fee multipliers, are represented internally as fractions, but printed to four decimal places. Call prices are stored as integers with six decimal places of precision.

Further Reading

About

Counterparty reference client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.1%
  • Other 1.9%