package
0.0.0-20210412185903-ed80a23ed134
Repository: https://github.com/bococoin/core.git
Documentation: pkg.go.dev

# Packages

Package errors implements custom error interfaces for cosmos-sdk.
Package module contains application module patterns and associated "manager" functionality.
Package rest provides HTTP types and primitives for REST requests validation and responses handling.

# Functions

TokensFromConsensusPower - convert input power to tokens.
TokensToConsensusPower - convert input tokens to potential consensus-engine power.

# Constants

AddrLen defines a valid address length.
Bech32PrefixAccAddr defines the Bech32 prefix of an account's address.
Bech32PrefixAccAddr defines the Bech32 prefix of an account's address.
Bech32PrefixAccPub defines the Bech32 prefix of an account's public key.
Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address.
Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key.
Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address.
Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
seconds.
staking constants.
staking constants.
staking constants.
staking constants.
No description provided by the author
0x80000BCC.
No description provided by the author
No description provided by the author
default bond denomination.
No description provided by the author
100 000 000 BCC.
No description provided by the author
No description provided by the author
Add coins to fee pool every 100 block to decrease blockchain fast growing.
minting 4 BCC per block.
minimum tokens to be a validator.
No description provided by the author
BIP44Prefix is the parts of the BIP44 HD path that are fixed by what we used during the fundraiser.
1BCC = 1000000ubcc.
PrefixAccount is the prefix for account keys.
PrefixAddress is the prefix for addresses.
PrefixConsensus is the prefix for consensus keys.
PrefixOperator is the prefix for operator keys.
PrefixPublic is the prefix for public keys.
PrefixValidator is the prefix for validator keys.
staking constants.
staking constants.
Delay, in blocks, between when validator updates are returned to the consensus-engine and when they are applied.

# Variables

PowerReduction is the amount of staking tokens required for 1 unit of consensus-engine power.

# Type aliases

BondStatus is the status of a validator.