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
↓ 2 callers
Method
SetRunning
SetRunning sets the running state of the peer.
internal/consensus/peer_state.go:67
↓ 2 callers
Method
SetTicker
SetTicker allows a TestTicker to be provided that will manually control the passing of time from the perspective of the Metric. The ticker must be set
internal/p2p/trust/metric.go:250
↓ 2 callers
Function
SignedHeaderFromProto
FromProto sets a protobuf SignedHeader to the given pointer. It returns an error if the header or the commit is invalid.
types/light.go:197
↓ 2 callers
Method
Size
------------------------------------------------ Size returns the number of addresses in the book.
internal/p2p/pex/addrbook.go:478
↓ 2 callers
Method
Size
Size returns the number of evidence in the pool.
internal/evidence/pool.go:253
↓ 2 callers
Method
SnapshotChunksCount
()
internal/statesync/reactor.go:134
↓ 2 callers
Method
SnapshotChunksTotal
()
internal/statesync/reactor.go:135
↓ 2 callers
Method
SnapshotHeight
()
internal/statesync/reactor.go:133
↓ 2 callers
Method
StopPeerGracefully
StopPeerGracefully disconnects from a peer gracefully. TODO: handle graceful disconnects.
internal/p2p/switch.go:401
↓ 2 callers
Method
StringShort
StringShort returns a shortened string representation of the block.
types/block.go:201
↓ 2 callers
Method
Subscribe
(ctx context.Context, subscriber string, query tmpubsub.Query, outCapacity ...int)
types/event_bus.go:17
↓ 2 callers
Function
SwitchPeerFilters
SwitchPeerFilters sets the filters for rejection of new peers.
internal/p2p/switch.go:180
↓ 2 callers
Method
SwitchToConsensus
for when we switch from blockchain reactor and block sync to the consensus machine
internal/blocksync/v2/io.go:47
↓ 2 callers
Method
Sync
Sync commits the current contents of the file to stable storage. Typically, this means flushing the file system's in-memory copy of recently written d
internal/libs/autofile/autofile.go:148
↓ 2 callers
Method
Syntax
Syntax returns the syntax tree representation of q.
libs/pubsub/query/query.go:88
↓ 2 callers
Function
Test
Test runs test cases under tests/
test/e2e/runner/test.go:10
↓ 2 callers
Function
TestBaseConfig
TestBaseConfig returns a base configuration for testing a Tendermint node
config/config.go:264
↓ 2 callers
Function
TestBlockSyncConfig
TestBlockSyncConfig returns a default configuration for the block sync.
config/config.go:1091
↓ 2 callers
Function
TestMempoolConfig
TestMempoolConfig returns a configuration for testing the Tendermint mempool
config/config.go:917
↓ 2 callers
Function
TestP2PConfig
TestP2PConfig returns a configuration for testing the peer-to-peer layer
config/config.go:804
↓ 2 callers
Function
TestStateSyncConfig
TestStateSyncConfig returns a default configuration for the state sync service
config/config.go:1015
↓ 2 callers
Method
ToJSON
ToJSON returns a json of PeerState.
internal/consensus/peer_state.go:94
↓ 2 callers
Method
ToProto
ToProto converts PartSetHeader to protobuf
types/part_set.go:125
↓ 2 callers
Method
ToProto
ToProto converts Block to protobuf
types/block.go:209
↓ 2 callers
Method
ToProto
ToProto converts Commit to protobuf
types/block.go:948
↓ 2 callers
Method
ToProto
ToProto converts BlockID to protobuf
types/block.go:1231
↓ 2 callers
Method
ToProto
()
crypto/merkle/proof.go:119
↓ 2 callers
Method
ToProto
ToProto converts the peerInfo to p2pproto.PeerInfo for database storage. The Protobuf type only contains persisted fields, while ephemeral fields are
internal/p2p/peermanager.go:1506
↓ 2 callers
Function
ToResponseApplySnapshotChunk
(res ResponseApplySnapshotChunk)
abci/types/messages.go:198
↓ 2 callers
Function
ToResponseBeginBlock
(res ResponseBeginBlock)
abci/types/messages.go:168
↓ 2 callers
Function
ToResponseCheckTx
(res ResponseCheckTx)
abci/types/messages.go:144
↓ 2 callers
Function
ToResponseCommit
(res ResponseCommit)
abci/types/messages.go:150
↓ 2 callers
Function
ToResponseDeliverTx
(res ResponseDeliverTx)
abci/types/messages.go:138
↓ 2 callers
Function
ToResponseEcho
(message string)
abci/types/messages.go:121
↓ 2 callers
Function
ToResponseEndBlock
(res ResponseEndBlock)
abci/types/messages.go:174
↓ 2 callers
Function
ToResponseInfo
(res ResponseInfo)
abci/types/messages.go:133
↓ 2 callers
Function
ToResponseInitChain
(res ResponseInitChain)
abci/types/messages.go:162
↓ 2 callers
Function
ToResponseListSnapshots
(res ResponseListSnapshots)
abci/types/messages.go:180
↓ 2 callers
Function
ToResponseLoadSnapshotChunk
(res ResponseLoadSnapshotChunk)
abci/types/messages.go:192
↓ 2 callers
Function
ToResponseOfferSnapshot
(res ResponseOfferSnapshot)
abci/types/messages.go:186
↓ 2 callers
Function
ToResponseQuery
(res ResponseQuery)
abci/types/messages.go:156
↓ 2 callers
Method
TotalSnapshots
()
internal/statesync/reactor.go:131
↓ 2 callers
Method
TrustHashBytes
()
config/config.go:995
↓ 2 callers
Method
TrustValue
TrustValue gets the dependable trust value; always between 0 and 1
internal/p2p/trust/metric.go:194
↓ 2 callers
Method
TrustedLightBlock
(height int64)
light/rpc/client.go:33
↓ 2 callers
Function
TxProofFromProto
(pb tmproto.TxProof)
types/tx.go:125
↓ 2 callers
Method
TxsFront
TxsFront returns the first transaction in the ordered list for peer goroutines to call .NextWait() on. FIXME: leaking implementation details! Safe fo
internal/mempool/v0/clist_mempool.go:182
↓ 2 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/mempool/types.pb.go:306
↓ 2 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/crypto/proof.pb.go:841
↓ 2 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/p2p/types.pb.go:959
↓ 2 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/p2p/pex.pb.go:1411
↓ 2 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/consensus/wal.pb.go:824
↓ 2 callers
Method
Unmarshal
(dAtA []byte)
proto/tendermint/blocksync/types.pb.go:1225
↓ 2 callers
Method
UnsubscribeAll
(ctx context.Context, subscriber string)
types/event_bus.go:19
↓ 2 callers
Method
UnsubscribeAll
UnsubscribeAll removes all client subscriptions. An error will be returned to the caller if the context is canceled or if subscription does not exist.
libs/pubsub/pubsub.go:290
↓ 2 callers
Method
Update
(State, types.EvidenceList)
internal/state/services.go:48
↓ 2 callers
Method
UpperBoundValue
UpperBoundValue returns the value for the upper bound. If the upper bound is nil, nil will be returned.
internal/state/indexer/query_range.go:57
↓ 2 callers
Method
Validate
Validate validates a NodeAddress.
internal/p2p/address.go:163
↓ 2 callers
Method
ValidateBasic
ValidateBasic checks that the data is correct and consistent This does no verification of the signatures
types/light.go:21
↓ 2 callers
Method
ValidateBasic
ValidateBasic performs basic validation.
types/evidence.go:127
↓ 2 callers
Method
ValidateBasic
ValidateBasic performs basic validation.
types/proposal.go:49
↓ 2 callers
Method
ValidateBasic
ValidateBasic performs basic validation.
internal/consensus/msgs.go:186
↓ 2 callers
Method
ValidateBasic
ValidateBasic performs basic validation (checking param bounds, etc.) and returns an error if any check fails.
config/config.go:141
↓ 2 callers
Method
ValidateHeight
ValidateHeight validates the height given the chain's initial height.
internal/consensus/msgs.go:70
↓ 2 callers
Method
Verify
(proof *tmcrypto.ProofOps, root []byte, keypath string, args [][]byte)
crypto/merkle/proof_op.go:124
↓ 2 callers
Method
Verify
()
crypto/ed25519/ed25519.go:225
↓ 2 callers
Function
VerifyNonAdjacent
VerifyNonAdjacent verifies non-adjacent untrustedHeader against trustedHeader. It ensures that: a) trustedHeader can still be trusted (if not, ErrOl
light/verifier.go:33
↓ 2 callers
Method
VoteStrings
Returns a list of votes compressed to more readable strings.
types/vote_set.go:547
↓ 2 callers
Function
WALFromProto
WALFromProto takes a proto wal message and return a consensus walMessage and error.
internal/consensus/msgs.go:631
↓ 2 callers
Function
WALToProto
WALToProto takes a WAL message and return a proto walMessage and error.
internal/consensus/msgs.go:573
↓ 2 callers
Function
WALWithNBlocks
WALWithNBlocks returns a WAL content with numBlocks.
internal/consensus/wal_generator.go:129
↓ 2 callers
Function
WaitForOneEvent
WaitForOneEvent subscribes to a websocket event for the given event time and returns upon receiving it one time, or when the timeout duration has expi
rpc/client/helpers.go:62
↓ 2 callers
Method
WaitSync
()
internal/rpc/core/env.go:63
↓ 2 callers
Method
Write
Write writes len(p) bytes from p to the underlying data stream without exceeding the current transfer rate limit. It returns (n, ErrLimit) if w is non
internal/libs/flowrate/io.go:96
↓ 2 callers
Method
_recover
Catch panics, usually caused by remote disconnects.
internal/p2p/conn/connection.go:343
↓ 2 callers
Function
aVote
()
internal/libs/protoio/writer_test.go:17
↓ 2 callers
Method
addBucketRef
(bucketIdx int)
internal/p2p/pex/known_address.go:69
↓ 2 callers
Function
addDBFlags
(cmd *cobra.Command)
cmd/tendermint/commands/run_node.go:103
↓ 2 callers
Method
addNode
(t *testing.T, nodeID types.NodeID, genDoc *types.GenesisDoc, privVal types.PrivValidator, maxBlockHeight
internal/blocksync/v0/reactor_test.go:92
↓ 2 callers
Method
addNodes
(t *testing.T, nodes int)
internal/p2p/pex/reactor_test.go:443
↓ 2 callers
Method
addOutboundPeerWithConfig
dial the peer; make secret connection; authenticate against the dialed ID; add the peer. if dialing fails, start the reconnect loop. If handshake fail
internal/p2p/switch.go:789
↓ 2 callers
Method
addPeerWithConnection
(conn net.Conn)
internal/p2p/test_util.go:121
↓ 2 callers
Method
addToOldBucket
Adds ka to old bucket. Returns false if it couldn't do it cuz buckets full.
internal/p2p/pex/addrbook.go:561
↓ 2 callers
Method
allEntriesSorted
allEntriesSorted returns a slice of all the transactions currently in the mempool, sorted in nonincreasing order by priority with ties broken by incre
internal/mempool/v1/mempool.go:301
↓ 2 callers
Function
applyChangesToValSet
(t *testing.T, expErr error, valSet *ValidatorSet, valsLists ...[]testVal)
types/validator_set_test.go:1206
↓ 2 callers
Method
applyUpdates
Merges the vals' validator list with the updates list. When two elements with same address are seen, the one from updates is selected. Expects updates
types/validator_set.go:499
↓ 2 callers
Function
argsToJSON
(args map[string]interface{})
rpc/jsonrpc/client/encode.go:29
↓ 2 callers
Method
assertEvidenceChannelsEmpty
(t *testing.T)
internal/evidence/reactor_test.go:196
↓ 2 callers
Function
assertMOldAndNNewAddrsInSelection
(t *testing.T, m, n int, addrs []*p2p.NetAddress, book *addrBook)
internal/p2p/pex/addrbook_test.go:688
↓ 2 callers
Function
assertNoPeersAfterTimeout
(t *testing.T, sw *Switch, timeout time.Duration)
internal/p2p/switch_test.go:388
↓ 2 callers
Function
assertWellOrderedMigrations
(t *testing.T, testData []toMigrate)
scripts/scmigrate/migrate_test.go:30
↓ 2 callers
Method
backfill
( ctx context.Context, chainID string, startHeight, stopHeight, initialHeight int64, trustedBlockID types.
internal/statesync/reactor.go:370
↓ 2 callers
Function
backoffTimeout
exponential backoff (with jitter) 0.5s -> 2s -> 4.5s -> 8s -> 12.5 with 1s variation
light/provider/http/http.go:334
↓ 2 callers
Method
batchDelete
batchDelete runs an iterator over a set of keys, first preforming a pre deletion hook before adding it to the batch. The function ends when either 100
internal/store/store.go:410
↓ 2 callers
Function
benchmarkMarshalDelimited
(b *testing.B, msgs []proto.Message)
internal/libs/protoio/writer_test.go:73
↓ 2 callers
Method
bitArrayString
()
types/vote_set.go:540
↓ 2 callers
Method
broadcast
broadcast broadcasts a peer update to all subscriptions. The caller must already hold the mutex lock, to make sure updates are sent in the same order
internal/p2p/peermanager.go:1157
↓ 2 callers
Method
broadcastTX
( ctx context.Context, route string, tx types.Tx, )
rpc/client/http/http.go:273
↓ 2 callers
Method
broadcastTxRoutine
(peerID types.NodeID, closer *tmsync.Closer)
internal/mempool/v1/reactor.go:310
↓ 2 callers
Function
buildString
(length int, picker func() int64)
libs/rand/random.go:53
← previous
next →
2,201–2,300 of 9,600, ranked by callers