OIP Daemon
Contents
OIP Daemon
To use Open Index Protocol in a decentralized/trustless way, users must run three daemons:
- florincoind
- IPFS daemon
- OIP Daemon
- Users may wish to also run the Bitcoin wallet daemon, bitcoind
RPC Access to Florincoind
- The first step is to set up your florincoin.conf file. If it doesn't exist, create it.
- For Windows users, it should go here:
%App Data%/Romaing/Florincoin/florincoin.conf
- For Mac users, it should go here:
~/Library/Application Support/Florincoin/florincoin.conf
- For *nix users, it should go here:
~/.florincoin/florincoin.conf
- For Windows users, it should go here:
Make sure you've allowed RPC access from localhost, and that you're running in server mode with txindex enabled:
rpcuser=flo rpc username rpcpassword=flo rpc password rpcallowip=127.0.0.1 rpcallowip=192.168.0.0/16 rpcport=18322 server=1 daemon=1 txindex=1
You'll probably also want to include the following network nodes:
addnode=176.9.59.110 addnode=188.166.6.99 addnode=54.209.141.153 addnode=192.241.171.45 addnode=146.185.148.114 addnode=54.164.167.95 addnode=198.27.69.59 addnode=37.187.27.4 addnode=192.34.62.214
Install OIP Daemon
OIP Daemon is currently in a private repo, awaiting a full security audit before opening it up publicly. You can download precompiled binaries for Mac, Windows and Linux below, and if you would like to compile it yourself, just get in touch with the Alexandria team via https://chat.alexandria.io/ and make a request.
Also, note that the application was originally named LibraryD before Open Index Protocol was named, and we have yet to change it's name to OIP Daemon.
- Mac: libraryd.zip
- Win:
- Lin:
Start Florincoin Client
You can use the Florincoin-QT or florincoind clients, but the daemon is suggested as it consumes much fewer resources.
Let the blockchain fully sync, and then start up OIP Daemon.
*Note: you can download a bootstrap of the FLO blockchain here:
Start OIP Daemon
In Terminal, enter the following commands:
export F_URI=127.0.0.1:7313
Note: if you don't do this, the default will be 127.0.0.1:18322, which is Bitcoin's default RPC communication URI.
export F_USER=flo rpc username export F_TOKEN=flo rpc password
./libraryd
You should see something like this:
_ ___ _ / \ ._ _ ._ | ._ _| _ |_) ._ _ _|_ _ _ _ | \_/ |_) (/_ | | _|_ | | (_| (/_ >< | | (_) |_ (_) (_ (_) | | OIP Spec: v0.4.1 config: {true [127.0.0.1 <my.ip.address.here>]} opening database ./db/sync89.db?cache=shared&mode=wrc... done! creating tables and triggers if they don't exist... done! 2017/12/21 11:06:45 Listening on port 41289 LOADED PROTOCOL: alexandria-media current block chain height (rpc): 1195839 current max(block) from database: 1190910 syncing 4929 blocks between 1190911 and 1195839 first, checking past 256 blocks for reorg... > no reorg found! sync at 0.00% sync at 1.81% sync at 3.83% sync at 5.86% sync at 7.89% sync at 9.92%