nodejs-pool icon indicating copy to clipboard operation
nodejs-pool copied to clipboard

Configuration Of APIs

Open amitsaxena-ups opened this issue 7 years ago • 2 comments

Does Automatic installer setup correct IPs for the APIs ?

amitsaxena-ups avatar May 31 '18 17:05 amitsaxena-ups

You need to setup API in database and config.json file in nodejs-pool folder

{ "pool_id": 0, "bind_ip": "EXTERNAL IP OF SERVER", "hostname": "HOSTNAME OF SERVER", "db_storage_path": "/home/pooldaemon/pool_db/", "coin": "COIN NAME EG aeon", "mysql": { "connectionLimit": 20, "host": "127.0.0.1", "database": "pool", "user": "pool", "password": "PASSWORD ON TUTORIAL" } }

share host in pool database can access with mysql workbench for shareHost http://127.0.0.1:8000/leafApi

Reptillian avatar May 31 '18 17:05 Reptillian

how can i setup api in database ?

011248163264 avatar Sep 24 '18 21:09 011248163264