Example #1
0
package core_client

import (
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
)

var log = log15.New("module", "core_client")
Example #2
0
package rpcserver

import (
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
)

var log = log15.New("module", "rpcserver")
Example #3
0
	ep "github.com/eris-ltd/eris-db/erisdb/pipe"
	"github.com/eris-ltd/eris-db/server"

	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/eris-ltd/mint-client/mintx/core"

	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
	acm "github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/account"
	. "github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/common"
	cfg "github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/config"
	tmcfg "github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/config/tendermint"
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/node"
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/p2p"
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/types"
)

var log = log15.New("module", "eris/erisdb_server")
var tmConfig cfg.Config

// This function returns a properly configured ErisDb server process with a running
// tendermint node attached to it. To start listening for incoming requests, call
// 'Start()' on the process. Make sure to register any start event listeners before
// that.
func ServeErisDB(workDir string) (*server.ServeProcess, error) {
	log.Info("ErisDB Serve initializing.")
	errEns := EnsureDir(workDir)

	if errEns != nil {
		return nil, errEns
	}

	var sConf *server.ServerConfig
Example #4
0
package erisdbss

import (
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
)

var log = log15.New("module", "eris/serverserver")
Example #5
0
package config

import (
	// We can't use github.com/tendermint/tendermint/logger
	// because that would create a dependency cycle.
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
)

var log = log15.New("module", "config")
Example #6
0
package rpcclient

import (
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
)

var log = log15.New("module", "rpcclient")
Example #7
0
package core

import (
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
)

var log = log15.New("module", "rpc")
Example #8
0
package files

import (
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
)

var log = log15.New("module", "eris/server/files")
Example #9
0
package pipe

import (
	"github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/log15"
	cfg "github.com/eris-ltd/eris-db/Godeps/_workspace/src/github.com/tendermint/tendermint/config"
)

var log = log15.New("module", "eris/erisdb_pipe")
var config cfg.Config

func init() {
	cfg.OnConfig(func(newConfig cfg.Config) {
		config = newConfig
	})
}