Git Product home page Git Product logo

coinffeine's Introduction

Coinffeine

Coinffeine P2P FIAT-Bitcoin exchange implementation.

Getting Started

To build Coinffeine you will need:

  • Java Development Kit (JDK) 8u45 or higher (JDK 7 or higher is enough if you are not interested in coinffeine-gui module)
  • A working SBT 0.13
  • Protobuf compiler 2.5.0 or higher. You can get it with your favourite package manager(protobuf in brew, protobuf-compiler in apt-get and macports) or directly from its project page.

To compile all the modules and run their tests:

sbt compile test

To run the peer from the sources:

sbt gui/run

The application can be natively packaged by the following command. Note that you should have installed the corresponding native tools such as RPM on Red Had or the fakeroot package in Ubuntu/Debian.

sbt gui/packageJavafx

Running several instances on one machine

The application locks the data directory (coinffeine at your default app config folder, ~/.coinffeine for Linux) to prevent corrupting the transaction information so you cannot run two instances unless you use two different data folders. To do so use --data-path <path> as command line arguments.

Getting coverage metrics

To get coverage metrics just run sbt clean coverage test coverageAggregate and look at target/scala-2.x/scoverage-report/scoverage-report/index.html.

Generating release binaries

To generate all module binaries that can be generated on the host platform (you wont generate Win-64 binaries from Mac) just run:

sbt release

And you will find the binaries at target/release/<version>.

Continuous Integration

When building on a CI environment (e.g., Jenkins), it is recommended to define the property -Dconfig.resource=application-ci.conf. This will make Akka to use an alternative config file that introduces a dilation in the timeouts used by the test probes. This is especially useful to avoid false errors in heavily loaded Jenkins servers.

coinffeine's People

Contributors

apoloval avatar gotoalberto-zz avatar edrevo avatar sortega avatar gotoalberto avatar

Watchers

James Cloos avatar Yusaku Senga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.