depolymerization

wire gateway for Bitcoin/Ethereum
Log | Files | Refs | Submodules | README | LICENSE

depolymerizer-bitcoin.conf (2695B)


      1 [depolymerizer-bitcoin]
      2 # Adapter currency
      3 CURRENCY =
      4 
      5 # Bitcoin wallet address to advertise
      6 WALLET =
      7 
      8 # Legal entity that is associated with the Bitcoin wallet
      9 NAME = 
     10 
     11 [depolymerizer-bitcoin-worker]
     12 # Name of the wallet to sync
     13 WALLET_NAME = 
     14 
     15 # Password of the encrypted wallet
     16 PASSWORD = 
     17 
     18 # Specify the account type and therefore the indexing behavior.
     19 # This can either can be normal or exchange.
     20 # Exchange accounts bounce invalid incoming Taler transactions.
     21 ACCOUNT_TYPE = exchange
     22 
     23 # Number of blocks to consider a transactions durable
     24 CONFIRMATION = 6
     25 
     26 # An additional fee to deduce from the bounced amount
     27 # BOUNCE_FEE = BTC:0
     28 
     29 # Number of worker's loops before worker shutdown (0 means never)
     30 LIFETIME = 0
     31 
     32 # Delay in seconds before bumping an unconfirmed transaction fee (0 means never)
     33 BUMP_DELAY = 0
     34 
     35 # RPC server address
     36 RPC_BIND = 127.0.0.1:8332
     37 
     38 # RPC authentication scheme, this can either can be basic or cookie
     39 RPC_AUTH_METHOD = cookie
     40 
     41 # Path to the bitcoind cookie file
     42 RPC_COOKIE_FILE = $HOME/.bitcoin/.cookie
     43 
     44 # User name for basic authentication scheme
     45 # RPC_USERNAME =
     46 
     47 # Password for basic authentication scheme
     48 # RPC_PASSWORD =
     49   
     50 [depolymerizer-bitcoin-httpd]
     51 # How "depolymerizer-bitcoin serve" serves its API, this can either be tcp or unix
     52 SERVE = tcp
     53 
     54 # Port on which the HTTP server listens, e.g. 9967. Only used if SERVE is tcp.
     55 PORT = 8080
     56 
     57 # Which IP address should we bind to?  E.g. ``127.0.0.1`` or ``::1``for loopback. Only used if SERVE is tcp.
     58 BIND_TO = 0.0.0.0
     59 
     60 # Which unix domain path should we bind to? Only used if SERVE is unix.
     61 # UNIXPATH = depolymerizer-bitcoin.sock
     62 
     63 # What should be the file access permissions for UNIXPATH? Only used if SERVE is unix.
     64 # UNIXPATH_MODE = 660
     65 
     66 # Number of requests to serve before server shutdown (0 means never)
     67 LIFETIME = 0
     68 
     69 [depolymerizer-bitcoin-httpd-wire-gateway-api]
     70 # Whether to serve the Wire Gateway API
     71 ENABLED = NO
     72 
     73 # Authentication scheme, this can either can be basic, bearer or none.
     74 AUTH_METHOD = bearer
     75 
     76 # User name for basic authentication scheme
     77 # USERNAME =
     78 
     79 # Password for basic authentication scheme
     80 # PASSWORD =
     81 
     82 # Token for bearer authentication scheme
     83 TOKEN =
     84 
     85 [depolymerizer-bitcoin-httpd-revenue-api]
     86 # Whether to serve the Revenue API
     87 ENABLED = NO
     88 
     89 # Authentication scheme, this can either can be basic, bearer or none.
     90 AUTH_METHOD = bearer
     91 
     92 # User name for basic authentication scheme
     93 # USERNAME =
     94 
     95 # Password for basic authentication scheme
     96 # PASSWORD =
     97 
     98 # Token for bearer authentication scheme
     99 TOKEN =
    100 
    101 [depolymerizer-bitcoindb-postgres]
    102 # DB connection string
    103 CONFIG = postgres:///depolymerizer-bitcoin
    104 
    105 # Where are the SQL files to setup our tables?
    106 SQL_DIR = ${DATADIR}/sql/