Use ExtraDB for storage. Fixes #577

This commit is contained in:
Taylor Gerring
2015-03-27 09:36:18 +01:00
parent b0b0939879
commit e29396b691
7 changed files with 56 additions and 61 deletions

View File

@ -18,8 +18,8 @@ const (
)
// JSONRPC returns a handler that implements the Ethereum JSON-RPC API.
func JSONRPC(pipe *xeth.XEth, dataDir string) http.Handler {
api := NewEthereumApi(pipe, dataDir)
func JSONRPC(pipe *xeth.XEth) http.Handler {
api := NewEthereumApi(pipe)
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
// TODO this needs to be configurable