MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 6 callersMethodToken
Token returns the type of the current input token.
libs/pubsub/query/syntax/scanner.go:117
↓ 6 callersMethodTrustScore
TrustScore gets a score based on the trust value always between 0 and 100
internal/p2p/trust/metric.go:202
↓ 6 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/types/evidence.pb.go:723
↓ 6 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/p2p/conn.pb.go:923
↓ 6 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/blocksync/types.pb.go:1134
↓ 6 callersFunctionWait
Wait waits for a number of blocks to be produced, and for all nodes to catch up with it.
test/e2e/runner/wait.go:12
↓ 6 callersMethodWait
Wait blocks until the service is stopped.
libs/service/service.go:55
↓ 6 callersMethodWaitForTxs
WaitForTxs returns true if the consensus should wait for transactions before entering the propose step
config/config.go:1187
↓ 6 callersFunctionWriteFileAtomic
WriteFileAtomic creates a temporary file with data and provided perm and swaps it atomically with filename if successful.
internal/libs/tempfile/tempfile.go:76
↓ 6 callersMethodWriteMessage
WriteMessage writes a message from the endpoint
privval/signer_endpoint.go:115
↓ 6 callersFunctionallKeys
(s *tomledit.Section)
scripts/condiff/condiff.go:74
↓ 6 callersFunctionapplyBlock
(stateStore sm.Store, mempool mempool.Mempool, evpool sm.EvidencePool, st sm.State, blk *types.Block, pro
internal/consensus/replay_test.go:816
↓ 6 callersFunctionbenchmarkRandBytes
(b *testing.B, n int)
libs/rand/random_test.go:40
↓ 6 callersFunctionblockPartKey
(height int64, partIndex int)
internal/store/store.go:614
↓ 6 callersMethodcheckHeadSizeLimit
NOTE: this function is called manually in tests.
internal/libs/autofile/group.go:253
↓ 6 callersFunctioncheckSameScheduler
used in place of assert.Equal(t, want, actual) to avoid failures due to scheduler.lastAdvanced timestamp inequalities.
internal/blocksync/v2/scheduler_test.go:1357
↓ 6 callersMethodclosed
closed returns a channel that's closed when the scheduler is closed.
internal/p2p/queue.go:28
↓ 6 callersFunctionconsensusParamsKey
(height int64)
internal/state/store.go:50
↓ 6 callersFunctioncreateEvidenceList
( t *testing.T, pool *evidence.Pool, val types.PrivValidator, numEvidence int, )
internal/evidence/reactor_test.go:211
↓ 6 callersFunctioncreateNewValidatorSet
(testValList []testVal)
types/validator_set_test.go:772
↓ 6 callersFunctioncreateSwitchAndAddReactors
(reactors ...p2p.Reactor)
internal/p2p/pex/pex_reactor_test.go:630
↓ 6 callersFunctiondeliverTxsRange
(cs *State, start, end int)
internal/consensus/mempool_test.go:113
↓ 6 callersMethoddialPeer
(addr *p2p.NetAddress)
internal/p2p/pex/pex_reactor.go:548
↓ 6 callersFunctiondialer
(pv types.PrivValidator, logger log.Logger)
privval/grpc/client_test.go:27
↓ 6 callersFunctionencodeStdlib
(w io.Writer, v interface{})
libs/json/encoder.go:240
↓ 6 callersFunctionensureNoFire
(t *testing.T, ch <-chan struct{}, timeoutMS int)
internal/mempool/v0/clist_mempool_test.go:60
↓ 6 callersFunctionexamplePrecommit
()
types/vote_test.go:23
↓ 6 callersMethodgetBucket
----------------------------------------------------------
internal/p2p/pex/addrbook.go:515
↓ 6 callersMethodgetHeight
latestHeight can be either latest committed or uncommitted (+1) height.
internal/rpc/core/env.go:190
↓ 6 callersMethodgetLightBlock
(ctx context.Context, p provider.Provider, height int64)
light/client.go:952
↓ 6 callersMethodgetVoteSet
(round int32, voteType tmproto.SignedMsgType)
internal/consensus/types/height_vote_set.go:165
↓ 6 callersMethodlightBlockFromPrimary
lightBlockFromPrimary retrieves the lightBlock from the primary provider at the specified height. This method also handles provider behavior as follow
light/client.go:923
↓ 6 callersFunctionmakeRandomStateFromValidatorSet
used for testing by state store
internal/state/helpers_test.go:230
↓ 6 callersFunctionmakeTxs
(cnt, size int)
types/tx_test.go:16
↓ 6 callersFunctionnewChunkQueue
newChunkQueue creates a new chunk queue for a snapshot, using a temp dir for storage. Callers must call Close() when done.
internal/statesync/chunks.go:44
↓ 6 callersFunctionnewConnTracker
(max uint, window time.Duration)
internal/p2p/conn_tracker.go:24
↓ 6 callersFunctionnewEvidence
(t *testing.T, val *privval.FilePV, vote *types.Vote, vote2 *types.Vote, chainID string)
rpc/client/evidence_test.go:29
↓ 6 callersFunctionnewPeerList
()
internal/statesync/dispatcher.go:234
↓ 6 callersFunctionnewProposal
(height int64, round int32, blockID types.BlockID)
privval/file_test.go:345
↓ 6 callersFunctionnewRoutine
(name string, handleFunc handleFunc, bufferSize int)
internal/blocksync/v2/routine.go:36
↓ 6 callersFunctionnewStateWithConfigAndBlockStore
( thisConfig *config.Config, state sm.State, pv types.PrivValidator, app abci.Application, blockStore *st
internal/consensus/common_test.go:411
↓ 6 callersMethodonError
onError calls the peer error callback.
internal/p2p/peer.go:125
↓ 6 callersFunctionrandGenesisState
( cfg *config.Config, numValidators int, randPower bool, minPower int64)
internal/consensus/common_test.go:871
↓ 6 callersFunctionrandLightBlock
(height int64)
light/store/db/db_test.go:185
↓ 6 callersFunctionrandWriteFileSuffix
Use a fast thread safe LCG for atomic write file names. Returns a string corresponding to a 64 bit int. If it was a negative int, the leading number i
internal/libs/tempfile/tempfile.go:52
↓ 6 callersMethodready
()
internal/blocksync/v2/routine.go:144
↓ 6 callersFunctionround
round returns x rounded to the nearest int64 (non-negative values only).
internal/libs/flowrate/util.go:36
↓ 6 callersMethodrune
()
libs/pubsub/query/syntax/scanner.go:281
↓ 6 callersFunctionsafeAddClip
(a, b int64)
types/validator_set.go:891
↓ 6 callersFunctionsafeSubClip
(a, b int64)
types/validator_set.go:902
↓ 6 callersMethodsaveValidatorsInfo
saveValidatorsInfo persists the validator set. `height` is the effective height for which the validator is responsible for signing. It should be call
internal/state/store.go:562
↓ 6 callersMethodscheduleTimeout
Attempt to schedule a timeout (by sending timeoutInfo on the tickChan)
internal/consensus/state.go:596
↓ 6 callersFunctionsetup
(t *testing.T, config *config.MempoolConfig, numNodes int, chBuf uint)
internal/mempool/v0/reactor_test.go:39
↓ 6 callersFunctionsetup
(t *testing.T, stateStores []sm.Store, chBuf uint)
internal/evidence/reactor_test.go:47
↓ 6 callersFunctionsignVote
Sign vote for type/hash/header
internal/consensus/common_test.go:146
↓ 6 callersFunctionskipParams
(dAtA []byte)
proto/tendermint/types/params.pb.go:1607
↓ 6 callersFunctionskipTypes
(dAtA []byte)
proto/tendermint/blocksync/types.pb.go:1453
↓ 6 callersFunctionsovBlock
(x uint64)
proto/tendermint/types/block.pb.go:216
↓ 6 callersMethodstart
(t *testing.T)
internal/evidence/reactor_test.go:119
↓ 6 callersMethodstart
()
internal/blocksync/v2/routine.go:60
↓ 6 callersFunctiontestMux
()
rpc/jsonrpc/server/http_json_handler_test.go:18
↓ 6 callersFunctiontestNodeInfo
(id NodeID, name string)
types/node_info_test.go:100
↓ 6 callersFunctionvalidatorListCopy
Makes a copy of the validator list.
types/validator_set.go:237
↓ 6 callersFunctionvalidatorsKey
(height int64)
internal/state/store.go:46
↓ 6 callersMethodverifyLightBlockAtHeight
(ctx context.Context, height uint64, ts time.Time)
internal/statesync/stateprovider.go:89
↓ 6 callersMethodverifyLightBlockAtHeight
(ctx context.Context, height uint64, ts time.Time)
internal/statesync/stateprovider.go:243
↓ 6 callersFunctionwaitGroup1
()
internal/libs/clist/clist.go:400
↓ 5 callersMethodABCIQueryWithOptions
(ctx context.Context, path string, data bytes.HexBytes, opts ABCIQueryOptions)
rpc/client/interface.go:66
↓ 5 callersFunctionASCIITrim
NOTE: Assumes that s is ASCII as per IsASCIIText(), otherwise panics.
libs/strings/string.go:74
↓ 5 callersMethodAddPrivateIDs
([]string)
internal/p2p/pex/addrbook.go:44
↓ 5 callersFunctionApplyFixes
ApplyFixes transforms doc and reports whether it succeeded.
internal/libs/confix/confix.go:66
↓ 5 callersMethodApplySnapshotChunk
Load a snapshot chunk
abci/types/application.go:30
↓ 5 callersMethodBlockResults
(ctx context.Context, height *int64)
rpc/client/interface.go:80
↓ 5 callersMethodCanSend
CanSend returns true if you can send more data onto the chID, false otherwise. Use only as a heuristic.
internal/p2p/conn/connection.go:419
↓ 5 callersFunctionChannelDescriptor
TODO: We should decide whether we want channel descriptors to be housed within each reactor (as they are now) or, considering that the reactor doesn't
internal/p2p/pex/reactor.go:48
↓ 5 callersMethodCheckEvidence
(types.EvidenceList)
internal/state/services.go:49
↓ 5 callersFunctionCleanup
Cleanup removes the Docker Compose containers and testnet directory.
test/e2e/runner/cleanup.go:13
↓ 5 callersMethodCleanup
(func())
internal/proxy/mocks/app_conn_query.go:103
↓ 5 callersFunctionCommitFromProto
FromProto sets a protobuf Commit to the given pointer. It returns an error if the commit is invalid.
types/block.go:969
↓ 5 callersMethodCommitSync
(context.Context)
internal/proxy/app_conn.go:26
↓ 5 callersMethodCompare
(interface{})
proto/tendermint/crypto/keys.pb.go:74
↓ 5 callersMethodCompatibleWith
CompatibleWith checks if two NodeInfo are compatible with each other. CONTRACT: two nodes are compatible if the Block version and network match and th
types/node_info.go:133
↓ 5 callersMethodConsensusParams
(ctx context.Context, height *int64)
rpc/client/interface.go:125
↓ 5 callersMethodCopy
Copy returns a new trust metric with members containing the same values
internal/p2p/trust/metric.go:258
↓ 5 callersMethodCount
()
types/part_set.go:245
↓ 5 callersMethodCount
()
internal/libs/timer/throttle_timer_test.go:26
↓ 5 callersMethodCreateProposalBlock
CreateProposalBlock calls state.MakeBlock with evidence from the evpool and txs from the mempool. The max bytes must be big enough to fit the commit.
internal/state/execution.go:102
↓ 5 callersMethodDial
Dial implements Transport.
internal/p2p/transport_mconn.go:155
↓ 5 callersMethodEnableTxsAvailable
EnableTxsAvailable initializes the TxsAvailable channel, ensuring it will trigger once every height when transactions are available.
internal/mempool/mempool.go:92
↓ 5 callersFunctionEvidenceFromProto
EvidenceFromProto is a generalized function for decoding protobuf into the evidence interface
types/evidence.go:615
↓ 5 callersMethodEvidenceFront
EvidenceFront goes to the first evidence in the clist
internal/evidence/pool.go:242
↓ 5 callersFunctionEvidenceToProto
------------------------------------------ PROTO -------------------------------------- EvidenceToProto is a generalized function for encoding evidenc
types/evidence.go:583
↓ 5 callersMethodFirstValue
Returns the firstmost (by task index) error as discovered by all previous Reap() calls.
libs/async/async.go:99
↓ 5 callersMethodFlushSync
(context.Context)
internal/proxy/app_conn_test.go:21
↓ 5 callersMethodGenSignedHeaderLastBlockID
GenSignedHeaderLastBlockID calls genHeader and signHeader and combines them into a SignedHeader.
light/helpers_test.go:157
↓ 5 callersFunctionGenerate
Generate generates random testnets using the given RNG.
test/e2e/generator/generate.go:71
↓ 5 callersMethodGenesis
(context.Context)
rpc/client/interface.go:109
↓ 5 callersMethodGenesisChunked
(context.Context, uint)
rpc/client/interface.go:110
↓ 5 callersMethodGetChainId
()
proto/tendermint/privval/types.pb.go:155
↓ 5 callersMethodGetOrSet
GetOrSet returns the existing value if present. Othewise, it stores `newValue` and returns it.
libs/cmap/cmap.go:26
← previousnext →801–900 of 9,600, ranked by callers