MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 2 callersMethodcalcHistoryValue
Calculates the integral (history) component of the trust value
internal/p2p/trust/metric.go:364
↓ 2 callersMethodcalcTrustValue
Calculates the trust value for the request processing
internal/p2p/trust/metric.go:323
↓ 2 callersMethodcalculateNextRequestTime
calculateNextRequestTime selects how long we should wait before attempting to send out another request for peer addresses. This implements a simplifi
internal/p2p/pex/reactor.go:460
↓ 2 callersFunctioncallWgDoneOnResult
(t *testing.T, c *WSClient, wg *sync.WaitGroup)
rpc/jsonrpc/client/ws_client_test.go:218
↓ 2 callersMethodcancel
(err error)
libs/pubsub/subscription.go:72
↓ 2 callersFunctioncheckConfig
(t *testing.T, configFile string)
config/toml_test.go:67
↓ 2 callersFunctioncheckKeyType
checkKeyType classifies a candidate key based on its structure.
scripts/keymigrate/migrate.go:405
↓ 2 callersFunctioncheckRequiredHeaderFields
(h *types.SignedHeader)
light/verifier.go:271
↓ 2 callersFunctioncheckValidHeight
(bs state.BlockStore)
cmd/tendermint/commands/reindex_event.go:226
↓ 2 callersMethodclear
()
rpc/jsonrpc/client/http_json_client.go:330
↓ 2 callersFunctionclearConfig
clearConfig clears env vars, the given root dir, and resets viper.
cmd/tendermint/commands/root_test.go:22
↓ 2 callersFunctionclock
clock returns a low resolution timestamp relative to the process start time.
internal/libs/flowrate/util.go:21
↓ 2 callersFunctionclockRound
clockRound returns d rounded to the nearest clockRate increment.
internal/libs/flowrate/util.go:31
↓ 2 callersFunctioncombinations
combinations takes input in the form of a map of item lists, and returns a list of all combinations of each item for each key. E.g.: {"foo": [1, 2, 3
test/e2e/generator/random.go:26
↓ 2 callersMethodcompareNewHeaderWithWitness
compareNewHeaderWithWitness takes the verified header from the primary and compares it with a header from a specified witness. The function can return
light/detector.go:110
↓ 2 callersMethodcomputeAvgProposerPriority
Should not be called on an empty validator set.
types/validator_set.go:181
↓ 2 callersFunctioncomputeDHSecret
computeDHSecret computes a Diffie-Hellman shared secret key from our own local private key and the other's public key.
internal/p2p/conn/secret_connection.go:370
↓ 2 callersFunctionconcatCobraCmdFuncs
Returns a single function that calls each argument function in sequence RunE, PreRunE, PersistentPreRunE, etc. all have this same signature
libs/cli/setup.go:114
↓ 2 callersMethodconfigurePeer
configurePeer configures a peer with ephemeral runtime configuration.
internal/p2p/peermanager.go:402
↓ 2 callersFunctionconvertEvidence
(key keyID, newPrefix int64)
scripts/keymigrate/migrate.go:499
↓ 2 callersFunctioncopyFile
copyFile copies a file from src to dest and returns an error upon failure. The copied file retains the source file's permissions.
cmd/tendermint/commands/debug/io.go:76
↓ 2 callersFunctioncopyWAL
copyWAL copies the Tendermint node's WAL file. It returns an error if the WAL file cannot be read or copied.
cmd/tendermint/commands/debug/util.go:51
↓ 2 callersFunctioncountOldAndNewAddrsInSelection
(addrs []*p2p.NetAddress, book *addrBook)
internal/p2p/pex/addrbook_test.go:735
↓ 2 callersFunctioncrandSeed
()
libs/rand/random.go:87
↓ 2 callersFunctioncreateAddrBookAndSetOnSwitch
(cfg *config.Config, sw *p2p.Switch, p2pLogger log.Logger, nodeKey types.NodeKey)
node/setup.go:680
↓ 2 callersFunctioncreateAndStartEventBus
(logger log.Logger)
node/setup.go:106
↓ 2 callersFunctioncreateAndStartIndexerService
( cfg *config.Config, dbProvider config.DBProvider, eventBus *types.EventBus, logger log.Logger, chainID
node/setup.go:115
↓ 2 callersFunctioncreateOutboundPeerAndPerformHandshake
( addr *NetAddress, config *config.P2PConfig, mConfig tmconn.MConnConfig, )
internal/p2p/peer_test.go:77
↓ 2 callersFunctioncreatePEXReactorAndAddToSwitch
(addrBook pex.AddrBook, cfg *config.Config, sw *p2p.Switch, logger log.Logger)
node/setup.go:707
↓ 2 callersFunctioncreatePEXReactorV2
( cfg *config.Config, logger log.Logger, peerManager *p2p.PeerManager, router *p2p.Router, )
node/setup.go:728
↓ 2 callersFunctioncreatePeerManager
( cfg *config.Config, dbProvider config.DBProvider, p2pLogger log.Logger, nodeID types.NodeID, metrics *p
node/setup.go:467
↓ 2 callersMethodcreateQueueFactory
()
internal/p2p/router.go:335
↓ 2 callersFunctioncreateRouter
( p2pLogger log.Logger, p2pMetrics *p2p.Metrics, nodeInfo types.NodeInfo, privKey crypto.PrivKey, peerMan
node/setup.go:571
↓ 2 callersFunctioncreateSwitch
( cfg *config.Config, transport p2p.Transport, p2pMetrics *p2p.Metrics, mempoolReactor *p2p.ReactorShim,
node/setup.go:592
↓ 2 callersFunctioncreateTransport
(logger log.Logger, cfg *config.Config)
node/setup.go:447
↓ 2 callersFunctiondecodeBlockMetaKey
(key []byte)
internal/store/store.go:599
↓ 2 callersMethoddecodeLbKey
(key []byte)
light/store/db/db.go:297
↓ 2 callersFunctiondecodeReflectInterface
(bz []byte, rv reflect.Value)
libs/json/decoder.go:204
↓ 2 callersFunctiondecodeStdlib
(bz []byte, rv reflect.Value)
libs/json/decoder.go:258
↓ 2 callersMethoddetectDivergence
The detector component of the light client detects and handles attacks on the light client. More info here: tendermint/docs/architecture/adr-047-handl
light/detector.go:28
↓ 2 callersMethoddial
()
rpc/jsonrpc/client/ws_client.go:240
↓ 2 callersMethoddialSeeds
randomly dial seeds until we connect to one or exhaust them
internal/p2p/pex/pex_reactor.go:623
↓ 2 callersFunctiondiffSections
(w io.Writer, lhs, rhs *tomledit.Section)
scripts/condiff/condiff.go:125
↓ 2 callersMethoddiscard
discard discards a chunk, scheduling it for refetching. The caller must hold the mutex lock.
internal/statesync/chunks.go:168
↓ 2 callersMethoddo_namespace
Returns a copy of the dictionary with all the keys put in a 'do_' namespace
networks/remote/ansible/inventory/digital_ocean.py:531
↓ 2 callersFunctiondumpConsensusState
dumpConsensusState gets consensus state dump from the Tendermint RPC and writes it to file. It returns an error upon failure.
cmd/tendermint/commands/debug/util.go:40
↓ 2 callersFunctiondumpDebugData
(outDir string, conf *config.Config, rpc *rpchttp.HTTP)
cmd/tendermint/commands/debug/dump.go:82
↓ 2 callersFunctiondumpNetInfo
dumpNetInfo gets network information state dump from the Tendermint RPC and writes it to file. It returns an error upon failure.
cmd/tendermint/commands/debug/util.go:29
↓ 2 callersFunctiondumpProfile
(dir, addr, profile string, debug int)
cmd/tendermint/commands/debug/util.go:67
↓ 2 callersFunctiondumpStatus
dumpStatus gets node status state dump from the Tendermint RPC and writes it to file. It returns an error upon failure.
cmd/tendermint/commands/debug/util.go:18
↓ 2 callersFunctiondurationsAreEqual
(d1 time.Duration, d2 time.Duration, maxDeviation time.Duration)
internal/libs/flowrate/io_test.go:184
↓ 2 callersFunctionencodeByteSlice
----------------------------------------------------------------------- Uvarint length prefixed byteslice
crypto/merkle/types.go:30
↓ 2 callersFunctionencodeReflectInterface
(w io.Writer, rv reflect.Value)
libs/json/encoder.go:215
↓ 2 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/mempool/types.pb.go:249
↓ 2 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/version/types.pb.go:163
↓ 2 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/libs/bits/types.pb.go:144
↓ 2 callersMethodendSync
endSync ends a block sync
internal/blocksync/v2/reactor.go:171
↓ 2 callersFunctionensureBodyClose
(next http.HandlerFunc)
rpc/jsonrpc/server/http_json_handler.go:150
↓ 2 callersMethodensureConnection
(maxWait time.Duration)
privval/signer_listener_endpoint.go:132
↓ 2 callersFunctionensureFiles
(t *testing.T, rootDir string, files ...string)
config/toml_test.go:14
↓ 2 callersFunctionensureNewBlock
(blockCh <-chan tmpubsub.Message, height int64)
internal/consensus/common_test.go:596
↓ 2 callersFunctionensureNewUnlock
(unlockCh <-chan tmpubsub.Message, height int64, round int32)
internal/consensus/common_test.go:631
↓ 2 callersMethodensurePeers
ensurePeers ensures that sufficient peers are connected. (once) heuristic that we haven't perfected yet, or, perhaps is manually edited by the node o
internal/p2p/pex/pex_reactor.go:453
↓ 2 callersFunctionensureVote
(voteCh <-chan tmpubsub.Message, height int64, round int32, voteType tmproto.SignedMsgType)
internal/consensus/common_test.go:699
↓ 2 callersMethodensureVoteBitArrays
(height int64, numValidators int)
internal/consensus/peer_state.go:301
↓ 2 callersFunctionensureVoteMatch
(t *testing.T, voteCh <-chan tmpubsub.Message, height int64, round int32, hash []byte, voteType tmproto.Signed
internal/consensus/common_test.go:676
↓ 2 callersMethodenterPrecommitWait
Enter: any +2/3 precommits for next round.
internal/consensus/state.go:1516
↓ 2 callersMethoderror
()
internal/statesync/block_queue.go:212
↓ 2 callersFunctioneventReIndex
(cmd *cobra.Command, es []indexer.EventSink, bs state.BlockStore, ss state.Store)
cmd/tendermint/commands/reindex_event.go:162
↓ 2 callersMethodexamineConflictingHeaderAgainstTrace
examineConflictingHeaderAgainstTrace takes a trace from one provider and a divergent header that it has received from another and preforms verifySkipp
light/detector.go:288
↓ 2 callersFunctionexamplePrevote
()
types/vote_test.go:19
↓ 2 callersFunctionexecBlockOnProxyApp
--------------------------------------------------------- Helper functions for executing blocks and updating state Executes block's transactions on pr
internal/state/execution.go:293
↓ 2 callersFunctionexecVerbose
execVerbose executes a shell command while displaying its output.
test/e2e/runner/exec.go:26
↓ 2 callersMethodfillHeader
fillHeader fills in any remaining header fields that are a function of the block data
types/block.go:98
↓ 2 callersMethodfilterConn
filterConn filters a connection, rejecting it if this function errors. FIXME: This is only here for compatibility with the current Switch code. In th
internal/p2p/switch.go:960
↓ 2 callersFunctionfilterMinMax
error if either min or max are negative or min > max if 0, use blockstore base for min, latest block height for max enforce limit.
internal/rpc/core/blocks.go:61
↓ 2 callersFunctionfireEvents
Fire NewBlock, NewBlockHeader. Fire TxEvent for every tx. NOTE: if Tendermint crashes before commit, some or all of these events may be published agai
internal/state/execution.go:509
↓ 2 callersFunctiongenEphKeys
()
internal/p2p/conn/secret_connection.go:289
↓ 2 callersFunctiongenHeader
(chainID string, height int64, bTime time.Time, txs types.Txs, valset, nextValset *types.ValidatorSet, appHas
light/helpers_test.go:125
↓ 2 callersFunctiongenPrivKey
genPrivKey generates a new ed25519 private key using the provided reader.
crypto/ed25519/ed25519.go:128
↓ 2 callersFunctiongenPrivKey
(rng io.Reader)
crypto/sr25519/privkey.go:135
↓ 2 callersMethodgetAddressesFor
(t *testing.T, nodes []int)
internal/p2p/pex/reactor_test.go:613
↓ 2 callersMethodgetBlock
()
internal/blocksync/v0/pool.go:589
↓ 2 callersFunctiongetChildDevice
(d *Device, deviceType string)
internal/p2p/upnp/upnp.go:159
↓ 2 callersFunctiongetChildService
(d *Device, serviceType string)
internal/p2p/upnp/upnp.go:169
↓ 2 callersMethodgetConnectedInfo
()
internal/p2p/peermanager.go:453
↓ 2 callersFunctiongetDialerTestCases
(t *testing.T)
privval/socket_dialers_test.go:14
↓ 2 callersFunctiongetFreePort
()
types/node_info_test.go:124
↓ 2 callersFunctiongetFreePort
()
internal/p2p/test_util.go:250
↓ 2 callersMethodgetLastMessageAt
()
internal/p2p/conn/connection.go:241
↓ 2 callersMethodgetLastSyncRate
()
internal/blocksync/v0/pool.go:458
↓ 2 callersFunctiongetLatestBlock
getLatestBlock returns the last block that all active nodes in the network have agreed upon i.e. the earlist of each nodes latest block
test/e2e/runner/rpc.go:200
↓ 2 callersFunctiongetMigrationFunc
(storeName string, key keyID)
scripts/keymigrate/migrate.go:548
↓ 2 callersFunctiongetNewPrefixKeys
(t *testing.T, val int)
scripts/keymigrate/migrate_test.go:50
↓ 2 callersMethodgetPeersWithHeight
(height int64)
internal/blocksync/v2/scheduler.go:335
↓ 2 callersMethodgetPercent
()
internal/libs/progressbar/progressbar.go:25
↓ 2 callersFunctiongetRouterConfig
(conf *config.Config, proxyApp proxy.AppConns)
node/node.go:1239
↓ 2 callersFunctiongetSize
(v interface{})
internal/libs/protoio/io.go:61
↓ 2 callersMethodgetTargetBlockOrLatest
getTargetBlockOrLatest gets the latest height, if it is greater than the target height then it queries the target heght else it returns the latest. re
light/detector.go:377
↓ 2 callersMethodhandle
handle processes FSM events
internal/blocksync/v2/processor.go:122
← previousnext →2,301–2,400 of 9,600, ranked by callers