An open API service indexing awesome lists of open source software.

https://github.com/blocknetdx/utxo-plugin


https://github.com/blocknetdx/utxo-plugin

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

# utxoplugin

### Deployment Process
Within the EXR ENV, one utxo-plugin container should be deployed for each utxo coin to be indexed.
Example docker-compose.yml entry for utxo coin, BLOCK:
```yaml
utxo-plugin-block:
image: blocknetdx/utxo-plugin:latest
restart: unless-stopped
environment:
PLUGIN_COIN: 'BLOCK'
PLUGIN_PORT: 8000
DB_ENGINE: 'rocksdb'
NETWORK: 'mainnet'
SKIP_COMPACT: 'true'
DAEMON_ADDR: 172.31.4.37
DAEMON_RPC_PORT: '41414'
RPC_USER: "${RPC_USER}"
RPC_PASSWORD: "${RPC_PASSWORD}"
stop_signal: SIGINT
stop_grace_period: 5m
volumes:
- /snode/utxo_plugin/BLOCK:/app/plugins/utxoplugin-BLOCK
logging:
driver: "json-file"
options:
max-size: "2m"
max-file: "10"
depends_on:
- snode
networks:
backend:
ipv4_address: 172.31.8.23
```
DAEMON_ADDR is the IP addr of the container hosting the BLOCK daemon

DAEMON_RPC_PORT is the RPC port of the BLOCK daemon