Minter Explorer Extender
The official repository of Minter Explorer Extender service.
Extender is a service responsible for seeding the database from the blockchain network. Part of the Minter Explorer service.
NOTE: This project in active development stage so feel free to send us questions, issues, and wishes
BUILD
RUN
If you run Extender for the first time yoг need to run Explorer Genesis Uploader
to fill data from genesis file (you can use the same config file for both services)
./extender -config=/etc/minter/config.json
Config file
Support JSON and YAML formats
Example:
{
"name": "Minter Extender",
"app": {
"debug": true,
"baseCoin": "MNT",
"txChunkSize": 200,
"addrChunkSize": 30,
"eventsChunkSize": 200
},
"workers": {
"saveTxs": 10,
"saveTxsOutput": 5,
"saveInvalidTxs": 2,
"saveRewards": 3,
"saveSlashes": 3,
"saveAddresses": 3,
"saveTxValidator": 2,
"updateBalance": 2,
"balancesFromNode": 3
},
"database": {
"host": "localhost",
"name": "explorer",
"user": "minter",
"password": "password",
"minIdleConns": 10,
"poolSize": 20
},
"minterApi": {
"isSecure": false,
"link": "localhost",
"port": 8841
},
"extenderApi": {
"host": "",
"port": 8800
},
"wsServer": {
"isSecure": true,
"link": "localhost",
"port": "",
"key": "secret-key"
}
}