https://github.com/blocknetdx/utxo-plugin
https://github.com/blocknetdx/utxo-plugin
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/blocknetdx/utxo-plugin
- Owner: blocknetdx
- Created: 2022-03-30T09:24:55.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-06T10:31:17.000Z (about 1 year ago)
- Last Synced: 2025-04-06T11:26:59.245Z (about 1 year ago)
- Language: Python
- Size: 107 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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