Versions in this module Expand all Collapse all v0 v0.3.0 Aug 2, 2019 Changes in this version type EthService + GetTransactionCount func(r *http.Request, _ *interface{}, reply *string) error v0.2.0 Apr 9, 2019 Changes in this version + const NetworkID + var ZeroAddress = make([]byte, 20) + func NewRPCCodec() rpc.Codec + type ChannelClient interface + Execute func(request channel.Request, options ...channel.RequestOption) (channel.Response, error) + Query func(request channel.Request, options ...channel.RequestOption) (channel.Response, error) + type EthService interface + Accounts func(r *http.Request, arg *string, reply *[]string) error + BlockNumber func(r *http.Request, _ *interface{}, reply *string) error + Call func(r *http.Request, args *types.EthArgs, reply *string) error + EstimateGas func(r *http.Request, args *types.EthArgs, reply *string) error + GetBalance func(r *http.Request, p *[]string, reply *string) error + GetBlockByNumber func(r *http.Request, p *[]interface{}, reply *types.Block) error + GetCode func(r *http.Request, arg *string, reply *string) error + GetLogs func(*http.Request, *types.GetLogsArgs, *[]types.Log) error + GetTransactionByHash func(r *http.Request, txID *string, reply *types.Transaction) error + GetTransactionReceipt func(r *http.Request, arg *string, reply *types.TxReceipt) error + SendTransaction func(r *http.Request, args *types.EthArgs, reply *string) error + func NewEthService(channelClient ChannelClient, ledgerClient LedgerClient, channelID string, ...) EthService + type Fab3 struct + HTTPServer *http.Server + RPCServer *rpc.Server + func NewFab3(service EthService, port int) *Fab3 + func (p *Fab3) Shutdown() error + func (p *Fab3) Start() error + type LedgerClient interface + QueryBlock func(blockNumber uint64, options ...ledger.RequestOption) (*common.Block, error) + QueryBlockByHash func(blockHash []byte, options ...ledger.RequestOption) (*common.Block, error) + QueryBlockByTxID func(txid fab.TransactionID, options ...ledger.RequestOption) (*common.Block, error) + QueryInfo func(options ...ledger.RequestOption) (*fab.BlockchainInfoResponse, error) + type NetService struct + func (s *NetService) Version(r *http.Request, _ *interface{}, reply *string) error