github.com/igggame/nebulas-go@v2.1.0+incompatible/conf/default/config.conf (about)

     1  # Neb configuration text file. Scheme is defined in neblet/pb/config.proto:Config.
     2  #
     3  
     4  network {
     5    listen: ["0.0.0.0:8680"]
     6    private_key: "conf/network/ed25519key"
     7    network_id: 1
     8  }
     9  
    10  chain {
    11    chain_id: 100
    12    datadir: "data.db"
    13    keydir: "keydir"
    14    genesis: "conf/default/genesis.conf"
    15    start_mine: false
    16    signature_ciphers: ["ECC_SECP256K1"]
    17    dynasty: "conf/default/dynasty.conf"
    18    access: "conf/default/access.conf"
    19  }
    20  
    21  rpc {
    22      rpc_listen: ["127.0.0.1:8684"]
    23      http_listen: ["127.0.0.1:8685"]
    24      http_module: ["api","admin"]
    25      # HTTP CORS allowed origins
    26      http_cors: ["*"]
    27  }
    28  
    29  app {
    30      log_level: "debug"
    31      log_file: "logs"
    32      pprof:{
    33          http_listen: "0.0.0.0:8888"
    34      }    
    35  }
    36  
    37  stats {
    38      enable_metrics: false
    39      influxdb: {
    40          host: "http://localhost:8086"
    41          db: "nebulas"
    42          user: "admin"
    43          password: "admin"
    44      }
    45  }
    46  
    47  nbre {
    48      root_dir: "nbre"
    49      log_dir: "conf/nbre/logs"
    50      data_dir: "conf/nbre/nbre.db"
    51      nbre_path: "nbre/bin/nbre"
    52      admin_address: "n1cYKNHTeVW9v1NQRWuhZZn9ETbqAYozckh"
    53      start_height: 1000000
    54      ipc_listen: "127.0.0.1"
    55      ipc_port: 8688
    56  }