mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-08 12:01:20 +00:00
e8501bbf43
* eth_getTransactionReceipt to return nil for transactions not in the database * Fix compile error
16 lines
483 B
Go
16 lines
483 B
Go
package service
|
|
|
|
import (
|
|
"github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/cli"
|
|
"github.com/ledgerwatch/turbo-geth/cmd/rpcdaemon/commands"
|
|
"github.com/ledgerwatch/turbo-geth/core"
|
|
"github.com/ledgerwatch/turbo-geth/ethdb"
|
|
"github.com/ledgerwatch/turbo-geth/node"
|
|
)
|
|
|
|
func New(db ethdb.Database, ethereum core.Backend, stack *node.Node) {
|
|
apis := commands.APIList(db, core.NewEthBackend(ethereum), nil, cli.Flags{API: []string{"eth", "debug"}}, nil)
|
|
|
|
stack.RegisterAPIs(apis)
|
|
}
|