config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBname     = "obdserver.db"
	Userbucket = "user"
)

database

View Source
const (
	Init_node_chain_hash = "1EXoDusjGwvnjZUyKkxZ4UHEf77z6A5S4P"
)

Variables

View Source
var (
	Cfg          *ini.File
	ServerPort   = 60020
	GrpcPort     = 60021
	ReadTimeout  = 5 * time.Second
	WriteTimeout = 10 * time.Second

	//0.13 omnicore
	//ChainNode_Host = "62.234.216.108:8332"
	//ChainNode_User = "uprets"
	//ChainNode_Pass = "pass"
	//0.18 omnicore
	ChainNode_Type = "test"
	ChainNode_Host = "62.234.216.108:18334"
	ChainNode_User = "omniwallet"
	ChainNode_Pass = "cB3]iL2@eZ1?cB2?"

	//P2P
	P2P_hostIp     = "127.0.0.1"
	P2P_sourcePort = 3001
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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