package
0.6.11
Repository: https://github.com/lino-network/lino.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

ErrAccountParamNotFound - error when account param is empty.
ErrBandwidthParamNotFound - error when bandwidth param is empty.
ErrCoinDayParamNotFound - error when coin day param is empty.
ErrDeveloperParamNotFound - error when developer param is empty.
ErrEvaluateOfContentValueParamNotFound - error when evaluate of content value param is empty.
ErrFailedToMarshalAccountParam - error when marshal account param failed.
ErrFailedToMarshalBandwidthParam - error when marshal bandwidth day param failed.
ErrFailedToMarshalCoinDayParam - error when marshal coin day param failed.
ErrFailedToMarshalDeveloperParam - error when marshal developer param failed.
ErrFailedToMarshalEvaluateOfContentValueParam - error when marshal evaluate of content value param failed.
ErrFailedToUnmarshalAccountParam - error when marshal global allocation param failed.
ErrFailedToMarshalPostParam - error when marshal post param failed.
ErrFailedToMarshalProposalParam - error when marshal proposal param failed.
ErrFailedToMarshalReputationParam - error when marshal reputation failed.
ErrFailedToMarshalValidatorParam - error when marshal validator param failed.
ErrFailedToMarshalVoteParam - error when marshal vote param failed.
ErrFailedToUnmarshalAccountParam - error when unmarshal account param failed.
ErrFailedToUnmarshalBandwidthParam - error when unmarshal bandwidth param failed.
ErrFailedToUnmarshalCoinDayParam - error when unmarshal coin day param failed.
ErrFailedToUnmarshalDeveloperParam - error when unmarshal developer param failed.
ErrFailedToUnmarshalEvaluateOfContentValueParam - error when unmarshal evaluate of content value param failed.
ErrFailedToUnmarshalGlobalAllocationParam - error when unmarshal global allocation param failed.
ErrFailedToUnmarshalPostParam - error when unmarshal post param failed.
ErrFailedToUnmarshalProposalParam - error when unmarshal proposal param failed.
ErrFailedToUnmarshalReputationParam - error when unmarshal reputation param failed.
ErrFailedToUnmarshalValidatorParam - error when unmarshal validator param failed.
ErrFailedToUnmarshalVoteParam - error when unmarshal vote param failed.
ErrGlobalAllocationParamNotFound - error when global allocation param is empty.
ErrInvalidaParameter - error when propose a proposal with invalid parameter.
ErrParamHolderGenesisFailed - error when genesis failed.
ErrPostParamNotFound - error when post param is empty.
ErrProposalParamNotFound - error when proposal param is empty.
ErrQueryFailed - error when query parameter store failed.
ErrReputationParamNotFound - error when reputation param is empty.
ErrValidatorParamNotFound - error when validator param is empty.
ErrVoteParamNotFound - error when vote param is empty.
GetAccountParamKey - "account param substore".
GetAllocationParamKey - "allocation param substore".
GetBandwidthParamKey - "bandwidth param substore".
GetCoinDayParamKey - "coin day param substore".
GetDeveloperParamKey - "developer param substore".
GetEvaluateOfContentValueParamKey - "evaluate of content value param substore".
GetPostParamKey - "post param substore".
GetPriceParamKey.
GetProposalParamKey - "proposal param substore".
GetAccountParamKey - "account param substore".
GetValidatorParamKey - "validator param substore".
GetVoteParamKey - "vote param substore".
NewParamHolder - create a new parameter KVStore.
creates a querier for account REST endpoints.

# Constants

ModuleKey is the name of the module.
QuerierRoute is the querier route for param.
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
RouterKey is the message route for param.

# Variables

AnnualInflationCeiling - annual inflation upper bound.
AnnualInflationFloor - annual inflation lower bound.

# Structs

AccountParam - account parameters MinimumBalance - minimum balance each account need to maintain RegisterFee - register fee need to pay to developer inflation pool for each account registration FirstDepositFullCoinDayLimit - when register account, some of coin day of register fee to newly open account will be fully charged MaxNumFrozenMoney - the upper limit for each person's ongoing frozen money.
No description provided by the author
ChangeParamEvent - change parameter event.
CoinDayParam - coin day parameters SecondsToRecoverCoinDay - seconds for each incoming balance coin day fully charged.
DeveloperParam - developer parameters DeveloperMinDeposit - minimum deposit to become a developer DeveloperCoinReturnIntervalSec - when withdraw or revoke, coin return to developer by coin return event DeveloperCoinReturnTimes - when withdraw or revoke, coin return to developer by coin return event.
GlobalAllocationParam - global allocation parameters ContentCreatorAllocation - percentage for all content creator related allocation DeveloperAllocation - percentage of inflation for developers ValidatorAllocation - percentage of inflation for validators.
ParamHolder - parameter KVStore.
PostParam - post parameters ReportOrUpvoteIntervalSec - report interval second PostIntervalSec - post interval second.
PriceParam - parameters of price module.
ProposalParam - proposal parameters ContentCensorshipDecideSec - seconds after content censorship proposal created till expired ContentCensorshipMinDeposit - minimum deposit to propose content censorship proposal ContentCensorshipPassRatio - upvote and downvote ratio for content censorship proposal ContentCensorshipPassVotes - minimum voting power required to pass content censorship proposal ChangeParamDecideSec - seconds after parameter change proposal created till expired ChangeParamExecutionSec - seconds after parameter change proposal pass till execution ChangeParamMinDeposit - minimum deposit to propose parameter change proposal ChangeParamPassRatio - upvote and downvote ratio for parameter change proposal ChangeParamPassVotes - minimum voting power required to pass parameter change proposal ProtocolUpgradeDecideSec - seconds after protocol upgrade proposal created till expired ProtocolUpgradeMinDeposit - minimum deposit to propose protocol upgrade proposal ProtocolUpgradePassRatio - upvote and downvote ratio for protocol upgrade proposal ProtocolUpgradePassVotes - minimum voting power required to pass protocol upgrade proposal.
ReputationParam: parameters of reputation BestContentIndexN - hard cap of how many content can be indexed every round.
ValidatorParam - validator parameters ValidatorMinDeposit - minimum deposit requirement for user wanna be validator ValidatorCoinReturnIntervalSec - when withdraw or revoke, coin return to validator by coin return event ValidatorCoinReturnTimes - when withdraw or revoke, coin return to validator by coin return event minus PenaltyMissCommit amount of Coin from validator deposit PenaltyMissCommit - when missing block till AbsentCommitLimitation, minus PenaltyMissCommit amount of Coin from validator deposit PenaltyByzantine - when validator acts as byzantine (double sign, for example), minus PenaltyByzantine amount of Coin from validator deposit AbsentCommitLimitation - absent block limitation till penalty OncallSize - the size of oncall validators StandbySize - the size of standby validators ValidatorRevokePendingSec - how many seconds before unassign validator duty OncallInflationWeight - oncall validator's weight when distributing inflation StandbyInflationWeight - standby validator's weight when distributing inflation MaxVotedValidators - the number of max validators one voter can vote SlashLimitation - slash limitation till into jail.
VoteParam - vote parameters MinStakeIn - minimum stake for stake in msg VoterCoinReturnIntervalSec - when withdraw or revoke, the deposit return to voter by return event VoterCoinReturnTimes - when withdraw or revoke, the deposit return to voter by return event DelegatorCoinReturnIntervalSec - when withdraw or revoke, the deposit return to delegator by return event DelegatorCoinReturnTimes - when withdraw or revoke, the deposit return to delegator by return event.

# Interfaces

Parameter - parameter in Lino Blockchain.
No description provided by the author