object transactions
- Annotations
- @Summary(s = "Inspect all topology transactions at once", flag = console.this.Help.Summary.<init>$default$2) @Group(name = "All Transactions")
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- transactions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
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 authorize[M <: TopologyMapping](txHash: TxHash, mustBeFullyAuthorized: Boolean, store: TopologyStoreId, signedBy: Seq[Fingerprint] = Seq.empty)(implicit arg0: ClassTag[M]): SignedTopologyTransaction[TopologyChangeOp, M]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def export_identity_transactions(file: String): Unit
- Annotations
- @Summary(s = "Serializes node's topology identity transactions to a file", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "Transactions serialized this way should be loaded into another node with load_from_file")
- def export_topology_snapshot(store: TopologyStoreId = TopologyStoreId.Authorized, proposals: Boolean = false, timeQuery: TimeQuery = TimeQuery.HeadState, operation: Option[TopologyChangeOp] = None, filterMappings: Seq[Code] = Nil, excludeMappings: Seq[Code] = Nil, filterAuthorizedKey: Option[Fingerprint] = None, protocolVersion: Option[String] = None, filterNamespace: String = "", timeout: NonNegativeDuration = timeouts.unbounded): ByteString
- Annotations
- @Summary(s = "export topology snapshot", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """This command export the node's topology transactions as byte string.
|
|The arguments are:
|excludeMappings: a list of topology mapping codes to exclude from the export. If not provided, all mappings are included.
|filterNamespace: the namespace to filter the transactions by.
|protocolVersion: the protocol version used to serialize the topology transactions. If not provided, the latest protocol version is used.
""")
- def find_latest_by_mapping[M <: TopologyMapping](store: TopologyStoreId, includeProposals: Boolean = false)(implicit arg0: ClassTag[M]): Option[StoredTopologyTransaction[TopologyChangeOp, M]]
- Annotations
- @Summary(s = "Find the latest transaction for a given mapping hash", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """
store: - "Authorized": the topology transaction will be looked up in the node's authorized store.
- "<synchronizer id>": the topology transaction will be looked up in the specified synchronizer store.
includeProposals: when true, the result could be the latest proposal, otherwise will only return the latest fully authorized transaction""")
- def find_latest_by_mapping_hash[M <: TopologyMapping](mappingHash: MappingHash, store: TopologyStoreId, includeProposals: Boolean = false)(implicit arg0: ClassTag[M]): Option[StoredTopologyTransaction[TopologyChangeOp, M]]
- Annotations
- @Summary(s = "Find the latest transaction for a given mapping hash", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """
mappingHash: the unique key of the topology mapping to find
store: - "Authorized": the topology transaction will be looked up in the node's authorized store.
- "<synchronizer id>": the topology transaction will be looked up in the specified synchronizer store.
includeProposals: when true, the result could be the latest proposal, otherwise will only return the latest fully authorized transaction""")
- def generate(proposals: Seq[Proposal]): Seq[TopologyTransaction[TopologyChangeOp, TopologyMapping]]
- def genesis_state(filterSynchronizerStore: Option[Synchronizer] = None, timestamp: Option[CantonTimestamp] = None, timeout: NonNegativeDuration = timeouts.unbounded): ByteString
- Annotations
- @Summary(s = "Download the genesis state for a sequencer. This method should be used when performing a major synchronizer upgrade.", flag = console.this.Help.Summary.<init>$default$2) @Description(s = """Download the topology snapshot which includes the entire history of topology transactions to initialize a sequencer for a major synchronizer upgrades. The validFrom and validUntil are set to SignedTopologyTransaction.InitialTopologySequencingTime.
|filterSynchronizerStore: Must be specified if the genesis state is requested from a participant node.
|timestamp: If not specified, the max effective time of the latest topology transaction is used. Otherwise, the given timestamp is used.
""")
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def identity_transactions(): Seq[SignedTopologyTransaction[TopologyChangeOp, TopologyMapping]]
- Annotations
- @Summary(s = "Downloads the node's topology identity transactions", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "The node's identity is defined by topology transactions of type NamespaceDelegation and OwnerToKeyMapping.")
- def import_topology_snapshot(topologyTransactions: ByteString, store: TopologyStoreId, synchronize: Option[NonNegativeDuration] = Some( consoleEnvironment.commandTimeouts.unbounded )): Unit
- def import_topology_snapshot_from(file: String, store: TopologyStoreId): Unit
- Annotations
- @Summary(s = "Loads topology transactions from a file into the specified topology store", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "The file must contain data serialized by TopologyTransactions.")
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def list(store: TopologyStoreId = TopologyStoreId.Authorized, proposals: Boolean = false, timeQuery: TimeQuery = TimeQuery.HeadState, operation: Option[TopologyChangeOp] = Some(TopologyChangeOp.Replace), filterMappings: Seq[Code] = Nil, excludeMappings: Seq[Code] = Nil, filterAuthorizedKey: Option[Fingerprint] = None, protocolVersion: Option[String] = None, filterNamespace: String = ""): StoredTopologyTransactions[TopologyChangeOp, TopologyMapping]
- Annotations
- @Summary(s = "List all transaction", flag = console.this.Help.Summary.<init>$default$2)
- def load(transactions: Seq[GenericSignedTopologyTransaction], store: TopologyStoreId, forceFlags: ForceFlags = ForceFlags.none, synchronize: Option[NonNegativeDuration] = Some( consoleEnvironment.commandTimeouts.unbounded )): Unit
- def load_multiple_from_file(file: String, store: TopologyStoreId, forceFlags: ForceFlags = ForceFlags.none, synchronize: Option[NonNegativeDuration] = Some(
consoleEnvironment.commandTimeouts.unbounded
)): Unit
- Annotations
- @Summary(s = "Loads topology transactions from a file into the specified topology store", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "The file must contain data serialized by SignedTopologyTransactions.")
- def load_single_from_file(file: String, store: TopologyStoreId, forceFlags: ForceFlags = ForceFlags.none, synchronize: Option[NonNegativeDuration] = Some(
consoleEnvironment.commandTimeouts.unbounded
)): Unit
- Annotations
- @Summary(s = "Loads topology transactions from a file into the specified topology store", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "The file must contain data serialized by SignedTopologyTransaction.")
- def load_single_from_files(files: Seq[String], store: TopologyStoreId, forceFlags: ForceFlags = ForceFlags.none, synchronize: Option[NonNegativeDuration] = Some(
consoleEnvironment.commandTimeouts.unbounded
)): Unit
- Annotations
- @Summary(s = "Loads topology transactions from a list of files into the specified topology store", flag = console.this.Help.Summary.<init>$default$2) @Description(s = "The files must contain data serialized by SignedTopologyTransaction.")
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def sign(transactions: Seq[GenericSignedTopologyTransaction], store: TopologyStoreId, signedBy: Seq[Fingerprint] = Seq.empty, forceFlags: ForceFlags = ForceFlags.none): Seq[GenericSignedTopologyTransaction]
- 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 purge extends Helpful
- Annotations
- @Summary(s = "Manage topology transaction purging", flag = FeatureFlag.Preview) @Group(name = "Purge Topology Transactions")