package fabric
- Alphabetic
- Public
- Protected
Type Members
- class ChaincodeClient extends NamedLogging
- sealed trait FabricBlockEvent extends AnyRef
- case class FabricBlockEvents(height: Long, events: Seq[Traced[FabricBlockEvent]]) extends Product with Serializable
- class FabricBlockParser extends NamedLogging
- class FabricContext extends NamedLogging with AutoCloseable
Sets up a channel (assuming it has already been created) based on the config given and allows listening to blocks using the constructor provided listener.
Sets up a channel (assuming it has already been created) based on the config given and allows listening to blocks using the constructor provided listener. Also allows invoking and querying Chaincode using the Chaincode client from chaincodeClient
- class FabricContextException extends RuntimeException
- class FabricInitializationChecker extends BlockListener with NamedLogging with NoTracing
When using multiple Fabric sequencer applications, it is important to check that the ledger has been initialized.
When using multiple Fabric sequencer applications, it is important to check that the ledger has been initialized. That's because if all application are started concurrently and one of them is initializing the ledger, the other ones should wait for that to finish before continuing. This logic is implemented here in the form of listening to blocks and considering it initialized only when seeing the "init" transaction. Alternatively if using a cloud deployment, we'll be looking for a "deploy" transaction. This init function call happens when FabricLedgerCreator instantiates and initializes the sequencer chaincode. Make sure this is only used when reading blocks from 0. Otherwise the transaction we're waiting for will not be seen.
- class FabricLedgerWriter extends NamedLogging with FlagCloseableAsync
- class FabricSequencer extends BaseSequencer with FlagCloseable
- class FabricSequencerReader extends NamedLogging with FlagCloseableAsync
- class FabricUser extends User
- class LedgerBlockListener extends BlockListener
Value Members
- object FabricBlockEvent
- object FabricContext
- object FabricErrors extends FabricErrorGroup
- object FabricSequencer
- object FabricSequencerReader
- object FabricSequencerUtils
- object FabricUser
- object LedgerBlockListener