btcd-address-indexing-worker

command module
v0.0.0-...-9ae6259 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: MIT Imports: 18 Imported by: 0

README

Bitcoin address indexing worker

Build Status GoDoc
Bitcoin Address Indexing Worker provides the web service btcd-address-indexing-service with additional indexing, caching mechanisms and address relevant information lookups

Table of Contents

More information

(Refer to btcd-address-indexing-service)

Building and test

  • Pulling repository
$ go get -v github.com/junzhli/btcd-address-indexing-worker
$ cd $GOPATH/src/github.com/junzhli/btcd-address-indexing-worker
  • Test
$ go test ./...
  • Build
$ go install # should install executable program under $GOPATH/bin

Configuration and Run

  • Configurable options

Please set environment variables with file called .env and place this under the current path where you run this program on shell. You can begin with file .env.template for reference

Name Required Default value Description
MONGO_HOST N 127.0.0.1:27017 MongoDB Host[:Port]
MONGO_USER N MongoDB User
MONGO_PASSWORD N MongoDB Password
REDIS_HOST N 127.0.0.1:6379 Redis Host[:Port]
REDIS_PASSWORD N Redis protected password
RABBITMQ_HOST N 127.0.0.1:5672 RabbitMQ Host[:Port]
RABBITMQ_USER N guest RabbitMQ User
RABBITMQ_PASSWORD N guest RabbitMQ Password
BTCD_JSONRPC_HOST N 127.0.0.1:8334 Btcd JSON-RPC Host[:Port]
BTCD_JSONRPC_USER N Btcd JSON-RPC User
BTCD_JSONRPC_PASSWORD N Btcd JSON-RPC Password
BTCD_JSONRPC_TIMEOUT N 600 Btcd JSON-RPC Read Timeout (seconds)
  • For development
$ go run main.go
  • For production
# Please follow build step at first
$ btcd-address-indexing-worker

Author

Jeremy Li

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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