OIP Daemon

From OIP Wiki
Revision as of 20:13, 9 February 2018 by Devon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

OIP Daemon

To use Open Index Protocol in a decentralized/trustless way, users must run three daemons:

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

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

You'll probably also want to include the following network nodes:


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.

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=

Note: if you don't do this, the default will be, which is Bitcoin's default RPC communication URI.

export F_USER=flo rpc username
export F_TOKEN=flo rpc password

You should see something like this:

   ___                     ___           _           
  / _ \ _ __   ___ _ __   |_ _|_ __   __| | _____  __
 | | | | '_ \ / _ \ '_ \   | || '_ \ / _` |/ _ \ \/ /
 | |_| | |_) |  __/ | | |  | || | | | (_| |  __/>  < 
  \___/| .__/ \___|_| |_| |___|_| |_|\__,_|\___/_/\_\
                                        OIP Spec: v0.4.1

opening config/config.json... done!
opening database ./db/sync89.db?cache=shared&mode=wrc... done!
creating tables and triggers if they don't exist... 
Running table query:  create oip_artifact table

Running table query:  !addcol! ArtCost
Column already added?
duplicate column name: artCost
Running table query:  !addcol! o.pubFeeUSD
Column already added?
duplicate column name: pubFeeUSD
Running table query:  !addcol! m.pubFeeUSD

Running table query:  !addcol! mrrLast24hr
Column already added?
duplicate column name: mrrLast24hr
Running table query:  !addcol! ltcUSD
Column already added?
duplicate column name: ltcUSD
Running table query:  !addcol! publisher.extraInfo
Column already added?
duplicate column name: extraInfo
Running table query:  !addcol! nsfw
Column already added?
duplicate column name: nsfw done!

daemon init successful!

Listening on port 41289

LOADED PROTOCOL: alexandria-media 0.4.1

current block chain height (rpc): 2504120
current max(block) from database: 1202999

syncing 1301121 blocks between 1203000 and 2504120
first, checking past 256 blocks for reorg... 
> no reorg found!

sync at 0.00%
sync at 0.08%
2.078433533s last 1k blocks -- 2.078434157s total time
sync at 0.15%
1.953132595s last 1k blocks -- 4.031576173s total time
sync at 0.23%
1.941965402s last 1k blocks -- 5.973547691s total time
sync at 0.31%
1.917651268s last 1k blocks -- 7.891204902s total time
sync at 0.38%

You can test that OIP Daemon is running correctly by checking your Index Summary Info local endpoint: