MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 1 callersMethodnextPeerID
nextPeerID returns the next unused peer ID to use. We assume that the mutex is already held.
internal/mempool/ids.go:62
↓ 1 callersMethodnextTwo
nextTwo returns the next two unverified blocks
internal/blocksync/v2/processor.go:83
↓ 1 callersMethodnextUp
nextUp returns the next chunk to be returned, or errDone if all chunks have been returned. The caller must hold the mutex lock.
internal/statesync/chunks.go:289
↓ 1 callersMethodnodeHasSomePeersOrDialingAny
nodeHasSomePeersOrDialingAny returns true if the node is connected to some peers or dialing them currently.
internal/p2p/pex/pex_reactor.go:685
↓ 1 callersFunctionnonJSONStringToArg
(rt reflect.Type, arg string)
rpc/jsonrpc/server/http_uri_handler.go:144
↓ 1 callersMethodnot
()
libs/bits/bit_array.go:175
↓ 1 callersMethodnumConcurrentDials
()
internal/p2p/router.go:542
↓ 1 callersFunctionnumNewValidators
(updates []*Validator, vals *ValidatorSet)
types/validator_set.go:453
↓ 1 callersMethodonReceive
onReceive is a callback for MConnection received messages.
internal/p2p/transport_mconn.go:364
↓ 1 callersMethodoptimize
optimize optimizes operations by pregenerating lookup structures. It's a separate method instead of memoizing during calls to avoid dealing with concu
internal/p2p/peermanager.go:256
↓ 1 callersFunctionorderPrivValsByValSet
( t *testing.T, vals *types.ValidatorSet, privVals []types.PrivValidator)
internal/evidence/verify_test.go:594
↓ 1 callersFunctionoutputJSONIsSlice
(input []byte)
test/fuzz/rpc/jsonrpc/server/handler.go:60
↓ 1 callersFunctionparseFlags
1KB at a time Parse command-line options
internal/libs/autofile/cmd/logjack.go:19
↓ 1 callersFunctionparseValueFromPrimaryKey
(key []byte)
internal/state/indexer/block/kv/util.go:52
↓ 1 callersFunctionpeerAddressInfoFromProto
peerAddressInfoFromProto converts a Protobuf PeerAddressInfo message to a peerAddressInfo.
internal/p2p/peermanager.go:1617
↓ 1 callersFunctionpeerInfoFromProto
peerInfoFromProto converts a Protobuf PeerInfo message to a peerInfo, erroring if the data is invalid.
internal/p2p/peermanager.go:1482
↓ 1 callersMethodpeerStatsRoutine
()
internal/consensus/reactor.go:1430
↓ 1 callersMethodpendingFrom
(peerID types.NodeID)
internal/blocksync/v2/scheduler.go:474
↓ 1 callersFunctionpercentOf
percentOf calculates what percent of the total is x.
internal/libs/flowrate/util.go:47
↓ 1 callersFunctionpermutation
(valList []testVal)
types/validator_set_test.go:752
↓ 1 callersFunctionpersistentPeersArray
get an array of persistent peers
cmd/tendermint/commands/testnet.go:273
↓ 1 callersMethodpickIncrAvailablePeer
Pick an available peer with the given height available. If no peers are available, returns nil.
internal/blocksync/v0/pool.go:373
↓ 1 callersMethodpingAndlistenForNAddresses
( t *testing.T, fromNode, toNode int, waitPeriod time.Duration, addresses int, )
internal/p2p/pex/reactor_test.go:505
↓ 1 callersMethodpingLoop
()
privval/signer_listener_endpoint.go:203
↓ 1 callersMethodpopulateTxns
(blocks []*types.BlockMeta)
test/e2e/runner/benchmark.go:68
↓ 1 callersFunctionprefixFromCompositeKeyAndValue
(compositeKey, value string)
internal/state/indexer/tx/kv/kv.go:569
↓ 1 callersMethodprocess
process starts a blocking WDRR scheduler process, where we continuously evaluate if we need to attempt to enqueue an Envelope or schedule Envelopes to
internal/p2p/wdrr_queue.go:162
↓ 1 callersMethodprocessBacklog
()
rpc/jsonrpc/client/ws_client.go:302
↓ 1 callersMethodprocessBlockCh
processBlockCh initiates a blocking process where we listen for and handle envelopes on the LightBlockChannel.
internal/statesync/reactor.go:847
↓ 1 callersMethodprocessBlockSyncCh
processBlockSyncCh initiates a blocking process where we listen for and handle envelopes on the BlockSyncChannel and blockSyncOutBridgeCh. Any error e
internal/blocksync/v0/reactor.go:308
↓ 1 callersFunctionprocessChanges
Checks changes against duplicates, splits the changes in updates and removals, sorts them by address. Returns: updates, removals - the sorted lists o
types/validator_set.go:373
↓ 1 callersMethodprocessChunkCh
processChunkCh initiates a blocking process where we listen for and handle envelopes on the ChunkChannel.
internal/statesync/reactor.go:841
↓ 1 callersMethodprocessConsensusBuffer
processConsensusBuffer converts all the duplicate votes witnessed from consensus into DuplicateVoteEvidence. It sets the evidence timestamp to the blo
internal/evidence/pool.go:516
↓ 1 callersMethodprocessDataCh
processDataCh initiates a blocking process where we listen for and handle envelopes on the DataChannel. Any error encountered during message execution
internal/consensus/reactor.go:1351
↓ 1 callersMethodprocessEvidenceCh
processEvidenceCh implements a blocking event loop where we listen for p2p Envelope messages from the evidenceCh.
internal/evidence/reactor.go:195
↓ 1 callersMethodprocessFlushTicks
()
internal/consensus/wal.go:142
↓ 1 callersMethodprocessMempoolCh
processMempoolCh implements a blocking event loop where we listen for p2p Envelope messages from the mempoolCh.
internal/mempool/v0/reactor.go:209
↓ 1 callersMethodprocessMempoolCh
processMempoolCh implements a blocking event loop where we listen for p2p Envelope messages from the mempoolCh.
internal/mempool/v1/reactor.go:217
↓ 1 callersMethodprocessMessages
processMessages processes messages received from the connection.
internal/p2p/peer.go:159
↓ 1 callersMethodprocessParamsCh
()
internal/statesync/reactor.go:851
↓ 1 callersMethodprocessPeerUpdate
processPeerUpdate processes a PeerUpdate. For added peers, PeerStatusUp, we check if the reactor is running and if we've already started a tx broadcas
internal/mempool/v0/reactor.go:235
↓ 1 callersMethodprocessPeerUpdate
processPeerUpdate processes a PeerUpdate. For added peers, PeerStatusUp, we check if the reactor is running and if we've already started a tx broadcas
internal/mempool/v1/reactor.go:243
↓ 1 callersMethodprocessPeerUpdate
processPeerUpdate processes a PeerUpdate, returning an error upon failing to handle the PeerUpdate or if a panic is recovered.
internal/statesync/reactor.go:883
↓ 1 callersMethodprocessPeerUpdate
processPeerUpdate processes a PeerUpdate. For added peers, PeerStatusUp, we send a request for addresses.
internal/p2p/pex/reactor.go:389
↓ 1 callersMethodprocessPeerUpdate
processPeerUpdate processes a PeerUpdate. For new or live peers it will check if an evidence broadcasting goroutine needs to be started. For down or r
internal/evidence/reactor.go:227
↓ 1 callersMethodprocessPeerUpdate
processPeerUpdate process a peer update message. For new or reconnected peers, we create a peer state if one does not exist for the peer, which should
internal/consensus/reactor.go:977
↓ 1 callersMethodprocessPeerUpdate
processPeerUpdate processes a PeerUpdate.
internal/blocksync/v0/reactor.go:334
↓ 1 callersMethodprocessPeerUpdates
processPeerUpdates initiates a blocking process where we listen for and handle PeerUpdate messages. When the reactor is stopped, we will catch the sig
internal/mempool/v0/reactor.go:287
↓ 1 callersMethodprocessPeerUpdates
processPeerUpdates initiates a blocking process where we listen for and handle PeerUpdate messages. When the reactor is stopped, we will catch the sig
internal/mempool/v1/reactor.go:295
↓ 1 callersMethodprocessPeerUpdates
processPeerUpdates initiates a blocking process where we listen for and handle PeerUpdate messages. When the reactor is stopped, we will catch the sig
internal/statesync/reactor.go:935
↓ 1 callersMethodprocessPeerUpdates
processPeerUpdates initiates a blocking process where we listen for and handle PeerUpdate messages. When the reactor is stopped, we will catch the sig
internal/p2p/pex/reactor.go:182
↓ 1 callersMethodprocessPeerUpdates
processPeerUpdates initiates a blocking process where we listen for and handle PeerUpdate messages. When the reactor is stopped, we will catch the sig
internal/evidence/reactor.go:271
↓ 1 callersMethodprocessPeerUpdates
processPeerUpdates initiates a blocking process where we listen for and handle PeerUpdate messages. When the reactor is stopped, we will catch the sig
internal/consensus/reactor.go:1418
↓ 1 callersMethodprocessPeerUpdates
processPeerUpdates initiates a blocking process where we listen for and handle PeerUpdate messages. When the reactor is stopped, we will catch the sig
internal/blocksync/v0/reactor.go:361
↓ 1 callersMethodprocessPexCh
processPexCh implements a blocking event loop where we listen for p2p Envelope messages from the pexCh.
internal/p2p/pex/reactor.go:151
↓ 1 callersMethodprocessRequests
* Private methods */ This method is for a goroutine that handles all requests on the metric
internal/p2p/trust/metric.go:288
↓ 1 callersMethodprocessSnapshotCh
processSnapshotCh initiates a blocking process where we listen for and handle envelopes on the SnapshotChannel.
internal/statesync/reactor.go:835
↓ 1 callersMethodprocessStateCh
processStateCh initiates a blocking process where we listen for and handle envelopes on the StateChannel. Any error encountered during message executi
internal/consensus/reactor.go:1329
↓ 1 callersMethodprocessTicks
()
internal/libs/autofile/group.go:239
↓ 1 callersMethodprocessVoteCh
processVoteCh initiates a blocking process where we listen for and handle envelopes on the VoteChannel. Any error encountered during message execution
internal/consensus/reactor.go:1374
↓ 1 callersMethodprocessVoteSetBitsCh
processVoteCh initiates a blocking process where we listen for and handle envelopes on the VoteSetBitsChannel. Any error encountered during message ex
internal/consensus/reactor.go:1397
↓ 1 callersMethodproxyPeerEnvelopes
proxyPeerEnvelopes iterates over each p2p Channel and starts a separate go-routine where we listen for outbound envelopes sent during Receive executio
internal/p2p/shim.go:100
↓ 1 callersMethodpruneABCIResponses
pruneABCIResponses calls a reverse iterator from base height to retain height batch deleting all abci responses in between
internal/state/store.go:333
↓ 1 callersMethodpruneBlocks
(retainHeight int64)
internal/state/execution.go:614
↓ 1 callersMethodpruneConsensusParams
pruneConsensusParams calls a reverse iterator from base height to retain height batch deleting all consensus params in between. If the consensus param
internal/state/store.go:292
↓ 1 callersMethodpruneValidatorSets
pruneValidatorSets calls a reverse iterator from base height to retain height (exclusive), deleting all validator sets in between. Due to the fact tha
internal/state/store.go:250
↓ 1 callersMethodpurgeExpiredTxs
purgeExpiredTxs removes all transactions from the mempool that have exceeded their respective height or time-based limits as of the given blockHeight.
internal/mempool/v1/mempool.go:735
↓ 1 callersMethodqueryMaj23Routine
NOTE: `queryMaj23Routine` has a simple crude design since it only comes into play for liveness when there's a signature DDoS attack happening.
internal/consensus/reactor.go:848
↓ 1 callersFunctionrandBytes
This only uses the OS's randomness
crypto/random.go:10
↓ 1 callersFunctionrandEventValue
()
types/event_bus_test.go:487
↓ 1 callersFunctionrandModuloValidatorSet
(numValidators int)
types/validator_set_test.go:399
↓ 1 callersFunctionrandPort
()
internal/consensus/wal_generator.go:141
↓ 1 callersFunctionrandPubKey
()
types/validator_set_test.go:371
↓ 1 callersFunctionrandQuery
()
types/event_bus_test.go:509
↓ 1 callersFunctionrandomDuplicateVoteEvidence
(t *testing.T)
types/evidence_test.go:33
↓ 1 callersFunctionrandomGenesisDoc
()
internal/state/helpers_test.go:212
↓ 1 callersFunctionrandomInRange
(r *rand.Rand, min, max int)
test/e2e/generator/random.go:93
↓ 1 callersFunctionreadPieceFromWAL
(msg *TimedWALMessage)
internal/consensus/replay_test.go:1139
↓ 1 callersFunctionreadPrivKey
(keyFilePath string)
test/e2e/runner/evidence.go:239
↓ 1 callersMethodreadRoutine
The client ensures that there is at most one reader to a connection by executing all reads from this goroutine.
rpc/jsonrpc/client/ws_client.go:425
↓ 1 callersMethodreadRoutine
Read from the socket and subscribe to or unsubscribe from events
rpc/jsonrpc/server/ws_handler.go:296
↓ 1 callersFunctionreadSchema
()
internal/state/indexer/indexer_service_test.go:115
↓ 1 callersFunctionreadSchema
readSchema loads the indexing database schema file
internal/state/indexer/sink/psql/psql_test.go:230
↓ 1 callersMethodread_cli_args
Command line argument processing
networks/remote/ansible/inventory/digital_ocean.py:343
↓ 1 callersMethodread_environment
Reads the settings from environment variables
networks/remote/ansible/inventory/digital_ocean.py:335
↓ 1 callersMethodread_settings
Reads the settings from the digital_ocean.ini file
networks/remote/ansible/inventory/digital_ocean.py:311
↓ 1 callersMethodreceivePeer
receivePeer receives inbound messages from a peer, deserializes them and passes them on to the appropriate channel.
internal/p2p/router.go:904
↓ 1 callersMethodreceiveRequest
enforces a minimum amount of time between requests
internal/p2p/pex/pex_reactor.go:309
↓ 1 callersMethodrecentSnapshots
recentSnapshots fetches the n most recent snapshots from the app
internal/statesync/reactor.go:951
↓ 1 callersMethodrecheckTransactions
recheckTransactions initiates re-CheckTx ABCI calls for all the transactions currently in the mempool. It reports the number of recheck calls that wer
internal/mempool/v1/mempool.go:661
↓ 1 callersMethodrecheckTxs
()
internal/mempool/v0/clist_mempool.go:648
↓ 1 callersMethodreconnectRoutine
()
rpc/jsonrpc/client/ws_client.go:323
↓ 1 callersMethodrecordConsMetrics
(block *types.Block)
internal/blocksync/v2/processor_context.go:17
↓ 1 callersMethodrecvPacketMsg
Handles incoming PacketMsgs. It returns a message bytes if message is complete, which is owned by the caller and will not be modified. Not goroutine-s
internal/p2p/conn/connection.go:881
↓ 1 callersMethodrecvResponseRoutine
(conn io.Reader)
abci/client/socket_client.go:148
↓ 1 callersMethodrecvRoutine
recvRoutine reads PacketMsgs and reconstructs the message using the channels' "recving" buffer. After a whole message has been assembled, it's pushed
internal/p2p/conn/connection.go:569
↓ 1 callersMethodredo
Tells bpRequester to pick another peer and try again. NOTE: Nonblocking, and does nothing if another redo was already requested.
internal/blocksync/v0/pool.go:617
↓ 1 callersMethodregister
registers the given type with the given name. The name and type must not be registered already.
libs/json/types.go:56
↓ 1 callersFunctionregisterPrometheus
(addr string, s *grpc.Server)
cmd/priv_val_server/main.go:152
↓ 1 callersFunctionremoveAddrBook
(addrBookFile string, logger log.Logger)
cmd/tendermint/commands/reset.go:184
← previousnext →3,901–4,000 of 9,600, ranked by callers