...

Package solo

import "github.com/hyperledger/fabric/orderer/consensus/solo"
Overview
Index

Overview ▾

func New

func New() consensus.Consenter

New creates a new consenter for the solo consensus scheme. The solo consensus scheme is very simple, and allows only one consenter for a given chain (this process). It accepts messages being delivered via Order/Configure, orders them, and then uses the blockcutter to form the messages into blocks before writing to the given ledger