package
3.3.0+incompatible
Repository: https://github.com/minterteam/minter-go-node.git
Documentation: pkg.go.dev

# Functions

BigToAddress converts given big.Int to Address.
No description provided by the author
BytesToAddress converts given byte slice to Address.
BytesToCoinID converts bytes to coin id.
BytesToHash converts given byte slice to Hash.
BytesToPubkey decodes given bytes into Pubkey.
Copy bytes Returns an exact copy of the provided bytes.
EmptyHash checks if given Hash is empty.
No description provided by the author
GetBaseCoin returns the coin symbol of the current ChainID.
GetBaseCoinID returns ID of base coin.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetVersionFromSymbol returns coin version extracted from symbol.
No description provided by the author
No description provided by the author
HexToAddress converts given hex string to Address.
HexToPubkey decodes given string into Pubkey.
IsHexAddress verifies whether a string can represent a valid hex-encoded Minter address or not.
No description provided by the author
NewBitArray returns a new bit array.
No description provided by the author
StringToAddress converts given string to Address.
StrToCoinBaseSymbol converts give string to a coin base symbol.
StrToCoinSymbol converts given string to a coin symbol.
No description provided by the author

# Constants

Types lengths.
BasecoinID is an ID of a base coin.
ChainMainnet is mainnet chain ID of the network.
ChainTestnet is mainnet chain ID of the network.
Types lengths.
Types lengths.
Types lengths.
Types lengths.
No description provided by the author

# Variables

Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
Common big integers often used.
CurrentChainID is current ChainID of the network.

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
BitArray is a thread-safe implementation of a bit array.
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
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
No description provided by the author
No description provided by the author

# Type aliases

Address represents 20-byte address in Minter Blockchain.
ChainID is ID of the network (1 - mainnet, 2 - testnet).
CoinID represents coin id.
CoinSymbol represents the 10 byte coin symbol.
CoinVersion represents coin version info.
Hash represents the 32 byte Keccak256 hash of arbitrary data.
Pubkey represents 32 byte public key of a validator.
StorageSize is a wrapper around a float value that supports user friendly formatting.
TmAddress represents Tendermint address.
UnprefixedHash allows marshaling a Hash without 0x prefix.
No description provided by the author