Versions in this module Expand all Collapse all v1 v1.0.3 Oct 3, 2017 v1.0.2 Aug 31, 2017 v1.0.1 Aug 7, 2017 v1.0.0 Jul 11, 2017 Changes in this version + type App struct + func ConstructAppInstance(ledger ledger.PeerLedger) *App + func (app *App) Init(initialBalances map[string]int) (*common.Envelope, error) + func (app *App) QueryBalances(accounts []string) ([]int, error) + func (app *App) TransferFunds(fromAccount string, toAccount string, transferAmt int) (*common.Envelope, error) + type Committer struct + func ConstructCommitter(ledger ledger.PeerLedger) *Committer + func (c *Committer) Commit(rawBlock *common.Block) error + type Consenter struct + func ConstructConsenter() *Consenter + func (c *Consenter) ConstructBlock(transactions ...*common.Envelope) *common.Block + type Marble struct + Color string + Name string + Rev string + Size int + Txid string + User string + type MarbleApp struct + func ConstructMarbleAppInstance(ledger ledger.PeerLedger) *MarbleApp + func (marbleApp *MarbleApp) CreateMarble(args []string) (*common.Envelope, error) + func (marbleApp *MarbleApp) TransferMarble(args []string) (*common.Envelope, error)