Class UpdateChannelConfiguration

java.lang.Object
org.hyperledger.fabric.sdk.UpdateChannelConfiguration

public class UpdateChannelConfiguration extends Object
A wrapper for the Hyperledger Channel update configuration
  • Constructor Details

  • Method Details

    • setUpdateChannelConfiguration

      public void setUpdateChannelConfiguration(byte[] updateChannelConfigurationAsBytes) throws InvalidArgumentException
      sets the UpdateChannelConfiguration from a byte array
      Parameters:
      updateChannelConfigurationAsBytes - the byte array containing the serialized channel configuration
      Throws:
      InvalidArgumentException
    • getUpdateChannelConfigurationAsBytes

      public byte[] getUpdateChannelConfigurationAsBytes()
      Returns:
      the channel configuration serialized per protobuf and ready for inclusion into channel configuration