Replication

class Replication(hosts: Set<Host>) : Plaintext

The protocol that replicates data and computations across a set of hosts in the clear.

Replication increases integrity, but doing it in the clear sacrifices confidentiality. Additionally, availability is lost if any participating host aborts.

Constructors

Replication
Link copied to clipboard
fun Replication(hosts: Set<Host>)

Types

Companion
Link copied to clipboard
object Companion

Functions

authority
Link copied to clipboard
open override fun authority(hostTrustConfiguration: HostTrustConfiguration): Label

Returns the authority label of this protocol given the authority labels of the participating hosts.

compareTo
Link copied to clipboard
operator override fun compareTo(other: Protocol): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
override fun hashCode(): Int
toDocument
Link copied to clipboard
open override fun toDocument(): Document

Properties

arguments
Link copied to clipboard
open override val arguments: Map<String, Value>

The named arguments applied to protocolName.

hostCleartextCommitmentInputPorts
Link copied to clipboard
val hostCleartextCommitmentInputPorts: Map<Host, InputPort>
hostHashCommitmentInputPorts
Link copied to clipboard
val hostHashCommitmentInputPorts: Map<Host, InputPort>
hostInputPorts
Link copied to clipboard
val hostInputPorts: Map<Host, InputPort>
hostOutputPorts
Link copied to clipboard
val hostOutputPorts: Map<Host, OutputPort>
hosts
Link copied to clipboard
val hosts: HostSetValue

Hosts involved in this protocol.

internalInputPorts
Link copied to clipboard
val internalInputPorts: Map<Host, InputPort>
internalOutputPorts
Link copied to clipboard
val internalOutputPorts: Map<Host, OutputPort>
name
Link copied to clipboard
override val name: String
nameCategory
Link copied to clipboard
override val nameCategory: String
protocolName
Link copied to clipboard
open override val protocolName: ProtocolName

The name of the (cryptographic) protocol.