bittensor.core.chain_data.weight_commit_info#

Classes#

WeightCommitInfo

Data class representing weight commit information.

Module Contents#

class bittensor.core.chain_data.weight_commit_info.WeightCommitInfo#

Data class representing weight commit information.

Variables:
  • ss58 (str) – The SS58 address of the committer

  • commit_hex (str) – The serialized weight commit data as hex string

  • reveal_round (int) – The round number for reveal

commit_hex: str#
classmethod from_vec_u8(data)#

Creates a WeightCommitInfo instance

Parameters:

data (tuple) – Tuple containing ((AccountId,), (commit_data,), round_number)

Returns:

A new instance with the decoded data

Return type:

WeightCommitInfo

reveal_round: int#
ss58: str#