Vsr.LogEntry (vsr v0.1.0)

View Source

Represents a single entry in the VSR log.

Each entry contains the essential information needed for VSR consensus:

  • view: The view number when this operation was prepared
  • op_number: The operation number (sequence position in log)
  • operation: The actual operation to be applied
  • sender_id: ID of the client that sent this operation (for deduplication)

Summary

Types

t()

@type t() :: %Vsr.LogEntry{
  op_number: non_neg_integer(),
  operation: term(),
  sender_id: term(),
  view: non_neg_integer()
}