Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App - a sample fund transfer app
func ConstructAppInstance ¶
func ConstructAppInstance(ledger ledger.PeerLedger) *App
ConstructAppInstance constructs an instance of an app
func (*App) QueryBalances ¶
QueryBalances queries the balance funds
type Committer ¶
type Committer struct {
// contains filtered or unexported fields
}
Committer a toy committer
func ConstructCommitter ¶
func ConstructCommitter(ledger ledger.PeerLedger) *Committer
ConstructCommitter constructs a committer for the example
type Consenter ¶
type Consenter struct {
// contains filtered or unexported fields
}
Consenter - a toy Consenter
func ConstructConsenter ¶
func ConstructConsenter() *Consenter
ConstructConsenter constructs a consenter for example
type MarbleApp ¶
type MarbleApp struct {
// contains filtered or unexported fields
}
App - a sample fund transfer app
func ConstructMarbleAppInstance ¶
func ConstructMarbleAppInstance(ledger ledger.PeerLedger) *MarbleApp
ConstructAppInstance constructs an instance of an app
func (*MarbleApp) CreateMarble ¶
CreateMarble simulates init transaction
Click to show internal directories.
Click to hide internal directories.