com.digitalasset.canton.topology.transaction
SignedTopologyTransaction
Companion class SignedTopologyTransaction
object SignedTopologyTransaction extends HasMemoizedProtocolVersionedWrapperCompanion[SignedTopologyTransaction[TopologyChangeOp]] with Serializable
- Alphabetic
- By Inheritance
- SignedTopologyTransaction
- Serializable
- HasMemoizedProtocolVersionedWrapperCompanion
- HasProtocolVersionedWrapperCompanion
- HasSupportedProtoVersions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type DataByteString = ByteString
- Definition Classes
- HasProtocolVersionedWrapperCompanion
- type Deserializer = (OriginalByteString, DataByteString) => ParsingResult[SignedTopologyTransaction[TopologyChangeOp]]
- type OriginalByteString = ByteString
- Definition Classes
- HasProtocolVersionedWrapperCompanion
- type Serializer = (SignedTopologyTransaction[TopologyChangeOp]) => ByteString
- Definition Classes
- HasSupportedProtoVersions
- sealed abstract case class SupportedProtoVersions extends Product with Serializable
- Definition Classes
- HasSupportedProtoVersions
- case class VersionedProtoConverter(fromInclusive: RepresentativeProtocolVersion[ValueClass], deserializer: Deserializer, serializer: Serializer) extends Product with Serializable
Supported protobuf version
Supported protobuf version
- fromInclusive
The protocol version when this protobuf version was introduced
- deserializer
Deserialization method
- serializer
Serialization method
- Definition Classes
- HasSupportedProtoVersions
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asVersion[Op <: TopologyChangeOp](signedTx: SignedTopologyTransaction[Op], protocolVersion: ProtocolVersion)(crypto: Crypto)(implicit ec: ExecutionContext): EitherT[Future, String, SignedTopologyTransaction[Op]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def create[Op <: TopologyChangeOp](transaction: TopologyTransaction[Op], signingKey: SigningPublicKey, hashOps: HashOps, crypto: CryptoPrivateApi, protocolVersion: ProtocolVersion)(implicit ec: ExecutionContext): EitherT[Future, SigningError, SignedTopologyTransaction[Op]]
Sign the given topology transaction.
- def createGetResultDomainTopologyTransaction: GetResult[SignedTopologyTransaction[TopologyChangeOp]]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def equivalent(first: SignedTopologyTransaction[TopologyChangeOp], second: SignedTopologyTransaction[TopologyChangeOp]): Boolean
returns true if two transactions are equivalent
- def fromByteArray(bytes: Array[Byte]): ParsingResult[SignedTopologyTransaction[TopologyChangeOp]]
- Definition Classes
- HasMemoizedProtocolVersionedWrapperCompanion
- def fromByteString(bytes: OriginalByteString): ParsingResult[SignedTopologyTransaction[TopologyChangeOp]]
- Definition Classes
- HasMemoizedProtocolVersionedWrapperCompanion
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
The name of the class as used for pretty-printing and error reporting
The name of the class as used for pretty-printing and error reporting
- Definition Classes
- SignedTopologyTransaction → HasProtocolVersionedWrapperCompanion → HasSupportedProtoVersions
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def protobufVersionFor(protocolVersion: ProtocolVersion): ProtobufVersion
Return the Protobuf version corresponding to the protocol version
Return the Protobuf version corresponding to the protocol version
- Definition Classes
- HasSupportedProtoVersions
- def protobufVersionFor(protocolVersion: RepresentativeProtocolVersion[SignedTopologyTransaction[TopologyChangeOp]]): ProtobufVersion
Return the Protobuf version corresponding to the representative protocol version
Return the Protobuf version corresponding to the representative protocol version
- Definition Classes
- HasSupportedProtoVersions
- def protocolVersionRepresentativeFor(protoVersion: ProtobufVersion): RepresentativeProtocolVersion[SignedTopologyTransaction[TopologyChangeOp]]
- Definition Classes
- HasSupportedProtoVersions
- def protocolVersionRepresentativeFor(protocolVersion: ProtocolVersion): RepresentativeProtocolVersion[SignedTopologyTransaction[TopologyChangeOp]]
- Definition Classes
- HasSupportedProtoVersions
- implicit def setParameterTopologyTransaction(implicit setParameterByteArray: SetParameter[Array[Byte]]): SetParameter[SignedTopologyTransaction[TopologyChangeOp]]
- def supportedProtoVersionMemoized[Proto <: GeneratedMessage](p: GeneratedMessageCompanion[Proto])(fromProto: (Proto) => (OriginalByteString) => ParsingResult[SignedTopologyTransaction[TopologyChangeOp]]): Deserializer
- Attributes
- protected
- Definition Classes
- HasMemoizedProtocolVersionedWrapperCompanion
- val supportedProtoVersions: SupportedProtoVersions
Proto versions that are supported by
fromProtoVersioned
andfromByteString
See the helpersupportedProtoVersion
below to define aParser
.Proto versions that are supported by
fromProtoVersioned
andfromByteString
See the helpersupportedProtoVersion
below to define aParser
.- Definition Classes
- SignedTopologyTransaction → HasSupportedProtoVersions
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- object SupportedProtoVersions extends Serializable
- Definition Classes
- HasSupportedProtoVersions
- object VersionedProtoConverter extends Serializable
- Definition Classes
- HasSupportedProtoVersions