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
↓ 4 callers
Function
writeFile
(filePath string, contents []byte, mode os.FileMode)
config/toml.go:661
↓ 3 callers
Method
Accept
Accept implements Transport.
internal/p2p/transport_mconn.go:136
↓ 3 callers
Method
AddChannel
AddChannel is used by the router when a channel is opened to add it to the node info
types/node_info.go:176
↓ 3 callers
Method
AddChunk
AddChunk adds a chunk to the chunk queue, if any. It returns false if the chunk has already been added to the queue, or an error if there's no sync in
internal/statesync/syncer.go:107
↓ 3 callers
Method
AddOurAddress
Add our own addresses so we don't later add ourselves
internal/p2p/pex/addrbook.go:40
↓ 3 callers
Method
AddVote
------------------------------------------------------------ Public interface for passing messages into the consensus state, possibly causing a state
internal/consensus/state.go:508
↓ 3 callers
Method
AddressP2P
Address returns a P2P endpoint address for the node.
test/e2e/pkg/testnet.go:450
↓ 3 callers
Method
Addresses
(types.NodeID)
internal/rpc/core/env.go:69
↓ 3 callers
Method
AppendKey
(key []byte, enc keyEncoding)
crypto/merkle/proof_key_path.go:66
↓ 3 callers
Method
ArchiveNodes
ArchiveNodes returns a list of archive nodes that start at the initial height and contain the entire blockchain history. They are used e.g. as light c
test/e2e/pkg/testnet.go:424
↓ 3 callers
Method
Bootstrap
Bootstrap is used for bootstrapping state when not starting from a initial height.
internal/state/store.go:93
↓ 3 callers
Function
Bytes
Bytes returns n random bytes generated from math/rand's global default Source.
libs/rand/random.go:78
↓ 3 callers
Method
Bytes
Bytes returns the byte-encoded PrivKey.
crypto/sr25519/privkey.go:33
↓ 3 callers
Method
Call
Call enqueues a call request onto the Send queue. Requests are JSON encoded.
rpc/jsonrpc/client/ws_client.go:212
↓ 3 callers
Function
CanonicalTime
CanonicalTime can be used to stringify time in a canonical way.
types/canonical.go:68
↓ 3 callers
Function
CanonicalizeBlockID
----------------------------------- Canonicalize the structs
types/canonical.go:18
↓ 3 callers
Function
CanonicalizeProposal
CanonicalizeVote transforms the given Proposal to a CanonicalProposal.
types/canonical.go:42
↓ 3 callers
Function
CanonicalizeVote
CanonicalizeVote transforms the given Vote to a CanonicalVote, which does not contain ValidatorIndex and ValidatorAddress fields.
types/canonical.go:56
↓ 3 callers
Method
CheckTxAsync
(context.Context, types.RequestCheckTx)
internal/proxy/app_conn.go:33
↓ 3 callers
Method
Cleanup
(func())
internal/state/mocks/store.go:192
↓ 3 callers
Method
Cleanup
(func())
internal/state/indexer/mocks/event_sink.go:171
↓ 3 callers
Method
CommitSync
(context.Context)
abci/client/client.go:57
↓ 3 callers
Method
CompareProposerPriority
Returns the one with higher ProposerPriority.
types/validator.go:63
↓ 3 callers
Function
ComputeProtoSizeForTxs
ComputeProtoSizeForTxs wraps the transactions in tmproto.Data{} and calculates the size. https://developers.google.com/protocol-buffers/docs/encoding
types/tx.go:143
↓ 3 callers
Method
ConflictingHeaderIsInvalid
ConflictingHeaderIsInvalid takes a trusted header and matches it againt a conflicting header to determine whether the conflicting header was the produ
types/evidence.go:332
↓ 3 callers
Method
ConsensusState
(context.Context)
rpc/client/interface.go:124
↓ 3 callers
Function
DefaultBaseConfig
DefaultBaseConfig returns a default base configuration for a Tendermint node
config/config.go:247
↓ 3 callers
Function
DefaultConsensusConfig
DefaultConsensusConfig returns a default configuration for the consensus service
config/config.go:1150
↓ 3 callers
Function
DefaultDBProvider
DefaultDBProvider returns a database using the DBBackend and DBDir specified in the Config.
config/db.go:24
↓ 3 callers
Function
DefaultPrivValidatorConfig
DefaultBaseConfig returns a default private validator configuration for a Tendermint node.
config/config.go:400
↓ 3 callers
Function
DefaultStateSyncConfig
DefaultStateSyncConfig returns a default configuration for the state sync service
config/config.go:1005
↓ 3 callers
Method
DeliverTx
(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption)
abci/types/types.pb.go:3150
↓ 3 callers
Method
DeliverTxAsync
(context.Context, types.RequestDeliverTx)
internal/proxy/app_conn.go:24
↓ 3 callers
Method
DetachNext
()
internal/libs/clist/clist.go:138
↓ 3 callers
Function
DialUnixFn
DialUnixFn dials the given unix socket.
privval/socket_dialers.go:37
↓ 3 callers
Method
DiscardSender
DiscardSender discards all *unreturned* chunks from a given sender. If the caller wants to discard already returned chunks, this can be done via Disca
internal/statesync/chunks.go:191
↓ 3 callers
Method
EchoAsync
(ctx context.Context, msg string)
internal/proxy/app_conn_test.go:20
↓ 3 callers
Method
EnableTxsAvailable
NOTE: not thread safe - should only be called once, on startup
internal/mempool/v0/clist_mempool.go:105
↓ 3 callers
Function
EnsureRoot
****** these are for production settings ***********/ EnsureRoot creates the root, config, and data directories if they don't exist, and panics if it
config/toml.go:34
↓ 3 callers
Method
ExtractIntoValidator
(votingPower int64)
types/priv_validator.go:117
↓ 3 callers
Method
FireEvent
Cache an event to be fired upon finality.
libs/events/event_cache.go:24
↓ 3 callers
Method
Flush
Fire events by running evsw.FireEvent on all cached events. Blocks. Clears cached events
libs/events/event_cache.go:31
↓ 3 callers
Method
FlushAndSync
FlushAndSync flushes and fsync's the underlying group's data to disk. See auto#FlushAndSync
internal/consensus/wal.go:157
↓ 3 callers
Method
FlushAsync
(context.Context)
internal/proxy/app_conn.go:36
↓ 3 callers
Method
FlushClose
FlushClose flushes all pending sends and then closes the connection. FIXME: This only exists for backwards-compatibility with the current MConnection
internal/p2p/transport.go:124
↓ 3 callers
Method
FlushStop
()
internal/p2p/peer.go:24
↓ 3 callers
Method
FlushSync
(context.Context)
internal/proxy/app_conn.go:37
↓ 3 callers
Function
GenPrivKey
GenPrivKey generates a new ECDSA private key on curve secp256k1 private key. It uses OS randomness to generate the private key.
crypto/secp256k1/secp256k1.go:68
↓ 3 callers
Method
Get
TODO make it return an index
crypto/merkle/types.go:14
↓ 3 callers
Method
Get
(key string)
libs/cmap/cmap.go:39
↓ 3 callers
Method
GetApplySnapshotChunk
()
abci/types/types.pb.go:377
↓ 3 callers
Method
GetBehaviors
GetBehaviors returns all behaviors reported on the peer identified by peerID.
internal/blocksync/v2/internal/behavior/reporter.go:76
↓ 3 callers
Method
GetChunkRequest
()
proto/tendermint/statesync/types.pb.go:134
↓ 3 callers
Method
GetCommit
()
abci/types/types.pb.go:349
↓ 3 callers
Method
GetDeliverTx
()
abci/types/types.pb.go:335
↓ 3 callers
Method
GetDialAddress
GetDialAddress returns the endpoint to dial for the parsed URL
rpc/jsonrpc/client/http_json_client.go:92
↓ 3 callers
Method
GetEcho
()
abci/types/types.pb.go:286
↓ 3 callers
Method
GetEndBlock
()
abci/types/types.pb.go:342
↓ 3 callers
Method
GetInfo
()
abci/types/types.pb.go:300
↓ 3 callers
Method
GetInitChain
()
abci/types/types.pb.go:307
↓ 3 callers
Method
GetListSnapshots
()
abci/types/types.pb.go:356
↓ 3 callers
Method
GetLoadSnapshotChunk
()
abci/types/types.pb.go:370
↓ 3 callers
Method
GetOfferSnapshot
()
abci/types/types.pb.go:363
↓ 3 callers
Method
GetPeer
GetPeer returns a random peer for a snapshot, if any.
internal/statesync/snapshots.go:132
↓ 3 callers
Method
GetQuery
()
abci/types/types.pb.go:314
↓ 3 callers
Method
GetStatus
GetStatus returns pool's height, numPending requests and the number of requesters.
internal/blocksync/v0/pool.go:174
↓ 3 callers
Method
GetSum
()
proto/tendermint/crypto/keys.pb.go:91
↓ 3 callers
Method
GetSum
()
proto/tendermint/p2p/conn.pb.go:220
↓ 3 callers
Method
GetTrimmedURL
Get a trimmed address with protocol - useful as address in RPC connections
rpc/jsonrpc/client/http_json_client.go:102
↓ 3 callers
Method
GetTxByHash
GetTxByHash provides the transaction search by given transaction hash. This function only supported by the kvEventSink.
internal/state/indexer/eventsink.go:45
↓ 3 callers
Method
GoodEvents
GoodEvents indicates that a desirable event(s) took place
internal/p2p/trust/metric.go:185
↓ 3 callers
Function
HChaCha20
HChaCha exported from https://github.com/aead/chacha20/blob/8b13a72661dae6e9e5dea04f344f0dc95ea29547/chacha/chacha_generic.go#L194 TODO: Add support f
crypto/xchacha20poly1305/xchachapoly.go:132
↓ 3 callers
Method
Has
Has returns true if the set contains the peer referred to by this peerKey, otherwise false.
internal/p2p/peer_set.go:62
↓ 3 callers
Method
Has
(key string)
libs/cmap/cmap.go:46
↓ 3 callers
Method
HasAll
()
types/vote_set.go:439
↓ 3 callers
Method
Hash
Hash returns the Merkle root hash build using validators (as leaves) in the set.
types/validator_set.go:347
↓ 3 callers
Method
Hash
Hash returns the hash of the header. It computes a Merkle tree from the header fields ordered as they appear in the Header. Returns nil if ValidatorHa
types/block.go:448
↓ 3 callers
Method
IndexByHash
IndexByHash returns the index of this transaction hash in the list, or -1 if not found
types/tx.go:55
↓ 3 callers
Method
InvokeCallback
InvokeCallback invokes a thread-safe execution of the configured callback if non-nil.
abci/client/client.go:130
↓ 3 callers
Method
IsBanned
(*p2p.NetAddress)
internal/p2p/pex/addrbook.go:70
↓ 3 callers
Function
IsDataCorruptionError
IsDataCorruptionError returns true if data has been corrupted inside WAL.
internal/consensus/wal.go:332
↓ 3 callers
Method
IsIncompatible
IsIncompatible when Peer NodeInfo is not compatible with our own.
internal/p2p/errors.go:93
↓ 3 callers
Method
IsPeerUnconditional
(id types.NodeID)
internal/p2p/switch.go:356
↓ 3 callers
Method
IsRunning
Return true if the service is running
libs/service/service.go:43
↓ 3 callers
Method
IsRunning
IsRunning reports whether the websocket client is running.
rpc/client/http/ws.go:104
↓ 3 callers
Method
IsSelf
IsSelf when Peer is our own node.
internal/p2p/errors.go:99
↓ 3 callers
Method
LastDialed
LastDialed returns when the peer was last dialed, and if that dial attempt was successful. If the peer was never dialed the time stamp is zero time.
internal/p2p/peermanager.go:1538
↓ 3 callers
Method
Less
XXX: doesn't distinguish same validator with different power
abci/types/util.go:25
↓ 3 callers
Method
Less
(i, j int)
internal/statesync/block_queue.go:252
↓ 3 callers
Method
LightBlock
LightBlock uses the request channel to fetch a light block from a given peer tracking, the call and waiting for the reactor to pass back the response.
internal/statesync/dispatcher.go:48
↓ 3 callers
Method
ListenAndServe
ListenAndServe listens on the address specified in srv.Addr and handles any incoming requests over HTTP using the Inspector rpc handler specified on t
internal/inspect/rpc/rpc.go:104
↓ 3 callers
Function
Load
Load generates transactions against the network until the given context is canceled.
test/e2e/runner/load.go:18
↓ 3 callers
Method
LoadBlock
(height int64)
internal/blocksync/v2/reactor.go:28
↓ 3 callers
Function
LoadNodeKey
LoadNodeKey loads NodeKey located in filePath.
types/node_key.go:69
↓ 3 callers
Method
LoadNodeKeyID
LoadNodeKey loads NodeKey located in filePath.
config/config.go:288
↓ 3 callers
Function
MConnConfig
MConnConfig returns an MConnConfig with fields updated from the P2PConfig.
internal/p2p/switch.go:42
↓ 3 callers
Method
MakeNode
MakeNode creates a new Node configured for the network with a running peer manager, but does not add it to the existing network. Callers are responsib
internal/p2p/p2ptest/network.go:227
↓ 3 callers
Function
MakeSwitchPair
----------------------------------------------------------------------------- convenience method for creating two switches connected to each other. XX
internal/p2p/switch_test.go:96
↓ 3 callers
Method
MarkAttempt
(*p2p.NetAddress)
internal/p2p/pex/addrbook.go:64
↓ 3 callers
Method
Marshal
()
proto/tendermint/types/validator.pb.go:296
← previous
next →
1,301–1,400 of 9,600, ranked by callers