Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tendermint/tendermint
/ functions
Functions
9,600 in github.com/tendermint/tendermint
⨍
Functions
9,600
◇
Types & classes
1,209
↓ 1 callers
Function
addQueryFlags
()
abci/cmd/abci-cli/abci-cli.go:122
↓ 1 callers
Method
addTx
Called from: - resCbFirstTime (lock not held) if tx is valid
internal/mempool/v0/clist_mempool.go:324
↓ 1 callers
Method
addVerifiedVote
Assumes signature is valid. If conflicting vote exists, returns it.
types/vote_set.go:231
↓ 1 callers
Method
addVote
NOTE: Validates as much as possible before attempting to verify the signature.
types/vote_set.go:154
↓ 1 callers
Method
addVote
(vote *types.Vote, peerID types.NodeID)
internal/consensus/state.go:2048
↓ 1 callers
Method
add_inventory_group
Method to create group dict
networks/remote/ansible/inventory/digital_ocean.py:419
↓ 1 callers
Method
all_active_droplets
(self)
networks/remote/ansible/inventory/digital_ocean.py:184
↓ 1 callers
Method
all_domains
(self)
networks/remote/ansible/inventory/digital_ocean.py:205
↓ 1 callers
Method
all_images
(self, filter_name='global')
networks/remote/ansible/inventory/digital_ocean.py:192
↓ 1 callers
Method
all_regions
(self)
networks/remote/ansible/inventory/digital_ocean.py:188
↓ 1 callers
Method
all_ssh_keys
(self)
networks/remote/ansible/inventory/digital_ocean.py:201
↓ 1 callers
Method
all_tags
(self)
networks/remote/ansible/inventory/digital_ocean.py:213
↓ 1 callers
Function
analyseSelectionLayout
Analyze the layout of the selection specified by 'addrs' Returns: - seqLens - the lengths of the sequences of addresses of same type - seqTypes - the
internal/p2p/pex/addrbook_test.go:750
↓ 1 callers
Method
and
(o *BitArray)
libs/bits/bit_array.go:157
↓ 1 callers
Method
applyBlock
(blockID types.BlockID, block *types.Block)
internal/blocksync/v2/processor_context.go:12
↓ 1 callers
Method
applyRemovals
Removes the validators specified in 'deletes' from validator set 'vals'. Should not fail as verification has been done before. Expects vals to be sort
types/validator_set.go:557
↓ 1 callers
Function
argsToURLValues
(args map[string]interface{})
rpc/jsonrpc/client/encode.go:11
↓ 1 callers
Function
arrayParamsToArgs
( rpcFunc *RPCFunc, params []json.RawMessage, argsOffset int, )
rpc/jsonrpc/server/http_json_handler.go:194
↓ 1 callers
Function
assertAppHashEqualsOneFromBlock
(appHash []byte, block *types.Block)
internal/consensus/replay.go:528
↓ 1 callers
Function
assertBadProof
This makes sure that the proof doesn't deserialize into something valid.
types/tx_test.go:132
↓ 1 callers
Method
backwards
backwards verification (see VerifyHeaderBackwards func in the spec) verifies headers before a trusted header. If a sent header is invalid the primary
light/client.go:866
↓ 1 callers
Method
ban
(banTime time.Duration)
internal/p2p/pex/known_address.go:59
↓ 1 callers
Method
batchDelete
(batch dbm.Batch, numToPrune uint16)
light/store/db/db.go:260
↓ 1 callers
Method
batchExpiredPendingEvidence
(batch dbm.Batch)
internal/evidence/pool.go:455
↓ 1 callers
Function
benchmarkEventBus
(numClients int, randQueries bool, randEvents bool, b *testing.B)
types/event_bus_test.go:417
↓ 1 callers
Method
broadcastEvidenceLoop
broadcastEvidenceLoop starts a blocking process that continuously reads pieces of evidence off of a linked-list and sends the evidence in a p2p Envelo
internal/evidence/reactor.go:297
↓ 1 callers
Method
broadcastHasVoteMessage
(vote *types.Vote)
internal/consensus/reactor.go:376
↓ 1 callers
Method
broadcastNewRoundStepMessage
(rs *cstypes.RoundState)
internal/consensus/reactor.go:346
↓ 1 callers
Method
broadcastNewValidBlockMessage
(rs *cstypes.RoundState)
internal/consensus/reactor.go:358
↓ 1 callers
Method
broadcastStatusRequest
()
internal/blocksync/v2/io.go:24
↓ 1 callers
Method
broadcastTxRoutine
(peerID types.NodeID, closer *tmsync.Closer)
internal/mempool/v0/reactor.go:302
↓ 1 callers
Function
buildAppStateFromChain
( proxyApp proxy.AppConns, stateStore sm.Store, mempool mempool.Mempool, evpool sm.EvidencePool, state sm
internal/consensus/replay_test.go:834
↓ 1 callers
Function
buildTMStateFromChain
( cfg *config.Config, mempool mempool.Mempool, evpool sm.EvidencePool, stateStore sm.Store, state sm.Stat
internal/consensus/replay_test.go:883
↓ 1 callers
Method
build_inventory
Build Ansible inventory of droplets
networks/remote/ansible/inventory/digital_ocean.py:434
↓ 1 callers
Function
byteChunk
byteChunk returns the chunk at a given index from the full byte slice.
test/e2e/app/snapshots.go:160
↓ 1 callers
Function
byteChunks
byteChunks calculates the number of chunks in the byte slice.
test/e2e/app/snapshots.go:174
↓ 1 callers
Function
bytesToEv
(evBytes []byte)
internal/evidence/pool.go:599
↓ 1 callers
Method
calcOldBucket
hash(key + group + int64(hash(key + addr)) % buckets_per_group) % num_old_buckets
internal/p2p/pex/addrbook.go:861
↓ 1 callers
Method
calculatePrevoteMessageDelayMetrics
()
internal/consensus/state.go:2387
↓ 1 callers
Method
canAddTx
canAddTx returns an error if we cannot insert the provided *WrappedTx into the mempool due to mempool configured constraints. Otherwise, nil is return
internal/mempool/v1/mempool.go:714
↓ 1 callers
Method
canSend
Goroutine-safe Use only as a heuristic.
internal/p2p/conn/connection.go:835
↓ 1 callers
Method
catchupReplay
Replay only those messages since the last block. `timeoutRoutine` should run concurrently to read off tickChan.
internal/consensus/replay.go:94
↓ 1 callers
Method
checkDoubleSigningRisk
look back to check existence of the node's consensus votes before joining consensus
internal/consensus/state.go:2363
↓ 1 callers
Function
checkForExistingProviders
(db dbm.DB)
cmd/tendermint/commands/light.go:203
↓ 1 callers
Function
checkGenesisHash
(config *cfg.Config)
cmd/tendermint/commands/run_node.go:155
↓ 1 callers
Function
checkProposalsOnlyDifferByTimestamp
returns the timestamp from the lastSignBytes. returns true if the only difference in the proposals is their timestamp
privval/file.go:436
↓ 1 callers
Method
checkSeeds
checkSeeds checks that addresses are well formed. Returns number of seeds we can connect to, along with all seeds addrs. return err if user provided a
internal/p2p/pex/pex_reactor.go:604
↓ 1 callers
Method
checkTotalSizeLimit
()
internal/libs/autofile/group.go:268
↓ 1 callers
Function
checkVotesOnlyDifferByTimestamp
----------------------------------------------------------------------------------------- returns the timestamp from the lastSignBytes. returns true i
privval/file.go:416
↓ 1 callers
Method
cleanupCrawlPeerInfos
()
internal/p2p/pex/pex_reactor.go:734
↓ 1 callers
Function
cleanupDir
cleanupDir cleans up a testnet directory
test/e2e/runner/cleanup.go:41
↓ 1 callers
Function
cleanupDocker
cleanupDocker removes all E2E resources (with label e2e=True), regardless of testnet.
test/e2e/runner/cleanup.go:23
↓ 1 callers
Function
clockToTime
clockToTime converts a clock() timestamp to an absolute time.Time value.
internal/libs/flowrate/util.go:26
↓ 1 callers
Method
closeFileRoutine
()
internal/libs/autofile/autofile.go:102
↓ 1 callers
Function
cmdCheckTx
Validate a tx
abci/cmd/abci-cli/abci-cli.go:501
↓ 1 callers
Function
cmdCommit
Get application Merkle root hash
abci/cmd/abci-cli/abci-cli.go:527
↓ 1 callers
Function
cmdDeliverTx
Append a new tx to application
abci/cmd/abci-cli/abci-cli.go:475
↓ 1 callers
Function
cmdEcho
Have the application echo a message
abci/cmd/abci-cli/abci-cli.go:441
↓ 1 callers
Function
cmdInfo
Get some info from the application
abci/cmd/abci-cli/abci-cli.go:457
↓ 1 callers
Function
cmdQuery
Query application state
abci/cmd/abci-cli/abci-cli.go:539
↓ 1 callers
Function
cmdUnimplemented
(cmd *cobra.Command, args []string)
abci/cmd/abci-cli/abci-cli.go:417
↓ 1 callers
Function
combineURL
(rootURL, subURL string)
internal/p2p/upnp/upnp.go:252
↓ 1 callers
Function
combiner
combiner is a utility function for combinations.
test/e2e/generator/random.go:36
↓ 1 callers
Function
compactGoLevelDBs
(rootDir string, logger log.Logger)
cmd/tendermint/commands/compact.go:40
↓ 1 callers
Method
compareFirstHeaderWithWitnesses
compareFirstHeaderWithWitnesses concurrently compares h with all witnesses. If any witness reports a different header than h, the function returns an
light/client.go:1076
↓ 1 callers
Method
compareWithLatestHeight
(height int64)
light/client.go:332
↓ 1 callers
Function
compileCondition
(cond syntax.Condition)
libs/pubsub/query/query.go:164
↓ 1 callers
Function
compose
--------------------------------------------------------------------------------
abci/cmd/abci-cli/abci-cli.go:281
↓ 1 callers
Function
computeDHSecret
computeDHSecret computes a Diffie-Hellman shared secret key from our own local private key and the other's public key.
privval/secret_connection.go:372
↓ 1 callers
Function
computeHashFromAunts
Use the leafHash and innerHashes to get the root merkle hash. If the length of the innerHashes slice isn't exactly correct, the result is nil. Recursi
crypto/merkle/proof.go:151
↓ 1 callers
Function
computeNewPriorities
computeNewPriorities computes the proposer priority for the validators not present in the set based on 'updatedTotalVotingPower'. Leaves unchanged the
types/validator_set.go:474
↓ 1 callers
Method
configurePeers
configurePeers configures peers in the peer store with ephemeral runtime configuration, e.g. PersistentPeers. It also removes ourself, if we're in the
internal/p2p/peermanager.go:378
↓ 1 callers
Method
connectPeer
(ctx context.Context, address NodeAddress)
internal/p2p/router.go:703
↓ 1 callers
Method
consensusParams
consensusParams sends out a request for consensus params blocking until one is returned. It attempts to send requests to all witnesses in parallel, b
internal/statesync/stateprovider.go:360
↓ 1 callers
Function
copyConfig
copyConfig copies the Tendermint node's config file. It returns an error if the config file cannot be read or copied.
cmd/tendermint/commands/debug/util.go:60
↓ 1 callers
Function
copyEnvVars
This copies all variables like TMROOT to TM_ROOT, so we can support both formats for the user
libs/cli/setup.go:59
↓ 1 callers
Function
crashWALandCheckLiveness
(t *testing.T, consensusReplayConfig *config.Config, initFn func(dbm.DB, *State, context.Context), heightToSt
internal/consensus/replay_test.go:141
↓ 1 callers
Method
crawlPeersRoutine
---------------------------------------------------------- Explores the network searching for more peers. (continuous) Seed/Crawler Mode causes this n
internal/p2p/pex/pex_reactor.go:659
↓ 1 callers
Function
createAndStartPrivValidatorGRPCClient
( cfg *config.Config, chainID string, logger log.Logger, )
node/node.go:1215
↓ 1 callers
Function
createAndStartPrivValidatorSocketClient
( listenAddr, chainID string, logger log.Logger, )
node/node.go:1184
↓ 1 callers
Function
createAndStartProxyAppConns
nolint:lll
node/setup.go:97
↓ 1 callers
Function
createBlockchainReactor
( logger log.Logger, cfg *config.Config, state sm.State, blockExec *sm.BlockExecutor, blockStore *store.B
node/setup.go:328
↓ 1 callers
Function
createConsensusReactor
( cfg *config.Config, state sm.State, blockExec *sm.BlockExecutor, blockStore sm.BlockStore, mp mempool.M
node/setup.go:383
↓ 1 callers
Function
createEvidenceReactor
( cfg *config.Config, dbProvider config.DBProvider, stateDB dbm.DB, blockStore *store.BlockStore, peerMan
node/setup.go:283
↓ 1 callers
Function
createGoldenTestVectors
Creates the data for a test vector file. The file format is: Hex(diffie_hellman_secret), loc_is_least, Hex(recvSecret), Hex(sendSecret), Hex(challenge
internal/p2p/conn/secret_connection_test.go:310
↓ 1 callers
Function
createMempoolReactor
( cfg *config.Config, proxyApp proxy.AppConns, state sm.State, memplMetrics *mempool.Metrics, peerManager
node/setup.go:199
↓ 1 callers
Function
createState
(height int64, valSet *types.ValidatorSet)
internal/evidence/pool_test.go:480
↓ 1 callers
Function
customConfig
Ensures that all configuration elements have valid values
internal/p2p/trust/config.go:34
↓ 1 callers
Function
decode
(bz []byte, v interface{})
libs/json/decoder.go:17
↓ 1 callers
Function
decodeMsg
(bz []byte)
internal/p2p/pex/pex_reactor.go:793
↓ 1 callers
Function
decodeReflectList
(bz []byte, rv reflect.Value)
libs/json/decoder.go:101
↓ 1 callers
Function
decodeReflectMap
(bz []byte, rv reflect.Value)
libs/json/decoder.go:150
↓ 1 callers
Function
decodeReflectStruct
(bz []byte, rv reflect.Value)
libs/json/decoder.go:176
↓ 1 callers
Method
decrPending
(recvSize int)
internal/blocksync/v0/pool.go:519
↓ 1 callers
Method
defaultDoPrevote
(height int64, round int32)
internal/consensus/state.go:1323
↓ 1 callers
Function
defaultMetricsProvider
defaultMetricsProvider returns Metrics build using Prometheus client library if Prometheus is enabled. Otherwise, it returns no-op Metrics.
node/node.go:1132
↓ 1 callers
Method
defaultSetProposal
-----------------------------------------------------------------------------
internal/consensus/state.go:1852
↓ 1 callers
Function
deleteRecords
(ctx context.Context, db dbm.DB, scData []toMigrate)
scripts/scmigrate/migrate.go:146
↓ 1 callers
Method
demux
Takes the channel as a parameter to avoid race conditions on r.events.
internal/blocksync/v2/reactor.go:299
↓ 1 callers
Method
derivativeValue
Calculates the derivative component
internal/p2p/trust/metric.go:359
← previous
next →
3,501–3,600 of 9,600, ranked by callers