github.com/igggame/nebulas-go@v2.1.0+incompatible/conf/example/normal.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:8880"]
     8    network_id: 1
     9  }
    10  
    11  chain {
    12    chain_id: 100
    13    datadir: "normal.db"
    14    keydir: "keydir"
    15    genesis: "conf/default/genesis.conf"
    16    
    17    start_mine: false
    18  
    19    signature_ciphers: ["ECC_SECP256K1"]
    20  }
    21  
    22  rpc {
    23      rpc_listen: ["127.0.0.1:8884"]
    24      http_listen: ["127.0.0.1:8885"]
    25      http_module: ["api","admin"]
    26      
    27      # http_cors: []
    28  }
    29  
    30  app {
    31      log_level: "debug"
    32      log_file: "logs/normal"
    33      enable_crash_report: true
    34  }
    35  
    36  stats {
    37      enable_metrics: false
    38      influxdb: {
    39          host: "http://localhost:8086"
    40          db: "nebulas"
    41          user: "admin"
    42          password: "admin"
    43      }
    44  }