Changes from master

This commit is contained in:
Jakub Matys 2018-07-31 10:46:15 +02:00
parent a636a3197d
commit f3d727f16e
7 changed files with 10 additions and 7 deletions

View File

@ -37,6 +37,7 @@ type BitcoinRPC struct {
type Configuration struct {
CoinName string `json:"coin_name"`
CoinShortcut string `json:"coin_shortcut"`
RPCURL string `json:"rpc_url"`
RPCUser string `json:"rpc_user"`
RPCPass string `json:"rpc_pass"`

View File

@ -30,9 +30,10 @@ const (
)
type Configuration struct {
CoinName string `json:"coin_name"`
RPCURL string `json:"rpc_url"`
RPCTimeout int `json:"rpc_timeout"`
CoinName string `json:"coin_name"`
CoinShortcut string `json:"coin_shortcut"`
RPCURL string `json:"rpc_url"`
RPCTimeout int `json:"rpc_timeout"`
}
// EthereumRPC is an interface to JSON-RPC eth service.

View File

@ -7,6 +7,7 @@
{{end}}
"coin_name": "{{.Coin.Name}}",
"coin_shortcut": "{{.Coin.Shortcut}}",
"rpc_url": "{{template "IPC.RPCURLTemplate" .}}",
"rpc_user": "{{.IPC.RPCUser}}",
"rpc_pass": "{{.IPC.RPCPass}}",

View File

@ -239,7 +239,7 @@
"system_user": "blockbook-bgold",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://explorer.bitcoingold.org",
"explorer_url": "/explorer",
"additional_params": "",
"block_chain": {
"parse": true,

View File

@ -47,7 +47,7 @@
"system_user": "blockbook-bitcoin",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://btc-explorer.trezor.io",
"explorer_url": "/explorer",
"additional_params": "",
"block_chain": {
"parse": true,

View File

@ -47,7 +47,7 @@
"system_user": "blockbook-bitcoin",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://btc-testnet-explorer.trezor.io",
"explorer_url": "/explorer",
"additional_params": "",
"block_chain": {
"parse": true,

View File

@ -47,7 +47,7 @@
"system_user": "blockbook-litecoin",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://ltc-explorer.trezor.io",
"explorer_url": "/explorer",
"additional_params": "",
"block_chain": {
"parse": true,