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
Function
createVerifier
()
client/context/context.go:95
↓ 1 callers
Function
decryptPrivKey
(saltBytes []byte, encBytes []byte, passphrase string)
crypto/keys/mintkey/mintkey.go:141
↓ 1 callers
Function
deductFees
Deduct the fee from the account. We could use the CoinKeeper (in addition to the AccountKeeper, because the CoinKeeper doesn't give us accounts), but
x/auth/ante.go:250
↓ 1 callers
Function
delegationHandlerFn
HTTP request handler to query a delegation
x/stake/client/rest/query.go:199
↓ 1 callers
Function
delegationsRequestHandlerFn
TODO: Split this up into several smaller functions, and remove the above nolint TODO: use sdk.ValAddress instead of sdk.AccAddress for validators in m
x/stake/client/rest/tx.go:62
↓ 1 callers
Function
delegatorDelegationsHandlerFn
HTTP request handler to query a delegator delegations
x/stake/client/rest/query.go:108
↓ 1 callers
Function
delegatorRedelegationsHandlerFn
HTTP request handler to query a delegator redelegations
x/stake/client/rest/query.go:118
↓ 1 callers
Function
delegatorTxsHandlerFn
HTTP request handler to query all staking txs (msgs) from a delegator
x/stake/client/rest/query.go:123
↓ 1 callers
Function
delegatorUnbondingDelegationsHandlerFn
HTTP request handler to query a delegator unbonding delegations
x/stake/client/rest/query.go:113
↓ 1 callers
Function
delegatorValidatorHandlerFn
HTTP request handler to get information from a currently bonded validator
x/stake/client/rest/query.go:209
↓ 1 callers
Function
delegatorValidatorsHandlerFn
HTTP request handler to query all delegator bonded validators
x/stake/client/rest/query.go:204
↓ 1 callers
Method
deleteAddrPubkeyRelation
(ctx sdk.Context, addr crypto.Address)
x/slashing/keeper.go:195
↓ 1 callers
Function
deleteKeyCommand
()
client/keys/delete.go:16
↓ 1 callers
Method
deleteVote
(ctx sdk.Context, proposalID uint64, voterAddr sdk.AccAddress)
x/gov/keeper.go:335
↓ 1 callers
Function
depositHandlerFn
(cdc *codec.Codec, cliCtx context.CLIContext)
x/gov/client/rest/rest.go:96
↓ 1 callers
Function
derivePrivateKey
derivePrivateKey derives the private key with index and chainCode. If harden is true, the derivation is 'hardened'. It returns the new private key and
crypto/keys/hd/hdpath.go:209
↓ 1 callers
Method
dirtyItems
Constructs a slice of dirty items, to use w/ memIterator.
store/cachekvstore.go:169
↓ 1 callers
Method
encodeAccount
---------------------------------------- misc.
x/auth/keeper.go:130
↓ 1 callers
Function
encryptPrivKey
encrypt the given privKey with the passphrase using a randomly generated salt and the xsalsa20 cipher. returns the salt and the encrypted priv key.
crypto/keys/mintkey/mintkey.go:106
↓ 1 callers
Function
ensureSufficientMempoolFees
(ctx sdk.Context, stdTx StdTx)
x/auth/ante.go:267
↓ 1 callers
Function
errMissingSeed
()
client/keys/errors.go:17
↓ 1 callers
Function
fingerprintFromFile
(certFile string)
client/lcd/certificates.go:160
↓ 1 callers
Function
fromFields
(from string)
client/context/context.go:141
↓ 1 callers
Function
genCertKeyFilesAndReturnFingerprint
(sslHosts string)
client/lcd/certificates.go:118
↓ 1 callers
Function
generateSelfSignedCert
(host string)
client/lcd/certificates.go:25
↓ 1 callers
Function
getBIP44ParamsAndPath
(path string, flagSet bool)
client/keys/new.go:154
↓ 1 callers
Method
getContextForAnte
retrieve the context for the ante handler and store the tx bytes; store the vote infos if the tx runs within the deliverTx() state.
baseapp/baseapp.go:514
↓ 1 callers
Method
getEgressLength
Retrieves the index of the currently stored outgoing IBC packets.
x/ibc/mapper.go:105
↓ 1 callers
Function
getEndBlocker
gov and stake endblocker
x/gov/test_common.go:55
↓ 1 callers
Function
getHeight
Handle gatest the latest height, if height is 0
store/iavlstore.go:180
↓ 1 callers
Function
getInitChainer
gov and stake initchainer
x/gov/test_common.go:65
↓ 1 callers
Method
getLastValidatorsByAddr
get the last validator set
x/stake/keeper/val_state_change.go:257
↓ 1 callers
Function
getLatestVersion
---------------------------------------- Misc.
store/rootmultistore.go:454
↓ 1 callers
Method
getNewProposalID
Gets the next available ProposalID and increments it
x/gov/keeper.go:208
↓ 1 callers
Method
getOp
Returns false if ver <= 0 || ver > len(pst.ops). The first operation is version 1.
types/context.go:290
↓ 1 callers
Function
getPreviousPercentPrecommitVotes
percent precommit votes for the previous block
x/distribution/abci_app.go:24
↓ 1 callers
Method
getSequence
(node string)
x/ibc/client/cli/relay.go:175
↓ 1 callers
Function
getSignBytesList
(chainID string, stdTx StdTx, stdSigs []StdSignature)
x/auth/ante.go:290
↓ 1 callers
Function
getSignerAccs
(ctx sdk.Context, am AccountKeeper, addrs []sdk.AccAddress)
x/auth/ante.go:141
↓ 1 callers
Method
getStoreByName
Implements MultiStore getStoreByName will first convert the original name to a special key, before looking up the CommitStore. This is not exposed to
store/rootmultistore.go:257
↓ 1 callers
Method
getValidatorMissedBlockBitArray
Stored by *validator* address (not operator address)
x/slashing/signing_info.go:46
↓ 1 callers
Function
getValidatorPowerRank
get the power ranking of a validator NOTE the larger values are of higher value nolint: unparam
x/stake/keeper/key.go:77
↓ 1 callers
Method
handleDoubleSign
handle a validator signing two blocks at the same height power: power of the double-signing validator at the height of infraction
x/slashing/keeper.go:39
↓ 1 callers
Function
handleGaiaCLIHome
(dir string, stdin *bufio.Reader)
client/config.go:78
↓ 1 callers
Function
handleIBCReceiveMsg
IBCReceiveMsg adds coins to the destination address and creates an ingress IBC packet.
x/ibc/handler.go:40
↓ 1 callers
Function
handleIBCTransferMsg
IBCTransferMsg deducts coins from the account and creates an egress IBC packet.
x/ibc/handler.go:23
↓ 1 callers
Function
handleMsgBeginRedelegate
(ctx sdk.Context, msg types.MsgBeginRedelegate, k keeper.Keeper)
x/stake/handler.go:226
↓ 1 callers
Function
handleMsgBeginUnbonding
(ctx sdk.Context, msg types.MsgBeginUnbonding, k keeper.Keeper)
x/stake/handler.go:209
↓ 1 callers
Function
handleMsgCreateValidator
_____________________________________________________________________ These functions assume everything has been authenticated, now we just perform ac
x/stake/handler.go:90
↓ 1 callers
Function
handleMsgDelegate
(ctx sdk.Context, msg types.MsgDelegate, k keeper.Keeper)
x/stake/handler.go:179
↓ 1 callers
Function
handleMsgDeposit
(ctx sdk.Context, keeper Keeper, msg MsgDeposit)
x/gov/handler.go:54
↓ 1 callers
Function
handleMsgEditValidator
(ctx sdk.Context, msg types.MsgEditValidator, k keeper.Keeper)
x/stake/handler.go:141
↓ 1 callers
Function
handleMsgIssue
Handle MsgIssue.
x/bank/handler.go:37
↓ 1 callers
Function
handleMsgModifyWithdrawAddress
_____________________________________________________________________ These functions assume everything has been authenticated, now we just perform ac
x/distribution/handler.go:33
↓ 1 callers
Function
handleMsgSend
Handle MsgSend.
x/bank/handler.go:23
↓ 1 callers
Function
handleMsgSubmitProposal
(ctx sdk.Context, keeper Keeper, msg MsgSubmitProposal)
x/gov/handler.go:27
↓ 1 callers
Function
handleMsgUnjail
Validators must submit a transaction to unjail itself after having been jailed (and thus unbonded) for downtime
x/slashing/handler.go:21
↓ 1 callers
Function
handleMsgVote
(ctx sdk.Context, keeper Keeper, msg MsgVote)
x/gov/handler.go:79
↓ 1 callers
Function
handleMsgWithdrawDelegatorReward
(ctx sdk.Context, msg types.MsgWithdrawDelegatorReward, k keeper.Keeper)
x/distribution/handler.go:59
↓ 1 callers
Function
handleMsgWithdrawDelegatorRewardsAll
(ctx sdk.Context, msg types.MsgWithdrawDelegatorRewardsAll, k keeper.Keeper)
x/distribution/handler.go:46
↓ 1 callers
Function
handleMsgWithdrawValidatorRewardsAll
(ctx sdk.Context, msg types.MsgWithdrawValidatorRewardsAll, k keeper.Keeper)
x/distribution/handler.go:76
↓ 1 callers
Function
handleNode
(stdin *bufio.Reader)
client/config.go:92
↓ 1 callers
Function
handleQueryApp
(app *BaseApp, path []string, req abci.RequestQuery)
baseapp/baseapp.go:318
↓ 1 callers
Function
handleQueryCustom
(app *BaseApp, path []string, req abci.RequestQuery)
baseapp/baseapp.go:384
↓ 1 callers
Function
handleQueryP2P
nolint: unparam
baseapp/baseapp.go:362
↓ 1 callers
Function
handleQueryStore
(app *BaseApp, path []string, req abci.RequestQuery)
baseapp/baseapp.go:350
↓ 1 callers
Function
handleTrustNode
(stdin *bufio.Reader)
client/config.go:106
↓ 1 callers
Method
handleValidatorSignature
handle a validator signature, must be called once per validator per block TODO refactor to take in a consensus address, additionally should maybe just
x/slashing/keeper.go:104
↓ 1 callers
Function
incrementAllSequenceNumbers
(initSeqNums []int64)
x/mock/app.go:273
↓ 1 callers
Method
initChainer
initChainer implements the custom application logic that the BaseApp will invoke upon initialization. In this case, it will take the application's sta
app/app.go:139
↓ 1 callers
Function
initClientCommand
()
client/rpc/root.go:33
↓ 1 callers
Method
initRoutine
Run this to fetch the first item.
store/iavlstore.go:337
↓ 1 callers
Method
initializeContext
(ctx sdk.Context, mode runTxMode)
baseapp/baseapp.go:592
↓ 1 callers
Function
interceptLoadConfig
If a new config is created, change some of the default tendermint settings
server/util.go:78
↓ 1 callers
Function
isEmptyState
(home string)
server/export.go:72
↓ 1 callers
Function
isQueryStoreWithProof
isQueryStoreWithProof expects a format like /<queryType>/<storeName>/<subpath> queryType must be "store" and subpath must be "key" to require a proof.
client/context/query.go:231
↓ 1 callers
Function
isTxSigner
(user sdk.AccAddress, signers []sdk.AccAddress)
client/utils/utils.go:221
↓ 1 callers
Method
iterateRoutine
Run this to funnel items from the tree to iterCh.
store/iavlstore.go:321
↓ 1 callers
Method
iterateValidatorMissedBlockBitArray
Stored by *validator* address (not operator address)
x/slashing/signing_info.go:59
↓ 1 callers
Method
iterateValidatorSigningInfos
Stored by *validator* address (not operator address)
x/slashing/signing_info.go:24
↓ 1 callers
Method
iterateValidatorSlashingPeriods
Iterate over all slashing periods in the store, calling on each decode slashing period a provided handler function Stop if the provided handler functi
x/slashing/slashing_period.go:57
↓ 1 callers
Function
keyCompare
---------------------------------------- Misc. bytes.Compare but bounded on both sides by nil. both (k1, nil) and (nil, k2) return -1
store/memiterator.go:73
↓ 1 callers
Method
loop
This is nolinted as someone is in the process of refactoring this to remove the goto
x/ibc/client/cli/relay.go:94
↓ 1 callers
Function
makeSignCmd
(cdc *amino.Codec, decoder auth.AccountDecoder)
x/auth/client/cli/sign.go:57
↓ 1 callers
Method
maxKeyLength
()
x/params/subspace/table.go:73
↓ 1 callers
Function
mnemonicKeyCommand
()
client/keys/mnemonic.go:19
↓ 1 callers
Function
msgOrDefaultMsg
----------------------------------------
x/bank/errors.go:49
↓ 1 callers
Function
msgOrDefaultMsg
(msg string, code sdk.CodeType)
x/ibc/errors.go:45
↓ 1 callers
Method
nameToKey
(name string)
store/rootmultistore.go:369
↓ 1 callers
Function
neg
(i *big.Int)
types/int.go:31
↓ 1 callers
Function
newCacheMergeIterator
(parent, cache Iterator, ascending bool)
store/cachemergeiterator.go:22
↓ 1 callers
Function
newCacheMultiStoreFromCMS
(cms cacheMultiStore)
store/cachemultistore.go:45
↓ 1 callers
Function
newCacheMultiStoreFromRMS
(rms *rootMultiStore)
store/cachemultistore.go:25
↓ 1 callers
Function
newGasIterator
(gasMeter sdk.GasMeter, gasConfig sdk.GasConfig, parent sdk.Iterator)
store/gaskvstore.go:129
↓ 1 callers
Function
newIAVLStore
CONTRACT: tree should be fully loaded. nolint: unparam
store/iavlstore.go:60
↓ 1 callers
Function
newKeyCommand
()
client/keys/new.go:21
↓ 1 callers
Function
newLedgerInfo
(name string, pub crypto.PubKey, path ccrypto.DerivationPath)
crypto/keys/types.go:131
↓ 1 callers
Function
newLocalInfo
(name string, pub crypto.PubKey, privArmor string)
crypto/keys/types.go:100
↓ 1 callers
Function
newMemIterator
(start, end []byte, items []cmn.KVPair)
store/memiterator.go:18
↓ 1 callers
Function
newOfflineInfo
(name string, pub crypto.PubKey)
crypto/keys/types.go:161
← previous
next →
1,001–1,100 of 2,183, ranked by callers