package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
EthereumChecksumAddress is a simple utility function to ensure all ethereum addresses used in vega are checksumed this expects a hex encoded string.
EthereumIsValidAddress returns whether the given string is a valid ethereum address.
No description provided by the author
No description provided by the author
HashStrToHex hash a string returns a hex encoded string of the result.
HashToHex hash the input bytes and returns a hex encoded string of the result.
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
PoW calculates proof of work given block hash, transaction hash, target difficulty and a hash function.
No description provided by the author
Verify checks that the hash with the given nonce results in the target difficulty.
# Constants
No description provided by the author