MCPcopy Create free account
hub / github.com/BitVM/BitVM / max_digit

Method max_digit

bitvm/src/signatures/winternitz.rs:53–55  ·  view source on GitHub ↗

Maximum value of a digit

(&self)

Source from the content-addressed store, hash-verified

51
52 /// Maximum value of a digit
53 pub const fn max_digit(&self) -> u32 {
54 (1 << self.log2_base) - 1
55 }
56
57 /// Maximum byte length of supported messages.
58 pub const fn message_byte_len(&self) -> u32 {

Callers 6

public_key_for_digitFunction · 0.80
checksumFunction · 0.80
add_message_checksumFunction · 0.80
signed_checksumFunction · 0.80
sign_signed_digitsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected