Reference documentation and code samples for the Universal Ledger V1 API class Google::Cloud::UniversalLedger::V1::RoundCertificate.
Certificate of the execution of a round by a specific validator.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#is_finalized
def is_finalized() -> ::Boolean
Returns
- (::Boolean) — Output only. Boolean to indicate if the round is finalized, i.e., whether a sufficient quorum of validators have certified this round with the same certificate.
#merkle_tree
def merkle_tree() -> ::Google::Cloud::UniversalLedger::V1::MerkleTree
Returns
- (::Google::Cloud::UniversalLedger::V1::MerkleTree) — Output only. Merkle tree having this round as root node and transaction batches (executed in the round) as the leaves.
#round_delta_checksum_hex
def round_delta_checksum_hex() -> ::String
Returns
- (::String) — Output only. The hex representation of the homomorphic digest over the aggregated transaction effects of this round.
#round_id
def round_id() -> ::Integer
Returns
- (::Integer) — Output only. The ID of the round for which the certificate is for.
#round_state_checksum_hex
def round_state_checksum_hex() -> ::String
Returns
- (::String) — Output only. The hex representation of the homomorphic digest over the world state after the effects of this round are applied.
#validator_id
def validator_id() -> ::String
Returns
-
(::String) — Output only. The human readable validator identifier. This is used to look
up the public key against which the
validator_signaturesis verified.
#validator_signatures
def validator_signatures() -> ::Array<::String>
Returns
- (::Array<::String>) — Optional. The signature of the validator. This is signed over the digest of the preceding payload of this record.
#validator_signatures=
def validator_signatures=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Optional. The signature of the validator. This is signed over the digest of the preceding payload of this record.
Returns
- (::Array<::String>) — Optional. The signature of the validator. This is signed over the digest of the preceding payload of this record.