# Indexer configuration. # # The indexer needs an upstream hub, by default it tries to find one # on localhost, port 1235. # You can override this in the [services] group: [services] # hub=localhost:1235 # hub=flowee.org # hub=rest.flowee.org:1235 # The indexer is most useful if it binds itself and makes its services # available. You can bind to one or more interfaces by providing # an 'ip' value and also an optional 'port' value under a group of your # naming. # To bind to multiple interfaces, just create more sub-groups. [myHostName] # ip=192.168.1.5 # ip=localhost # port=1234 ##################################### # Various indexers have to be manually enabled in a subgroup of that indexer # with an explicit 'enabled=true' # More details listed in the individual subgroups. ##################################### #### Subgroup: Transaction-ID indexer # This indexer creates one directory with all the txids found. [txdb] enabled=true #### Subgroup: SpentDB indexer # This indexer creates one directory with the reverse of the UTXO. # It records not what is unspent, it records which tx spent which output. [spentdb] enabled=true #### Subgroup: address-database # This indexer creates a global lookup table of all addresses (public key-hash) # ever used on the chain. Even for payments to public keys (as was done in the # first years of Bitcoin) the hash is stored for fast retrieval. # # Next to this database we store the transaction outputs that actually deposit # money in those addresses. This is stored in a SQL database and you need to # configure the access to this DB as well. [addressdb] enabled=false # # AddressDB SQL requirement # # The AddressDB component of the Indexer is optional and requires a SQL backend. # If you want to run this on mainnet we have tested and had good results with PostgreSQL # version 10 and also version 12. # Tests with MySQL have given much less positive results, functional but extremely slow, # not adviced at this time. # # When it comes to postgres it is relevant to know that both username and database-name # are always lowercase, please consider this while configuring your setup. # driver is taken from the QSQL libraries, as such you will only be able to # access drivers you have installed. # db_driver=QSQLITE # db_driver=QPSQL # db_driver=QMYSQL # db_hostname=myserver # db_database=flowee # db_username=flowee_indexer # db_password=s3cr3t # # Postgresql uses port 5432 by default. # MySql uses 3306 by default. # If you want to use something else, set it here. # db_port=1234