Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OCEChain/OCEChain
/ functions
Functions
2,183 in github.com/OCEChain/OCEChain
⨍
Functions
2,183
◇
Types & classes
280
↓ 1 callers
Method
SetMinimumFees
SetMinimumFees sets the minimum fees.
baseapp/baseapp.go:195
↓ 1 callers
Method
SetNewValidatorByPowerIndex
validator index
x/stake/keeper/validator.go:118
↓ 1 callers
Method
SetPubKey
can return nil.
x/auth/account.go:22
↓ 1 callers
Method
SetTallyResult
(TallyResult)
x/gov/proposals.go:32
↓ 1 callers
Method
SetTotalDeposit
(sdk.Coins)
x/gov/proposals.go:41
↓ 1 callers
Method
SetVotingEndTime
(time.Time)
x/gov/proposals.go:47
↓ 1 callers
Method
SetVotingStartTime
(time.Time)
x/gov/proposals.go:44
↓ 1 callers
Function
ShowAddressCmd
ShowAddressCmd - show this node's validator address
server/tm_cmds.go:63
↓ 1 callers
Function
ShowNodeIDCmd
ShowNodeIDCmd - ported from Tendermint, dump node ID to stdout
server/tm_cmds.go:18
↓ 1 callers
Function
ShowValidatorCmd
ShowValidator - ported from Tendermint, show this node's validator info
server/tm_cmds.go:35
↓ 1 callers
Method
Sign
Sign returns sign of Int
types/int.go:156
↓ 1 callers
Method
Sign
Sign signs a transaction given a name, passphrase, and a single message to signed. An error is returned if signing fails.
x/auth/client/txbuilder/txbuilder.go:114
↓ 1 callers
Method
SignSECP256K1
([]uint32, []byte)
crypto/ledger_secp256k1.go:32
↓ 1 callers
Function
SignTxRequestHandlerFn
nolint: unparam sign tx REST handler
x/auth/client/rest/sign.go:27
↓ 1 callers
Method
SlashFractionDoubleSign
SlashFractionDoubleSign - currently default 5%
x/slashing/params.go:113
↓ 1 callers
Method
SlashFractionDowntime
SlashFractionDowntime - currently default 1%
x/slashing/params.go:119
↓ 1 callers
Function
SortJSON
SortedJSON takes any JSON and returns it sorted by keys. Also, all white-spaces are removed. This method can be used to canonicalize JSON to be return
types/utils.go:17
↓ 1 callers
Function
StartCmd
StartCmd runs the service passed in, either stand-alone or in-process with Tendermint.
server/start.go:28
↓ 1 callers
Function
StdSignBytes
StdSignBytes returns the bytes to sign for a transaction.
x/auth/stdtx.go:116
↓ 1 callers
Method
String
()
types/coin.go:92
↓ 1 callers
Method
String
()
types/decimal.go:255
↓ 1 callers
Method
Sub
Sub subtracts Uint from another
types/int.go:423
↓ 1 callers
Function
TestAddr
for incode address generation
x/stake/keeper/test_common.go:137
↓ 1 callers
Function
ToABCICode
get the abci code from the local code and codespace
types/errors.go:31
↓ 1 callers
Method
ToAppAccount
ToAppAccount converts a GenesisAccount to an AppAccount.
app/app.go:255
↓ 1 callers
Method
TotalPower
(ctx sdk.Context)
x/mint/expected_keepers.go:9
↓ 1 callers
Method
TracingEnabled
TracingEnabled returns if tracing is enabled for the MultiStore.
store/rootmultistore.go:174
↓ 1 callers
Function
TransientGasConfig
TransientGasConfig returns a default gas config for TransientStores.
types/gas.go:104
↓ 1 callers
Method
TransientStore
TransientStore fetches a TransientStore from the MultiStore.
types/context.go:80
↓ 1 callers
Function
TrapSignal
TrapSignal traps SIGINT and SIGTERM and terminates the server correctly.
server/util.go:210
↓ 1 callers
Method
Uint64
Uint64 converts Uint to uint64 Panics if the value is out of range
types/int.go:370
↓ 1 callers
Method
UnbondAllMatureValidatorQueue
Unbonds all the unbonding validators that have finished their unbonding period
x/stake/keeper/validator.go:381
↓ 1 callers
Method
UnbondingQueueIterator
Returns all the unbonding queue timeslices from time 0 until endTime
x/stake/keeper/delegation.go:190
↓ 1 callers
Method
Unjail
jail a validator
types/stake.go:81
↓ 1 callers
Method
Unmarshal
Unmarshal needed for protobuf compatibility
x/gov/depositsvotes.go:92
↓ 1 callers
Function
UnmarshalDelegation
return the delegation without fields contained within the key for the store
x/stake/types/delegation.go:63
↓ 1 callers
Function
UnmarshalParams
unmarshal the current staking params value from store key
x/stake/types/params.go:87
↓ 1 callers
Function
UnmarshalPool
unmarshal the current pool value from store key
x/stake/types/pool.go:92
↓ 1 callers
Function
UnmarshalRED
unmarshal a redelegation from a store key and value
x/stake/types/delegation.go:247
↓ 1 callers
Function
UnmarshalUBD
unmarshal a unbonding delegation from a store key and value
x/stake/types/delegation.go:155
↓ 1 callers
Function
UnmarshalValidator
unmarshal a redelegation from a store key and value
x/stake/types/validator.go:103
↓ 1 callers
Function
UnsafeResetAllCmd
UnsafeResetAllCmd - extension of the tendermint command, resets initialization
server/tm_cmds.go:97
↓ 1 callers
Method
UpdateDescription
UpdateDescription updates the fields of a given description. An error is returned if the resulting description contains an invalid length.
x/stake/types/validator.go:268
↓ 1 callers
Method
UpdateTotalDelAccum
update total delegator accumululation
x/distribution/types/validator_info.go:52
↓ 1 callers
Method
UpdateTotalValAccum
update total validator accumulation factor NOTE: Do not call this except from ValidatorDistInfo.TakeFeePoolRewards().
x/distribution/types/fee_pool.go:16
↓ 1 callers
Method
UpdateValidatorCommission
UpdateValidatorCommission attempts to update a validator's commission rate. An error is returned if the new commission rate is invalid.
x/stake/keeper/validator.go:171
↓ 1 callers
Function
ValAddressFromBech32
ValAddressFromBech32 creates a ValAddress from a Bech32 string.
types/address.go:173
↓ 1 callers
Method
Valid
()
store/memiterator.go:37
↓ 1 callers
Method
ValidateBasic
Implements Msg.
x/gov/msgs.go:39
↓ 1 callers
Method
ValidateBasic
Implements Msg.
x/gov/msgs.go:106
↓ 1 callers
Method
ValidateBasic
Implements Msg.
x/gov/msgs.go:167
↓ 1 callers
Method
ValidateNewRate
ValidateNewRate performs basic sanity validation checks of a new commission rate. If validation fails, an SDK error is returned.
x/stake/types/commission.go:108
↓ 1 callers
Function
ValidatorSetRequestHandlerFn
REST Validator Set at a height REST handler
client/rpc/validators.go:137
↓ 1 callers
Method
Value
Value implements the Iterator interface. It returns the current value and it does not incur any gas cost.
store/gaskvstore.go:167
↓ 1 callers
Function
VoteOptionFromString
String to proposalType byte. Returns ff if invalid.
x/gov/depositsvotes.go:60
↓ 1 callers
Method
WithChainID
(chainID string)
types/context.go:210
↓ 1 callers
Method
WithDefaultCodespace
set codespace
types/errors.go:177
↓ 1 callers
Method
WithGas
WithGas returns a copy of the context with an updated gas.
x/auth/client/txbuilder/txbuilder.go:62
↓ 1 callers
Method
WithIsCheckTx
(isCheckTx bool)
types/context.go:222
↓ 1 callers
Method
WithLogger
(logger log.Logger)
types/context.go:214
↓ 1 callers
Method
WithMemo
WithMemo returns a copy of the context with an updated memo.
x/auth/client/txbuilder/txbuilder.go:80
↓ 1 callers
Function
WithSigners
add the signers to the context
x/auth/context.go:37
↓ 1 callers
Method
WithdrawCommission
withdraw commission rewards
x/distribution/types/validator_info.go:109
↓ 1 callers
Method
WithdrawDelegationRewardsAll
___________________________________________________________________________________________ return all rewards for all delegations of a delegator
x/distribution/keeper/delegation.go:160
↓ 1 callers
Method
WithdrawRewards
Withdraw rewards from delegator. Among many things, it does: * updates validator info's total del accum * calls vi.TakeFeePoolRewards, which: * update
x/distribution/types/delegator_info.go:37
↓ 1 callers
Method
Write
()
types/store.go:89
↓ 1 callers
Function
WriteGenerateStdTxResponse
WriteGenerateStdTxResponse writes response for the generate_only mode.
client/utils/rest.go:99
↓ 1 callers
Function
WriteSimulationResponse
WriteSimulationResponse prepares and writes an HTTP response for transactions simulations.
client/utils/rest.go:37
↓ 1 callers
Method
activateVotingPeriod
(ctx sdk.Context, proposal Proposal)
x/gov/keeper.go:231
↓ 1 callers
Function
addKeyCommand
()
client/keys/add.go:29
↓ 1 callers
Function
addScalars
modular big endian addition
crypto/keys/hd/hdpath.go:233
↓ 1 callers
Function
addrToIP
(addr net.Addr)
server/util.go:236
↓ 1 callers
Function
adjustFeesByGas
(fees sdk.Coins, gas int64)
x/auth/ante.go:237
↓ 1 callers
Function
adjustGasEstimate
(estimate int64, adjustment float64)
client/utils/utils.go:156
↓ 1 callers
Method
assertValidValue
(value []byte)
store/cachekvstore.go:200
↓ 1 callers
Function
bech32ValidatorOutput
(validator *tmtypes.Validator)
client/rpc/validators.go:53
↓ 1 callers
Method
beginUnbondingValidator
perform all the store operations for when a validator status begins unbonding
x/stake/keeper/val_state_change.go:210
↓ 1 callers
Method
bondedToUnbonding
Validator state transitions
x/stake/keeper/val_state_change.go:128
↓ 1 callers
Method
broadcastTx
nolint: unparam
x/ibc/client/cli/relay.go:170
↓ 1 callers
Method
broadcastTxAsync
(txBytes []byte)
client/context/broadcast.go:100
↓ 1 callers
Method
broadcastTxCommit
(txBytes []byte)
client/context/broadcast.go:128
↓ 1 callers
Function
buildCommissionMsg
(rateStr, maxRateStr, maxChangeRateStr string)
x/stake/client/cli/utils.go:66
↓ 1 callers
Function
buildMsg
(from sdk.AccAddress)
x/ibc/client/cli/ibctx.go:59
↓ 1 callers
Function
buildUnsignedStdTx
buildUnsignedStdTx builds a StdTx as per the parameters passed in the contexts. Gas is automatically estimated if gas wanted is set to 0.
client/utils/utils.go:192
↓ 1 callers
Method
bump
(op Op)
types/context.go:275
↓ 1 callers
Function
calcPrecisionMultiplier
calculate the precision multiplier
types/decimal.go:53
↓ 1 callers
Method
capBySlashingPeriod
Cap an infraction's slash amount by the slashing period in which it was committed
x/slashing/slashing_period.go:12
↓ 1 callers
Function
chopPrecisionAndTruncate
___________________________________________________________________________________ similar to chopPrecisionAndRound, but always rounds down
types/decimal.go:354
↓ 1 callers
Method
clearValidatorMissedBlockBitArray
Stored by *validator* address (not operator address)
x/slashing/signing_info.go:84
↓ 1 callers
Function
codeToDefaultMsg
NOTE: Don't stringer this, we'll put better messages in later.
x/bank/errors.go:17
↓ 1 callers
Function
codeToDefaultMsg
(code sdk.CodeType)
x/ibc/errors.go:17
↓ 1 callers
Function
commitStores
Commits each store and returns a new commitInfo.
store/rootmultistore.go:476
↓ 1 callers
Method
completeUnbondingValidator
perform all the store operations for when a validator status becomes unbonded
x/stake/keeper/val_state_change.go:245
↓ 1 callers
Function
consumeSignatureVerificationGas
(meter sdk.GasMeter, pubkey crypto.PubKey)
x/auth/ante.go:226
↓ 1 callers
Function
cpDecr
copied from github.com/tendermint/tendermint/libs/db/util.go
store/prefixstore.go:201
↓ 1 callers
Function
createGaiaCLIConfig
(cfg *cliConfig)
client/config.go:110
↓ 1 callers
Function
createHandler
(cdc *codec.Codec)
client/lcd/root.go:150
↓ 1 callers
Function
createTestAddrs
nolint: unparam
x/stake/keeper/test_common.go:160
↓ 1 callers
Function
createTestCodec
()
x/slashing/test_common.go:42
↓ 1 callers
Function
createTestPubKeys
nolint: unparam
x/stake/keeper/test_common.go:179
← previous
next →
901–1,000 of 2,183, ranked by callers