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
↓ 6 callers
Method
Token
Token returns the type of the current input token.
libs/pubsub/query/syntax/scanner.go:117
↓ 6 callers
Method
TrustScore
TrustScore gets a score based on the trust value always between 0 and 100
internal/p2p/trust/metric.go:202
↓ 6 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/types/evidence.pb.go:723
↓ 6 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/p2p/conn.pb.go:923
↓ 6 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/blocksync/types.pb.go:1134
↓ 6 callers
Function
Wait
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 callers
Method
Wait
Wait blocks until the service is stopped.
libs/service/service.go:55
↓ 6 callers
Method
WaitForTxs
WaitForTxs returns true if the consensus should wait for transactions before entering the propose step
config/config.go:1187
↓ 6 callers
Function
WriteFileAtomic
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 callers
Method
WriteMessage
WriteMessage writes a message from the endpoint
privval/signer_endpoint.go:115
↓ 6 callers
Function
allKeys
(s *tomledit.Section)
scripts/condiff/condiff.go:74
↓ 6 callers
Function
applyBlock
(stateStore sm.Store, mempool mempool.Mempool, evpool sm.EvidencePool, st sm.State, blk *types.Block, pro
internal/consensus/replay_test.go:816
↓ 6 callers
Function
benchmarkRandBytes
(b *testing.B, n int)
libs/rand/random_test.go:40
↓ 6 callers
Function
blockPartKey
(height int64, partIndex int)
internal/store/store.go:614
↓ 6 callers
Method
checkHeadSizeLimit
NOTE: this function is called manually in tests.
internal/libs/autofile/group.go:253
↓ 6 callers
Function
checkSameScheduler
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 callers
Method
closed
closed returns a channel that's closed when the scheduler is closed.
internal/p2p/queue.go:28
↓ 6 callers
Function
consensusParamsKey
(height int64)
internal/state/store.go:50
↓ 6 callers
Function
createEvidenceList
( t *testing.T, pool *evidence.Pool, val types.PrivValidator, numEvidence int, )
internal/evidence/reactor_test.go:211
↓ 6 callers
Function
createNewValidatorSet
(testValList []testVal)
types/validator_set_test.go:772
↓ 6 callers
Function
createSwitchAndAddReactors
(reactors ...p2p.Reactor)
internal/p2p/pex/pex_reactor_test.go:630
↓ 6 callers
Function
deliverTxsRange
(cs *State, start, end int)
internal/consensus/mempool_test.go:113
↓ 6 callers
Method
dialPeer
(addr *p2p.NetAddress)
internal/p2p/pex/pex_reactor.go:548
↓ 6 callers
Function
dialer
(pv types.PrivValidator, logger log.Logger)
privval/grpc/client_test.go:27
↓ 6 callers
Function
encodeStdlib
(w io.Writer, v interface{})
libs/json/encoder.go:240
↓ 6 callers
Function
ensureNoFire
(t *testing.T, ch <-chan struct{}, timeoutMS int)
internal/mempool/v0/clist_mempool_test.go:60
↓ 6 callers
Function
examplePrecommit
()
types/vote_test.go:23
↓ 6 callers
Method
getBucket
----------------------------------------------------------
internal/p2p/pex/addrbook.go:515
↓ 6 callers
Method
getHeight
latestHeight can be either latest committed or uncommitted (+1) height.
internal/rpc/core/env.go:190
↓ 6 callers
Method
getLightBlock
(ctx context.Context, p provider.Provider, height int64)
light/client.go:952
↓ 6 callers
Method
getVoteSet
(round int32, voteType tmproto.SignedMsgType)
internal/consensus/types/height_vote_set.go:165
↓ 6 callers
Method
lightBlockFromPrimary
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 callers
Function
makeRandomStateFromValidatorSet
used for testing by state store
internal/state/helpers_test.go:230
↓ 6 callers
Function
makeTxs
(cnt, size int)
types/tx_test.go:16
↓ 6 callers
Function
newChunkQueue
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 callers
Function
newConnTracker
(max uint, window time.Duration)
internal/p2p/conn_tracker.go:24
↓ 6 callers
Function
newEvidence
(t *testing.T, val *privval.FilePV, vote *types.Vote, vote2 *types.Vote, chainID string)
rpc/client/evidence_test.go:29
↓ 6 callers
Function
newPeerList
()
internal/statesync/dispatcher.go:234
↓ 6 callers
Function
newProposal
(height int64, round int32, blockID types.BlockID)
privval/file_test.go:345
↓ 6 callers
Function
newRoutine
(name string, handleFunc handleFunc, bufferSize int)
internal/blocksync/v2/routine.go:36
↓ 6 callers
Function
newStateWithConfigAndBlockStore
( thisConfig *config.Config, state sm.State, pv types.PrivValidator, app abci.Application, blockStore *st
internal/consensus/common_test.go:411
↓ 6 callers
Method
onError
onError calls the peer error callback.
internal/p2p/peer.go:125
↓ 6 callers
Function
randGenesisState
( cfg *config.Config, numValidators int, randPower bool, minPower int64)
internal/consensus/common_test.go:871
↓ 6 callers
Function
randLightBlock
(height int64)
light/store/db/db_test.go:185
↓ 6 callers
Function
randWriteFileSuffix
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 callers
Method
ready
()
internal/blocksync/v2/routine.go:144
↓ 6 callers
Function
round
round returns x rounded to the nearest int64 (non-negative values only).
internal/libs/flowrate/util.go:36
↓ 6 callers
Method
rune
()
libs/pubsub/query/syntax/scanner.go:281
↓ 6 callers
Function
safeAddClip
(a, b int64)
types/validator_set.go:891
↓ 6 callers
Function
safeSubClip
(a, b int64)
types/validator_set.go:902
↓ 6 callers
Method
saveValidatorsInfo
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 callers
Method
scheduleTimeout
Attempt to schedule a timeout (by sending timeoutInfo on the tickChan)
internal/consensus/state.go:596
↓ 6 callers
Function
setup
(t *testing.T, config *config.MempoolConfig, numNodes int, chBuf uint)
internal/mempool/v0/reactor_test.go:39
↓ 6 callers
Function
setup
(t *testing.T, stateStores []sm.Store, chBuf uint)
internal/evidence/reactor_test.go:47
↓ 6 callers
Function
signVote
Sign vote for type/hash/header
internal/consensus/common_test.go:146
↓ 6 callers
Function
skipParams
(dAtA []byte)
proto/tendermint/types/params.pb.go:1607
↓ 6 callers
Function
skipTypes
(dAtA []byte)
proto/tendermint/blocksync/types.pb.go:1453
↓ 6 callers
Function
sovBlock
(x uint64)
proto/tendermint/types/block.pb.go:216
↓ 6 callers
Method
start
(t *testing.T)
internal/evidence/reactor_test.go:119
↓ 6 callers
Method
start
()
internal/blocksync/v2/routine.go:60
↓ 6 callers
Function
testMux
()
rpc/jsonrpc/server/http_json_handler_test.go:18
↓ 6 callers
Function
testNodeInfo
(id NodeID, name string)
types/node_info_test.go:100
↓ 6 callers
Function
validatorListCopy
Makes a copy of the validator list.
types/validator_set.go:237
↓ 6 callers
Function
validatorsKey
(height int64)
internal/state/store.go:46
↓ 6 callers
Method
verifyLightBlockAtHeight
(ctx context.Context, height uint64, ts time.Time)
internal/statesync/stateprovider.go:89
↓ 6 callers
Method
verifyLightBlockAtHeight
(ctx context.Context, height uint64, ts time.Time)
internal/statesync/stateprovider.go:243
↓ 6 callers
Function
waitGroup1
()
internal/libs/clist/clist.go:400
↓ 5 callers
Method
ABCIQueryWithOptions
(ctx context.Context, path string, data bytes.HexBytes, opts ABCIQueryOptions)
rpc/client/interface.go:66
↓ 5 callers
Function
ASCIITrim
NOTE: Assumes that s is ASCII as per IsASCIIText(), otherwise panics.
libs/strings/string.go:74
↓ 5 callers
Method
AddPrivateIDs
([]string)
internal/p2p/pex/addrbook.go:44
↓ 5 callers
Function
ApplyFixes
ApplyFixes transforms doc and reports whether it succeeded.
internal/libs/confix/confix.go:66
↓ 5 callers
Method
ApplySnapshotChunk
Load a snapshot chunk
abci/types/application.go:30
↓ 5 callers
Method
BlockResults
(ctx context.Context, height *int64)
rpc/client/interface.go:80
↓ 5 callers
Method
CanSend
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 callers
Function
ChannelDescriptor
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 callers
Method
CheckEvidence
(types.EvidenceList)
internal/state/services.go:49
↓ 5 callers
Function
Cleanup
Cleanup removes the Docker Compose containers and testnet directory.
test/e2e/runner/cleanup.go:13
↓ 5 callers
Method
Cleanup
(func())
internal/proxy/mocks/app_conn_query.go:103
↓ 5 callers
Function
CommitFromProto
FromProto sets a protobuf Commit to the given pointer. It returns an error if the commit is invalid.
types/block.go:969
↓ 5 callers
Method
CommitSync
(context.Context)
internal/proxy/app_conn.go:26
↓ 5 callers
Method
Compare
(interface{})
proto/tendermint/crypto/keys.pb.go:74
↓ 5 callers
Method
CompatibleWith
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 callers
Method
ConsensusParams
(ctx context.Context, height *int64)
rpc/client/interface.go:125
↓ 5 callers
Method
Copy
Copy returns a new trust metric with members containing the same values
internal/p2p/trust/metric.go:258
↓ 5 callers
Method
Count
()
types/part_set.go:245
↓ 5 callers
Method
Count
()
internal/libs/timer/throttle_timer_test.go:26
↓ 5 callers
Method
CreateProposalBlock
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 callers
Method
Dial
Dial implements Transport.
internal/p2p/transport_mconn.go:155
↓ 5 callers
Method
EnableTxsAvailable
EnableTxsAvailable initializes the TxsAvailable channel, ensuring it will trigger once every height when transactions are available.
internal/mempool/mempool.go:92
↓ 5 callers
Function
EvidenceFromProto
EvidenceFromProto is a generalized function for decoding protobuf into the evidence interface
types/evidence.go:615
↓ 5 callers
Method
EvidenceFront
EvidenceFront goes to the first evidence in the clist
internal/evidence/pool.go:242
↓ 5 callers
Function
EvidenceToProto
------------------------------------------ PROTO -------------------------------------- EvidenceToProto is a generalized function for encoding evidenc
types/evidence.go:583
↓ 5 callers
Method
FirstValue
Returns the firstmost (by task index) error as discovered by all previous Reap() calls.
libs/async/async.go:99
↓ 5 callers
Method
FlushSync
(context.Context)
internal/proxy/app_conn_test.go:21
↓ 5 callers
Method
GenSignedHeaderLastBlockID
GenSignedHeaderLastBlockID calls genHeader and signHeader and combines them into a SignedHeader.
light/helpers_test.go:157
↓ 5 callers
Function
Generate
Generate generates random testnets using the given RNG.
test/e2e/generator/generate.go:71
↓ 5 callers
Method
Genesis
(context.Context)
rpc/client/interface.go:109
↓ 5 callers
Method
GenesisChunked
(context.Context, uint)
rpc/client/interface.go:110
↓ 5 callers
Method
GetChainId
()
proto/tendermint/privval/types.pb.go:155
↓ 5 callers
Method
GetOrSet
GetOrSet returns the existing value if present. Othewise, it stores `newValue` and returns it.
libs/cmap/cmap.go:26
← previous
next →
801–900 of 9,600, ranked by callers