MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 4 callersFunctionwriteFile
(filePath string, contents []byte, mode os.FileMode)
config/toml.go:661
↓ 3 callersMethodAccept
Accept implements Transport.
internal/p2p/transport_mconn.go:136
↓ 3 callersMethodAddChannel
AddChannel is used by the router when a channel is opened to add it to the node info
types/node_info.go:176
↓ 3 callersMethodAddChunk
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 callersMethodAddOurAddress
Add our own addresses so we don't later add ourselves
internal/p2p/pex/addrbook.go:40
↓ 3 callersMethodAddVote
------------------------------------------------------------ Public interface for passing messages into the consensus state, possibly causing a state
internal/consensus/state.go:508
↓ 3 callersMethodAddressP2P
Address returns a P2P endpoint address for the node.
test/e2e/pkg/testnet.go:450
↓ 3 callersMethodAddresses
(types.NodeID)
internal/rpc/core/env.go:69
↓ 3 callersMethodAppendKey
(key []byte, enc keyEncoding)
crypto/merkle/proof_key_path.go:66
↓ 3 callersMethodArchiveNodes
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 callersMethodBootstrap
Bootstrap is used for bootstrapping state when not starting from a initial height.
internal/state/store.go:93
↓ 3 callersFunctionBytes
Bytes returns n random bytes generated from math/rand's global default Source.
libs/rand/random.go:78
↓ 3 callersMethodBytes
Bytes returns the byte-encoded PrivKey.
crypto/sr25519/privkey.go:33
↓ 3 callersMethodCall
Call enqueues a call request onto the Send queue. Requests are JSON encoded.
rpc/jsonrpc/client/ws_client.go:212
↓ 3 callersFunctionCanonicalTime
CanonicalTime can be used to stringify time in a canonical way.
types/canonical.go:68
↓ 3 callersFunctionCanonicalizeBlockID
----------------------------------- Canonicalize the structs
types/canonical.go:18
↓ 3 callersFunctionCanonicalizeProposal
CanonicalizeVote transforms the given Proposal to a CanonicalProposal.
types/canonical.go:42
↓ 3 callersFunctionCanonicalizeVote
CanonicalizeVote transforms the given Vote to a CanonicalVote, which does not contain ValidatorIndex and ValidatorAddress fields.
types/canonical.go:56
↓ 3 callersMethodCheckTxAsync
(context.Context, types.RequestCheckTx)
internal/proxy/app_conn.go:33
↓ 3 callersMethodCleanup
(func())
internal/state/mocks/store.go:192
↓ 3 callersMethodCleanup
(func())
internal/state/indexer/mocks/event_sink.go:171
↓ 3 callersMethodCommitSync
(context.Context)
abci/client/client.go:57
↓ 3 callersMethodCompareProposerPriority
Returns the one with higher ProposerPriority.
types/validator.go:63
↓ 3 callersFunctionComputeProtoSizeForTxs
ComputeProtoSizeForTxs wraps the transactions in tmproto.Data{} and calculates the size. https://developers.google.com/protocol-buffers/docs/encoding
types/tx.go:143
↓ 3 callersMethodConflictingHeaderIsInvalid
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 callersMethodConsensusState
(context.Context)
rpc/client/interface.go:124
↓ 3 callersFunctionDefaultBaseConfig
DefaultBaseConfig returns a default base configuration for a Tendermint node
config/config.go:247
↓ 3 callersFunctionDefaultConsensusConfig
DefaultConsensusConfig returns a default configuration for the consensus service
config/config.go:1150
↓ 3 callersFunctionDefaultDBProvider
DefaultDBProvider returns a database using the DBBackend and DBDir specified in the Config.
config/db.go:24
↓ 3 callersFunctionDefaultPrivValidatorConfig
DefaultBaseConfig returns a default private validator configuration for a Tendermint node.
config/config.go:400
↓ 3 callersFunctionDefaultStateSyncConfig
DefaultStateSyncConfig returns a default configuration for the state sync service
config/config.go:1005
↓ 3 callersMethodDeliverTx
(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption)
abci/types/types.pb.go:3150
↓ 3 callersMethodDeliverTxAsync
(context.Context, types.RequestDeliverTx)
internal/proxy/app_conn.go:24
↓ 3 callersMethodDetachNext
()
internal/libs/clist/clist.go:138
↓ 3 callersFunctionDialUnixFn
DialUnixFn dials the given unix socket.
privval/socket_dialers.go:37
↓ 3 callersMethodDiscardSender
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 callersMethodEchoAsync
(ctx context.Context, msg string)
internal/proxy/app_conn_test.go:20
↓ 3 callersMethodEnableTxsAvailable
NOTE: not thread safe - should only be called once, on startup
internal/mempool/v0/clist_mempool.go:105
↓ 3 callersFunctionEnsureRoot
****** 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 callersMethodExtractIntoValidator
(votingPower int64)
types/priv_validator.go:117
↓ 3 callersMethodFireEvent
Cache an event to be fired upon finality.
libs/events/event_cache.go:24
↓ 3 callersMethodFlush
Fire events by running evsw.FireEvent on all cached events. Blocks. Clears cached events
libs/events/event_cache.go:31
↓ 3 callersMethodFlushAndSync
FlushAndSync flushes and fsync's the underlying group's data to disk. See auto#FlushAndSync
internal/consensus/wal.go:157
↓ 3 callersMethodFlushAsync
(context.Context)
internal/proxy/app_conn.go:36
↓ 3 callersMethodFlushClose
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 callersMethodFlushStop
()
internal/p2p/peer.go:24
↓ 3 callersMethodFlushSync
(context.Context)
internal/proxy/app_conn.go:37
↓ 3 callersFunctionGenPrivKey
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 callersMethodGet
TODO make it return an index
crypto/merkle/types.go:14
↓ 3 callersMethodGet
(key string)
libs/cmap/cmap.go:39
↓ 3 callersMethodGetApplySnapshotChunk
()
abci/types/types.pb.go:377
↓ 3 callersMethodGetBehaviors
GetBehaviors returns all behaviors reported on the peer identified by peerID.
internal/blocksync/v2/internal/behavior/reporter.go:76
↓ 3 callersMethodGetChunkRequest
()
proto/tendermint/statesync/types.pb.go:134
↓ 3 callersMethodGetCommit
()
abci/types/types.pb.go:349
↓ 3 callersMethodGetDeliverTx
()
abci/types/types.pb.go:335
↓ 3 callersMethodGetDialAddress
GetDialAddress returns the endpoint to dial for the parsed URL
rpc/jsonrpc/client/http_json_client.go:92
↓ 3 callersMethodGetEcho
()
abci/types/types.pb.go:286
↓ 3 callersMethodGetEndBlock
()
abci/types/types.pb.go:342
↓ 3 callersMethodGetInfo
()
abci/types/types.pb.go:300
↓ 3 callersMethodGetInitChain
()
abci/types/types.pb.go:307
↓ 3 callersMethodGetListSnapshots
()
abci/types/types.pb.go:356
↓ 3 callersMethodGetLoadSnapshotChunk
()
abci/types/types.pb.go:370
↓ 3 callersMethodGetOfferSnapshot
()
abci/types/types.pb.go:363
↓ 3 callersMethodGetPeer
GetPeer returns a random peer for a snapshot, if any.
internal/statesync/snapshots.go:132
↓ 3 callersMethodGetQuery
()
abci/types/types.pb.go:314
↓ 3 callersMethodGetStatus
GetStatus returns pool's height, numPending requests and the number of requesters.
internal/blocksync/v0/pool.go:174
↓ 3 callersMethodGetSum
()
proto/tendermint/crypto/keys.pb.go:91
↓ 3 callersMethodGetSum
()
proto/tendermint/p2p/conn.pb.go:220
↓ 3 callersMethodGetTrimmedURL
Get a trimmed address with protocol - useful as address in RPC connections
rpc/jsonrpc/client/http_json_client.go:102
↓ 3 callersMethodGetTxByHash
GetTxByHash provides the transaction search by given transaction hash. This function only supported by the kvEventSink.
internal/state/indexer/eventsink.go:45
↓ 3 callersMethodGoodEvents
GoodEvents indicates that a desirable event(s) took place
internal/p2p/trust/metric.go:185
↓ 3 callersFunctionHChaCha20
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 callersMethodHas
Has returns true if the set contains the peer referred to by this peerKey, otherwise false.
internal/p2p/peer_set.go:62
↓ 3 callersMethodHas
(key string)
libs/cmap/cmap.go:46
↓ 3 callersMethodHasAll
()
types/vote_set.go:439
↓ 3 callersMethodHash
Hash returns the Merkle root hash build using validators (as leaves) in the set.
types/validator_set.go:347
↓ 3 callersMethodHash
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 callersMethodIndexByHash
IndexByHash returns the index of this transaction hash in the list, or -1 if not found
types/tx.go:55
↓ 3 callersMethodInvokeCallback
InvokeCallback invokes a thread-safe execution of the configured callback if non-nil.
abci/client/client.go:130
↓ 3 callersMethodIsBanned
(*p2p.NetAddress)
internal/p2p/pex/addrbook.go:70
↓ 3 callersFunctionIsDataCorruptionError
IsDataCorruptionError returns true if data has been corrupted inside WAL.
internal/consensus/wal.go:332
↓ 3 callersMethodIsIncompatible
IsIncompatible when Peer NodeInfo is not compatible with our own.
internal/p2p/errors.go:93
↓ 3 callersMethodIsPeerUnconditional
(id types.NodeID)
internal/p2p/switch.go:356
↓ 3 callersMethodIsRunning
Return true if the service is running
libs/service/service.go:43
↓ 3 callersMethodIsRunning
IsRunning reports whether the websocket client is running.
rpc/client/http/ws.go:104
↓ 3 callersMethodIsSelf
IsSelf when Peer is our own node.
internal/p2p/errors.go:99
↓ 3 callersMethodLastDialed
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 callersMethodLess
XXX: doesn't distinguish same validator with different power
abci/types/util.go:25
↓ 3 callersMethodLess
(i, j int)
internal/statesync/block_queue.go:252
↓ 3 callersMethodLightBlock
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 callersMethodListenAndServe
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 callersFunctionLoad
Load generates transactions against the network until the given context is canceled.
test/e2e/runner/load.go:18
↓ 3 callersMethodLoadBlock
(height int64)
internal/blocksync/v2/reactor.go:28
↓ 3 callersFunctionLoadNodeKey
LoadNodeKey loads NodeKey located in filePath.
types/node_key.go:69
↓ 3 callersMethodLoadNodeKeyID
LoadNodeKey loads NodeKey located in filePath.
config/config.go:288
↓ 3 callersFunctionMConnConfig
MConnConfig returns an MConnConfig with fields updated from the P2PConfig.
internal/p2p/switch.go:42
↓ 3 callersMethodMakeNode
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 callersFunctionMakeSwitchPair
----------------------------------------------------------------------------- convenience method for creating two switches connected to each other. XX
internal/p2p/switch_test.go:96
↓ 3 callersMethodMarkAttempt
(*p2p.NetAddress)
internal/p2p/pex/addrbook.go:64
↓ 3 callersMethodMarshal
()
proto/tendermint/types/validator.pb.go:296
← previousnext →1,301–1,400 of 9,600, ranked by callers