{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v0.6.1-preview","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package noops\n\n## Functions\n\n```go\nfunc GetNoops(c consensus.Stack) consensus.Consenter\n```\nGetNoops returns a singleton of NOOPS\n\n## Types\n\n```go\ntype Noops struct {\n\t// contains filtered or unexported fields\n}\n```\nNoops is a plugin object implementing the consensus.Consenter interface.\n\n```go\nfunc (i *Noops) Committed(tag interface{}, target *pb.BlockchainInfo)\n```\nCommitted is called whenever Commit completes, no-op for noops as it uses the legacy synchronous api\n\n```go\nfunc (i *Noops) Executed(tag interface{})\n```\nExecuted is called whenever Execute completes, no-op for noops as it uses the legacy synchronous api\n\n```go\nfunc (i *Noops) RecvMsg(msg *pb.Message, senderHandle *pb.PeerID) error\n```\nRecvMsg is called for Message\\_CHAIN\\_TRANSACTION and Message\\_CONSENSUS messages.\n\n```go\nfunc (i *Noops) RolledBack(tag interface{})\n```\nRolledBack is called whenever a Rollback completes, no-op for noops as it uses the legacy synchronous api\n\n```go\nfunc (i *Noops) StateUpdated(tag interface{}, target *pb.BlockchainInfo)\n```\nStatedUpdates is called when state transfer completes, if target is nil, this indicates a failure and a new target should be supplied, no-op for noops as it uses the legacy synchronous api\n\n","path":"github.com/eric-erki/https-hyperledger.org/consensus/noops","name":"noops","synopsis":"","isRedistributable":true}
