Skip to content

ripple-unmaintained/ripple-chart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rchart.js - ripple-chart

Usage

Run as a web server:

rchart.js perform

Initialize dbs:

 rchart.js reset

Theory

This constructs a database suitable for servering to bitcoincharts.com as per:

http://bitcoincharts.com/about/exchanges/

Each time the database is created, the results may vary. Therefore, if the database is lost, the new database will be inconsistent with the previous database. All previous subscribers should subscribe from scratch to have a consistent database.

To create, the cleanest database, the program will not being importation until the rippled server has acquired the effective genesis ledger.

Serves pages at:

For Bitcoincharts, they would query only the https://ripple.com/chart/BTC/ portion of the pages.

Installation

  • npm install async mysql@2.0.0-alpha7 ripple-lib
  • cp -p config-example.js config.js
  • Edit config.js as needed.
  • Set up MySQL.

MySql Configuration

DROP DATABASE IF EXISTS rbc;

CREATE DATABASE rbc;

GRANT ALL PRIVILEGES ON rbc.* to 'rbc'@'localhost' IDENTIFIED BY 'password';

Operation

The program can be interrupted at anytime.

Add curriences and markets at anytime. Then, restart.

This warning is expected:

(node) warning: possible EventEmitter memory leak detected.

Live Server

Currently Opencoin Inc runs this server at:

Pages for bitcoincharts.com:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •