- class ChaincodeClient extends NamedLogging
- 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 AutoCloseable
- class FabricSequencerDriver extends SequencerDriver with NamedLogging
- class FabricSequencerDriverFactory extends SequencerDriverFactory
- class FabricUser extends User
- class LedgerBlockListener extends BlockListener
- object FabricContext
- object FabricSequencerDriver
- object FabricSequencerUtils
- object FabricUser
- object LedgerBlockListener