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
Method
nextPeerID
nextPeerID returns the next unused peer ID to use. We assume that the mutex is already held.
internal/mempool/ids.go:62
↓ 1 callers
Method
nextTwo
nextTwo returns the next two unverified blocks
internal/blocksync/v2/processor.go:83
↓ 1 callers
Method
nextUp
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 callers
Method
nodeHasSomePeersOrDialingAny
nodeHasSomePeersOrDialingAny returns true if the node is connected to some peers or dialing them currently.
internal/p2p/pex/pex_reactor.go:685
↓ 1 callers
Function
nonJSONStringToArg
(rt reflect.Type, arg string)
rpc/jsonrpc/server/http_uri_handler.go:144
↓ 1 callers
Method
not
()
libs/bits/bit_array.go:175
↓ 1 callers
Method
numConcurrentDials
()
internal/p2p/router.go:542
↓ 1 callers
Function
numNewValidators
(updates []*Validator, vals *ValidatorSet)
types/validator_set.go:453
↓ 1 callers
Method
onReceive
onReceive is a callback for MConnection received messages.
internal/p2p/transport_mconn.go:364
↓ 1 callers
Method
optimize
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 callers
Function
orderPrivValsByValSet
( t *testing.T, vals *types.ValidatorSet, privVals []types.PrivValidator)
internal/evidence/verify_test.go:594
↓ 1 callers
Function
outputJSONIsSlice
(input []byte)
test/fuzz/rpc/jsonrpc/server/handler.go:60
↓ 1 callers
Function
parseFlags
1KB at a time Parse command-line options
internal/libs/autofile/cmd/logjack.go:19
↓ 1 callers
Function
parseValueFromPrimaryKey
(key []byte)
internal/state/indexer/block/kv/util.go:52
↓ 1 callers
Function
peerAddressInfoFromProto
peerAddressInfoFromProto converts a Protobuf PeerAddressInfo message to a peerAddressInfo.
internal/p2p/peermanager.go:1617
↓ 1 callers
Function
peerInfoFromProto
peerInfoFromProto converts a Protobuf PeerInfo message to a peerInfo, erroring if the data is invalid.
internal/p2p/peermanager.go:1482
↓ 1 callers
Method
peerStatsRoutine
()
internal/consensus/reactor.go:1430
↓ 1 callers
Method
pendingFrom
(peerID types.NodeID)
internal/blocksync/v2/scheduler.go:474
↓ 1 callers
Function
percentOf
percentOf calculates what percent of the total is x.
internal/libs/flowrate/util.go:47
↓ 1 callers
Function
permutation
(valList []testVal)
types/validator_set_test.go:752
↓ 1 callers
Function
persistentPeersArray
get an array of persistent peers
cmd/tendermint/commands/testnet.go:273
↓ 1 callers
Method
pickIncrAvailablePeer
Pick an available peer with the given height available. If no peers are available, returns nil.
internal/blocksync/v0/pool.go:373
↓ 1 callers
Method
pingAndlistenForNAddresses
( t *testing.T, fromNode, toNode int, waitPeriod time.Duration, addresses int, )
internal/p2p/pex/reactor_test.go:505
↓ 1 callers
Method
pingLoop
()
privval/signer_listener_endpoint.go:203
↓ 1 callers
Method
populateTxns
(blocks []*types.BlockMeta)
test/e2e/runner/benchmark.go:68
↓ 1 callers
Function
prefixFromCompositeKeyAndValue
(compositeKey, value string)
internal/state/indexer/tx/kv/kv.go:569
↓ 1 callers
Method
process
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 callers
Method
processBacklog
()
rpc/jsonrpc/client/ws_client.go:302
↓ 1 callers
Method
processBlockCh
processBlockCh initiates a blocking process where we listen for and handle envelopes on the LightBlockChannel.
internal/statesync/reactor.go:847
↓ 1 callers
Method
processBlockSyncCh
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 callers
Function
processChanges
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 callers
Method
processChunkCh
processChunkCh initiates a blocking process where we listen for and handle envelopes on the ChunkChannel.
internal/statesync/reactor.go:841
↓ 1 callers
Method
processConsensusBuffer
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 callers
Method
processDataCh
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 callers
Method
processEvidenceCh
processEvidenceCh implements a blocking event loop where we listen for p2p Envelope messages from the evidenceCh.
internal/evidence/reactor.go:195
↓ 1 callers
Method
processFlushTicks
()
internal/consensus/wal.go:142
↓ 1 callers
Method
processMempoolCh
processMempoolCh implements a blocking event loop where we listen for p2p Envelope messages from the mempoolCh.
internal/mempool/v0/reactor.go:209
↓ 1 callers
Method
processMempoolCh
processMempoolCh implements a blocking event loop where we listen for p2p Envelope messages from the mempoolCh.
internal/mempool/v1/reactor.go:217
↓ 1 callers
Method
processMessages
processMessages processes messages received from the connection.
internal/p2p/peer.go:159
↓ 1 callers
Method
processParamsCh
()
internal/statesync/reactor.go:851
↓ 1 callers
Method
processPeerUpdate
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 callers
Method
processPeerUpdate
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 callers
Method
processPeerUpdate
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 callers
Method
processPeerUpdate
processPeerUpdate processes a PeerUpdate. For added peers, PeerStatusUp, we send a request for addresses.
internal/p2p/pex/reactor.go:389
↓ 1 callers
Method
processPeerUpdate
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 callers
Method
processPeerUpdate
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 callers
Method
processPeerUpdate
processPeerUpdate processes a PeerUpdate.
internal/blocksync/v0/reactor.go:334
↓ 1 callers
Method
processPeerUpdates
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 callers
Method
processPeerUpdates
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 callers
Method
processPeerUpdates
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 callers
Method
processPeerUpdates
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 callers
Method
processPeerUpdates
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 callers
Method
processPeerUpdates
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 callers
Method
processPeerUpdates
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 callers
Method
processPexCh
processPexCh implements a blocking event loop where we listen for p2p Envelope messages from the pexCh.
internal/p2p/pex/reactor.go:151
↓ 1 callers
Method
processRequests
* Private methods */ This method is for a goroutine that handles all requests on the metric
internal/p2p/trust/metric.go:288
↓ 1 callers
Method
processSnapshotCh
processSnapshotCh initiates a blocking process where we listen for and handle envelopes on the SnapshotChannel.
internal/statesync/reactor.go:835
↓ 1 callers
Method
processStateCh
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 callers
Method
processTicks
()
internal/libs/autofile/group.go:239
↓ 1 callers
Method
processVoteCh
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 callers
Method
processVoteSetBitsCh
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 callers
Method
proxyPeerEnvelopes
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 callers
Method
pruneABCIResponses
pruneABCIResponses calls a reverse iterator from base height to retain height batch deleting all abci responses in between
internal/state/store.go:333
↓ 1 callers
Method
pruneBlocks
(retainHeight int64)
internal/state/execution.go:614
↓ 1 callers
Method
pruneConsensusParams
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 callers
Method
pruneValidatorSets
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 callers
Method
purgeExpiredTxs
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 callers
Method
queryMaj23Routine
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 callers
Function
randBytes
This only uses the OS's randomness
crypto/random.go:10
↓ 1 callers
Function
randEventValue
()
types/event_bus_test.go:487
↓ 1 callers
Function
randModuloValidatorSet
(numValidators int)
types/validator_set_test.go:399
↓ 1 callers
Function
randPort
()
internal/consensus/wal_generator.go:141
↓ 1 callers
Function
randPubKey
()
types/validator_set_test.go:371
↓ 1 callers
Function
randQuery
()
types/event_bus_test.go:509
↓ 1 callers
Function
randomDuplicateVoteEvidence
(t *testing.T)
types/evidence_test.go:33
↓ 1 callers
Function
randomGenesisDoc
()
internal/state/helpers_test.go:212
↓ 1 callers
Function
randomInRange
(r *rand.Rand, min, max int)
test/e2e/generator/random.go:93
↓ 1 callers
Function
readPieceFromWAL
(msg *TimedWALMessage)
internal/consensus/replay_test.go:1139
↓ 1 callers
Function
readPrivKey
(keyFilePath string)
test/e2e/runner/evidence.go:239
↓ 1 callers
Method
readRoutine
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 callers
Method
readRoutine
Read from the socket and subscribe to or unsubscribe from events
rpc/jsonrpc/server/ws_handler.go:296
↓ 1 callers
Function
readSchema
()
internal/state/indexer/indexer_service_test.go:115
↓ 1 callers
Function
readSchema
readSchema loads the indexing database schema file
internal/state/indexer/sink/psql/psql_test.go:230
↓ 1 callers
Method
read_cli_args
Command line argument processing
networks/remote/ansible/inventory/digital_ocean.py:343
↓ 1 callers
Method
read_environment
Reads the settings from environment variables
networks/remote/ansible/inventory/digital_ocean.py:335
↓ 1 callers
Method
read_settings
Reads the settings from the digital_ocean.ini file
networks/remote/ansible/inventory/digital_ocean.py:311
↓ 1 callers
Method
receivePeer
receivePeer receives inbound messages from a peer, deserializes them and passes them on to the appropriate channel.
internal/p2p/router.go:904
↓ 1 callers
Method
receiveRequest
enforces a minimum amount of time between requests
internal/p2p/pex/pex_reactor.go:309
↓ 1 callers
Method
recentSnapshots
recentSnapshots fetches the n most recent snapshots from the app
internal/statesync/reactor.go:951
↓ 1 callers
Method
recheckTransactions
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 callers
Method
recheckTxs
()
internal/mempool/v0/clist_mempool.go:648
↓ 1 callers
Method
reconnectRoutine
()
rpc/jsonrpc/client/ws_client.go:323
↓ 1 callers
Method
recordConsMetrics
(block *types.Block)
internal/blocksync/v2/processor_context.go:17
↓ 1 callers
Method
recvPacketMsg
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 callers
Method
recvResponseRoutine
(conn io.Reader)
abci/client/socket_client.go:148
↓ 1 callers
Method
recvRoutine
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 callers
Method
redo
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 callers
Method
register
registers the given type with the given name. The name and type must not be registered already.
libs/json/types.go:56
↓ 1 callers
Function
registerPrometheus
(addr string, s *grpc.Server)
cmd/priv_val_server/main.go:152
↓ 1 callers
Function
removeAddrBook
(addrBookFile string, logger log.Logger)
cmd/tendermint/commands/reset.go:184
← previous
next →
3,901–4,000 of 9,600, ranked by callers