explorer-genesis-uploader

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 3 Imported by: 0

README

License undefined

NOAH Explorer Genesis Uploader

The official repository of Noah Explorer Genesis Uploader service.

Noah Explorer Genesis Uploader is a service which provides to upload primary network state data to Noah Explorer database after network reset or first start.

RUN

  • make build

  • ./builds/explorer-genesis-uploader -config=/etc/noah/config.json

Config file

Support JSON and YAML formats

Example:

{
  "name": "Noah Explorer Genesis Uploader",
  "app": {
    "debug": true,
    "baseCoin": "MNT",
    "txChunkSize": 200,
    "addrChunkSize": 30,
    "eventsChunkSize": 200
  },
  "database": {
    "host": "localhost",
    "name": "explorer",
    "user": "noah",
    "password": "password",
    "minIdleConns": 10,
    "poolSize": 20
  },
  "noahApi": {
    "isSecure": false,
    "link": "localhost",
    "port": 8841
  }
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL