Data Service Worker
Run with docker
Environment variables
APP_LOGS | true | Enable logging |
APP_MIN_HEIGHT | 1 | Blockchain height from which worker starts synchronizing data |
APP_TRACK_ALL_ACCOUNTS | true | Synchronize data for all blockchain accounts, even those that are not smart contracts |
BLOCKCHAIN_DAPP_FATHER_ADDRESS |
| Address of blockchain account containing list of approved addresses |
BLOCKCHAIN_NODE_URL | http://localhost:6869 | Blockchain node url |
BLOCKCHAIN_CHAIN_ID | R | Blockchain chain id |
DB_NAME | admin | Database name |
DB_HOST | localhost | Database host |
DB_PORT | 27017 | Database port |
DB_USERNAME | root | Database username |
DB_PASSWORD | password | Database password |
GRPC_HOST | localhost | Blockchain node GRPC service host |
GRPC_PEERS |
| List of additional grpc nodes |
GRPC_UPDATES_PORT | 6881 | Port of GRPC updates services |
GRPC_API_PORT | 6877 | Port of GRPC api services |
REDIS_QUEUE | default | Name of redis queue |
REDIS_HOST | localhost | Redis host |
REDIS_PORT | 6379 | Redis port |
TEST_DAPP_FATHER_SEED |
| Dapp father address used for testing |
TEST_GENESIS_SEED |
| Seed for address with tokens used for testing |
TEST_INTEGRATION_DELAY | 1200 | Delay in milliseconds used for some tests |
Last updated