# Functions
BigToHashSafe ensures that a bignum value is able to fit into a 32 byte buffer before converting it to a common.Hash Returns an error if overflow/truncation would occur by trying to perfom this operation.
Calls f until it returns a non-error result or the context is canceled, with a 200ms delay between calls.
CheckStakeWeightExceedsThreshold returns true if the accumulated signature weight is at least [quorumNum]/[quorumDen] of [totalWeight].
Wrapper for CheckStakeWeightExceedThreshold with a quorumDen of 100.
DialWithConfig dials the provided baseURL with the provided httpHeaders and queryParams.
Converts a '0x'-prefixed hex string or cb58-encoded string to an ID.
NewEthClientWithConfig returns an ethclient.Client with the internal RPC client configured with the provided options.
No description provided by the author
No description provided by the author
SanitizeHexString removes the "0x" prefix from a hex string if it exists.
StripFromString strips the input string starting from the first occurrence of the substring.
# Constants
No description provided by the author
# Variables
No description provided by the author
Generic private key parsing error used to obfuscate the actual error.
Errors.
No description provided by the author
No description provided by the author
# Type aliases
UInt64Heap adapted from https://pkg.go.dev/container/heap#example-package-IntHeap.