Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChannelHeight ¶
ChannelHeight specifies the block height for a channel
type MockChannelPeer ¶
MockChannelPeer implements fab.Peer and fab.PeerState
func New ¶
func New(name string, mspID string, blockHeight uint64) *MockChannelPeer
New returns a new mock ChannelPeer
func (*MockChannelPeer) BlockHeight ¶
func (p *MockChannelPeer) BlockHeight() uint64
BlockHeight returns the block height of the peer in the channel
func (*MockChannelPeer) String ¶
func (p *MockChannelPeer) String() string
String returns the string representation of the ChannelPeer
Click to show internal directories.
Click to hide internal directories.