Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocketBabbleProxy ¶
type SocketBabbleProxy struct {
// contains filtered or unexported fields
}
func NewSocketBabbleProxy ¶
func NewSocketBabbleProxy( nodeAddr string, bindAddr string, handler proxy.ProxyHandler, timeout time.Duration, logger *logrus.Logger, ) (*SocketBabbleProxy, error)
func (*SocketBabbleProxy) SubmitTx ¶
func (p *SocketBabbleProxy) SubmitTx(tx []byte) error
type SocketBabbleProxyClient ¶
type SocketBabbleProxyClient struct {
// contains filtered or unexported fields
}
func NewSocketBabbleProxyClient ¶
func NewSocketBabbleProxyClient(nodeAddr string, timeout time.Duration) *SocketBabbleProxyClient
type SocketBabbleProxyServer ¶
type SocketBabbleProxyServer struct {
// contains filtered or unexported fields
}
func NewSocketBabbleProxyServer ¶
func NewSocketBabbleProxyServer( bindAddress string, handler proxy.ProxyHandler, timeout time.Duration, logger *logrus.Logger, ) (*SocketBabbleProxyServer, error)
func (*SocketBabbleProxyServer) CommitBlock ¶
func (p *SocketBabbleProxyServer) CommitBlock(block hashgraph.Block, response *proxy.CommitResponse) (err error)
func (*SocketBabbleProxyServer) GetSnapshot ¶
func (p *SocketBabbleProxyServer) GetSnapshot(blockIndex int, snapshot *[]byte) (err error)
Click to show internal directories.
Click to hide internal directories.