Documentation
¶
Index ¶
- Constants
- func NewEndpointResolver(resolver Resolver, es EndpointService) (*endpointResolver, error)
- func NewNetwork(sp view2.ServiceProvider, name string, config *config2.Config, ...) (*network, error)
- type Block
- type Delivery
- type EndpointService
- type MSPManager
- type Resolver
- type SerializableSigner
- type SigService
- func (s *SigService) GetSigner(id view.Identity) (driver.Signer, error)
- func (s *SigService) GetSigningIdentity(id view.Identity) (driver.SigningIdentity, error)
- func (s *SigService) GetVerifier(id view.Identity) (driver.Verifier, error)
- func (s *SigService) RegisterSigner(identity view.Identity, signer driver.Signer, verifier driver.Verifier) error
- type TXIDStore
- type TxEventsListener
- type ValidationFlags
Constants ¶
View Source
const ( GetBlockByNumber string = "GetBlockByNumber" GetTransactionByID string = "GetTransactionByID" GetBlockByTxID string = "GetBlockByTxID" )
These are function names from Invoke first parameter
Variables ¶
This section is empty.
Functions ¶
func NewEndpointResolver ¶
func NewEndpointResolver(resolver Resolver, es EndpointService) (*endpointResolver, error)
func NewNetwork ¶
func NewNetwork( sp view2.ServiceProvider, name string, config *config2.Config, idProvider driver.IdentityProvider, localMembership driver.LocalMembership, sigService driver.SignerService, ) (*network, error)
Types ¶
type Block ¶
Block wraps a Fabric block
func (*Block) ProcessedTransaction ¶
func (b *Block) ProcessedTransaction(i int) (driver.ProcessedTransaction, error)
ProcessedTransaction returns the ProcessedTransaction at passed index
type EndpointService ¶
type MSPManager ¶
type SerializableSigner ¶
type SigService ¶
type SigService struct {
// contains filtered or unexported fields
}
func NewSigService ¶
func NewSigService(sp view2.ServiceProvider) *SigService
func (*SigService) GetSigningIdentity ¶
func (s *SigService) GetSigningIdentity(id view.Identity) (driver.SigningIdentity, error)
func (*SigService) GetVerifier ¶
func (*SigService) RegisterSigner ¶
type TXIDStore ¶
type TXIDStore interface {
fdriver.TXIDStore
Get(txid string) (fdriver.ValidationCode, error)
Set(txid string, code fdriver.ValidationCode) error
}
type TxEventsListener ¶
type TxEventsListener struct {
// contains filtered or unexported fields
}
func (*TxEventsListener) OnReceive ¶
func (l *TxEventsListener) OnReceive(event events.Event)
type ValidationFlags ¶
type ValidationFlags []uint8
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
mock
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
mocks
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
|
txidstore/mocks
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.