# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
CalcPastMedianTime calculates the median time of the previous few blocks prior to, and including, the block node.
No description provided by the author
DecodeAndReverseHexString decodes the given hex string and then reverses the bytes.
DisableCanonicalMode disables canonical mode on the terminal.
GetBitcoinHash calculates the Bitcoin hash of the given bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ISOFormat formats a date to ISO 8601 format.
No description provided by the author
No description provided by the author
RestoreTTY restores the previous state of the terminal.
No description provided by the author
ReverseAndHexEncodeSlice encodes the given byte slice to a hex string and then reverses the bytes.
No description provided by the author
Reverse the elements of a 32 byte hash in place.
ReverseSlice reverses the order of the items in the slice.
ReverseSliceInPlace reverses the given slice in place.
SafeSend is a helper function that sends a value on a channel and returns.
Sha256d calculates hash(hash(b)) and returns the resulting bytes.
No description provided by the author
# Constants
No description provided by the author
# Structs
No description provided by the author
Pair is a simple struct that holds two values.
# Interfaces
No description provided by the author
# Type aliases
--------------------------------------------------------------------- The PasswordCredentials type and the receivers it implements, allow us to use the grpc.WithPerRPCCredentials() dial option to pass credentials to downstream middleware.