This repository has been archived by the owner on Jul 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from CounterpartyXCP/develop
1.1.0
- Loading branch information
Showing
40 changed files
with
370 additions
and
1,805 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,17 @@ | ||
counterblockd | ||
============== | ||
|
||
Provides extended API functionality over counterpartyd (such as market information, asset history, etc). | ||
Works alongside `counterpartyd`. | ||
Provides extended API functionality over `counterparty-server` (such as market information, asset history, etc). | ||
Works alongside `counterparty`. | ||
|
||
Automatic Installation | ||
------------------------ | ||
|
||
Please see the [Setting up a Federated Node](http://counterparty.io/docs/build-system/federated-node/) guide | ||
Please see the [Setting up a Federated Node](http://counterparty.io/docs/federated-node/) guide | ||
(under the *"Node Setup"* section) for a script that will set counterblockd up for you, automatically. When prompted | ||
for the node type, choose "counterblockd basic". | ||
for the node type, choose "counterblock basic". | ||
|
||
Manual Installation on Ubuntu | ||
Manual Installation (Linux Only) | ||
--------------------------------- | ||
|
||
Many of the requirements for `counterblockd` are similar to those for `counterpartyd`, so if you used the | ||
[counterpartyd installer](https://github.com/CounterpartyXCP/counterpartyd_build) to install, you already | ||
have many requirements installed. | ||
|
||
The first extra thing would be to install MongoDB: | ||
|
||
```bash | ||
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 | ||
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/10gen.list | ||
sudo apt-get update | ||
sudo apt-get install mongodb-10gen | ||
``` | ||
|
||
The last couple can be added by running (from the `counterblockd` directory): | ||
|
||
```bash | ||
sudo apt-get install python-pip cython libxml2-dev libxslt1-dev python-dev | ||
sudo pip install -r pip-requirements.txt | ||
``` | ||
`sudo pip install counterblock` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import os, sys | ||
|
||
def server_main(): | ||
from counterblock import server | ||
server.main() | ||
|
||
def armory_utxsvr_main(): | ||
from counterblock import armory_utxsvr | ||
armory_utxsvr.main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.