github.com/igggame/nebulas-go@v2.1.0+incompatible/conf/example/miner.conf (about) 1 # Neb configuration text file. Scheme is defined in neblet/pb/config.proto:Config. 2 # 3 4 network { 5 # seed: "UNCOMMENT_AND_SET_SEED_NODE_ADDRESS" 6 seed: ["/ip4/127.0.0.1/tcp/8680/ipfs/QmP7HDFcYmJL12Ez4ZNVCKjKedfE7f48f1LAkUc3Whz4jP"] 7 listen: ["0.0.0.0:8780"] 8 network_id: 1 9 } 10 11 chain { 12 chain_id: 100 13 datadir: "miner.1.db" 14 keydir: "keydir" 15 genesis: "conf/default/genesis.conf" 16 start_mine: true 17 coinbase: "n1XkoVVjswb5Gek3rRufqjKNpwrDdsnQ7Hq" 18 miner: "n1FF1nz6tarkDVwWQkMnnwFPuPKUaQTdptE" 19 passphrase: "passphrase" 20 signature_ciphers: ["ECC_SECP256K1"] 21 } 22 23 rpc { 24 rpc_listen: ["127.0.0.1:8784"] 25 http_listen: ["127.0.0.1:8785"] 26 http_module: ["api","admin"] 27 # http_cors: [] 28 } 29 30 app { 31 log_level: "debug" 32 log_file: "logs/miner.1" 33 enable_crash_report: true 34 } 35 36 nbre { 37 root_dir: "nbre" 38 log_dir: "conf/example/nbre/logs" 39 data_dir: "conf/example/nbre/nbre.db" 40 nbre_path: "nbre/bin/nbre" 41 admin_address: "n1cYKNHTeVW9v1NQRWuhZZn9ETbqAYozckh" 42 start_height: 1000000 43 ipc_listen: "127.0.0.1" 44 ipc_port: 8788 45 } 46 47 stats { 48 enable_metrics: false 49 influxdb: { 50 host: "http://localhost:8086" 51 db: "nebulas" 52 user: "admin" 53 password: "admin" 54 } 55 }