func NewLocal(node *nm.Node) *Local {
	node.ConfigureRPC()
	return &Local{
		EventBus: node.EventBus(),
	}
}
NewLocal configures a client that calls the Node directly.

Note that given how rpc/core works with package singletons, that
you can only have one node per process.  So make sure test cases
don't run in parallel, or try to simulate an entire network in
one process...
package client
import (
	"context"
	cmn "github.com/tendermint/tendermint/libs/common"
	tmpubsub "github.com/tendermint/tendermint/libs/pubsub"
	nm "github.com/tendermint/tendermint/node"
	"github.com/tendermint/tendermint/rpc/core"
	ctypes "github.com/tendermint/tendermint/rpc/core/types"
	"github.com/tendermint/tendermint/types"
)
type Local struct {
	*types.EventBus
}