MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

↓ 4 callersMethodGetIndex
()
abci/types/types.pb.go:2578
↓ 4 callersMethodGetPeerTrustMetric
GetPeerTrustMetric returns a trust metric by peer key
internal/p2p/trust/store.go:105
↓ 4 callersMethodGetReader
()
types/part_set.go:306
↓ 4 callersMethodGetSender
GetSender returns the sender of the chunk with the given index, or empty if not found.
internal/statesync/chunks.go:211
↓ 4 callersMethodGetSnapshotsResponse
()
proto/tendermint/statesync/types.pb.go:127
↓ 4 callersMethodGetSum
()
proto/tendermint/p2p/pex.pb.go:356
↓ 4 callersMethodGetSum
()
proto/tendermint/consensus/wal.pb.go:266
↓ 4 callersMethodGetVote
GetVote converts the CommitSig for the given valIdx to a Vote. Returns nil if the precommit at valIdx is nil. Panics if valIdx >= commit.Size().
types/block.go:793
↓ 4 callersMethodGroup
()
internal/consensus/wal.go:115
↓ 4 callersMethodHas
(key []byte)
crypto/merkle/types.go:12
↓ 4 callersMethodHash
Hash computes and returns the block hash. If the block is incomplete, block hash is nil for safety.
types/block.go:112
↓ 4 callersMethodHeaderByHash
(ctx context.Context, hash bytes.HexBytes)
rpc/client/interface.go:82
↓ 4 callersFunctionHeaderFromProto
FromProto sets a protobuf Header to the given pointer. It returns an error if the header is invalid.
types/block.go:550
↓ 4 callersMethodIncrement
(heights int64)
test/e2e/tests/validator_test.go:150
↓ 4 callersMethodInit
Instantiates a trust metric by loading the history data for a single peer. This is called only once and only right after creation, which is why the lo
internal/p2p/trust/metric.go:138
↓ 4 callersMethodInitChainSync
(context.Context, types.RequestInitChain)
internal/proxy/app_conn.go:21
↓ 4 callersMethodIsCaughtUp
IsCaughtUp returns true if this node is caught up, false - otherwise.
internal/blocksync/v0/pool.go:182
↓ 4 callersFunctionIsConnTimeout
IsConnTimeout returns a boolean indicating whether the error is known to report that a connection timeout occurred. This detects both fundamental netw
privval/utils.go:16
↓ 4 callersMethodIsEmpty
IsEmpty returns true if the State is equal to the empty State.
internal/state/state.go:150
↓ 4 callersMethodIsGood
(*p2p.NetAddress)
internal/p2p/pex/addrbook.go:69
↓ 4 callersMethodIsPersistent
did we dial the peer
internal/p2p/peer.go:31
↓ 4 callersMethodKeys
()
libs/cmap/cmap.go:72
↓ 4 callersMethodLastTrustedHeight
LastTrustedHeight returns a last trusted height. -1 and nil are returned if there are no trusted headers. Safe for concurrent use by multiple gorouti
light/client.go:789
↓ 4 callersMethodListenAndServe
ListenAndServe configures the rpcserver.WebsocketManager, sets up the RPC routes to proxy via Client, and starts up an HTTP server on the TCP network
light/proxy/proxy.go:52
↓ 4 callersMethodMarkBlockGossipStarted
()
internal/consensus/metrics.go:315
↓ 4 callersMethodMarshal
()
proto/tendermint/types/canonical.pb.go:502
↓ 4 callersMethodMarshal
()
proto/tendermint/types/evidence.pb.go:360
↓ 4 callersMethodMarshal
()
proto/tendermint/rpc/grpc/types.pb.go:347
↓ 4 callersMethodMarshalTo
([]byte)
proto/tendermint/p2p/conn.pb.go:202
↓ 4 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/mempool/types.pb.go:179
↓ 4 callersMethodMarshalToSizedBuffer
(dAtA []byte)
proto/tendermint/p2p/types.pb.go:484
↓ 4 callersMethodMatches
(events []types.Event)
libs/pubsub/pubsub.go:74
↓ 4 callersFunctionNewBaseReactor
(name string, impl Reactor)
internal/p2p/base_reactor.go:60
↓ 4 callersFunctionNewBatch
NewBatch creates a new Batch.
internal/state/indexer/indexer.go:48
↓ 4 callersFunctionNewBatchVerifier
()
crypto/sr25519/batch.go:18
↓ 4 callersFunctionNewBlockPool
NewBlockPool returns a new BlockPool with the height equal to start. Block requests and errors will be sent to requestsCh and errorsCh accordingly.
internal/blocksync/v0/pool.go:94
↓ 4 callersFunctionNewBlockProvider
Creates a block provider which implements the light client Provider interface.
internal/statesync/dispatcher.go:173
↓ 4 callersFunctionNewBool
NewBool creates an AtomicBool with given default value.
libs/sync/atomic_bool.go:12
↓ 4 callersFunctionNewDominoOp
(key, input, output string)
crypto/merkle/proof_test.go:24
↓ 4 callersFunctionNewErrInvalidEvidence
NewErrInvalidEvidence returns a new EvidenceInvalid with the given err.
types/evidence.go:644
↓ 4 callersFunctionNewEventSink
NewEventSink constructs an event sink associated with the PostgreSQL database specified by connStr. Events written to the sink are attributed to the s
internal/state/indexer/sink/psql/psql.go:38
↓ 4 callersFunctionNewFilePV
NewFilePV generates a new validator from the given key and paths.
privval/file.go:160
↓ 4 callersFunctionNewPeer
NewPeer creates and starts a new mock peer. If the ip is nil, random routable address is used.
internal/p2p/mock/peer.go:23
↓ 4 callersFunctionNewReactorV2
NewReactor returns a reference to a new reactor.
internal/p2p/pex/reactor.go:104
↓ 4 callersFunctionNewSignerServer
(chainID string, privVal types.PrivValidator, log log.Logger)
privval/grpc/server.go:24
↓ 4 callersFunctionNewSocketServer
(protoAddr string, app types.Application)
abci/server/socket_server.go:36
↓ 4 callersFunctionNewStore
NewStore creates the dbStore of the state pkg.
internal/state/store.go:108
↓ 4 callersFunctionNewSwitch
NewSwitch creates a new Switch with the given config.
internal/p2p/switch.go:141
↓ 4 callersFunctionNewTCPListener
NewTCPListener returns a listener that accepts authenticated encrypted connections using the given secretConnKey and the default timeout values.
privval/socket_listeners.go:54
↓ 4 callersFunctionNewUnixListener
NewUnixListener returns a listener that accepts unencrypted connections using the default timeout values.
privval/socket_listeners.go:117
↓ 4 callersFunctionNewWebsocketManager
NewWebsocketManager returns a new WebsocketManager that passes a map of functions, connection options and logger to new WS connections.
rpc/jsonrpc/server/ws_handler.go:43
↓ 4 callersMethodNumUnconfirmedTxs
(context.Context)
rpc/client/interface.go:149
↓ 4 callersMethodNumber
Number returns the value of the argument text as a number, or a NaN if the text does not encode a valid number value.
libs/pubsub/query/syntax/parser.go:73
↓ 4 callersFunctionParseConfig
ParseConfig retrieves the default environment configuration, sets up the Tendermint root and ensures that the root exists
cmd/tendermint/commands/root.go:30
↓ 4 callersMethodPickRandom
PickRandom returns a random index for a set bit in the bit array. If there is no such value, it returns 0, false. It uses math/rand's global randomnes
libs/bits/bit_array.go:249
↓ 4 callersMethodPos
Pos returns the start offset of the current token in the input.
libs/pubsub/query/syntax/scanner.go:123
↓ 4 callersMethodProof
(key []byte)
crypto/merkle/types.go:13
↓ 4 callersFunctionProofFromProto
(pb *tmcrypto.Proof)
crypto/merkle/proof.go:133
↓ 4 callersMethodPublishEventTx
PublishEventTx publishes tx event with events from Result. Note it will add predefined keys (EventTypeKey, TxHashKey). Existing events with the same k
types/event_bus.go:167
↓ 4 callersMethodPublishEventUnlock
(data EventDataRoundState)
types/event_bus.go:224
↓ 4 callersMethodRFC4380
()
types/netaddress.go:309
↓ 4 callersMethodReactor
Reactor returns the reactor with the given name. NOTE: Not goroutine safe.
internal/p2p/switch.go:239
↓ 4 callersMethodReclaim
Reclaim returns the ID reserved for the peer back to unused pool.
internal/mempool/ids.go:41
↓ 4 callersFunctionRegisterRPCFuncs
RegisterRPCFuncs adds a route for each function in the funcMap, as well as general jsonrpc and websocket handlers for all functions. "result" is the i
rpc/jsonrpc/server/rpc_func.go:15
↓ 4 callersMethodReject
Reject rejects a snapshot. Rejected snapshots will never be used again.
internal/statesync/snapshots.go:223
↓ 4 callersMethodRemotePubKey
RemotePubKey returns authenticated remote pubkey
privval/secret_connection.go:185
↓ 4 callersMethodRemove
Remove discards peer by its Key, if the peer was previously memoized. Returns true if the peer was removed, and false if it was not found. in the set.
internal/p2p/peer_set.go:105
↓ 4 callersMethodRemoveTxByKey
RemoveTxByKey removes a transaction, identified by its key, from the mempool.
internal/mempool/mempool.go:37
↓ 4 callersMethodReport
(behavior PeerBehavior)
internal/blocksync/v2/internal/behavior/reporter.go:14
↓ 4 callersMethodSearchTxEvents
(ctx context.Context, q *query.Query)
internal/state/indexer/sink/kv/kv.go:50
↓ 4 callersMethodSendUpdate
SendUpdate pushes information about a peer into the routing layer, presumably from a peer.
internal/p2p/peermanager.go:90
↓ 4 callersFunctionSequentialVerification
SequentialVerification option configures the light client to sequentially check the blocks (every block, in ascending height order). Note this is much
light/client.go:63
↓ 4 callersFunctionServe
Serve creates a http.Server and calls Serve with the given listener. It wraps handler with RecoverAndLogHandler and a handler, which limits the max bo
rpc/jsonrpc/server/http_server.go:53
↓ 4 callersMethodSetNodeInfo
SetNodeInfo sets the switch's NodeInfo for checking compatibility and handshaking with other nodes. NOTE: Not goroutine safe.
internal/p2p/switch.go:245
↓ 4 callersMethodSetSwitch
Start, Stop SetSwitch allows setting a switch.
internal/p2p/base_reactor.go:19
↓ 4 callersFunctionSetup
Setup sets up the testnet configuration.
test/e2e/runner/setup.go:42
↓ 4 callersMethodSize
()
proto/tendermint/crypto/keys.pb.go:73
↓ 4 callersMethodSize
Size returns the number of unique items in the peerSet.
internal/p2p/peer_set.go:138
↓ 4 callersMethodString
String representation: <ID>@<IP>:<PORT>
types/netaddress.go:140
↓ 4 callersFunctionStringInSlice
StringInSlice returns true if a is found the list.
libs/strings/string.go:32
↓ 4 callersMethodSubscribeUnbuffered
This method can be used for a local consensus explorer and synchronous testing. Do not use for for public facing / untrusted subscriptions!
types/event_bus.go:88
↓ 4 callersMethodToProto
()
types/block_meta.go:29
↓ 4 callersFunctionToRequestApplySnapshotChunk
(req RequestApplySnapshotChunk)
abci/types/messages.go:107
↓ 4 callersFunctionToRequestBeginBlock
(req RequestBeginBlock)
abci/types/messages.go:77
↓ 4 callersFunctionToRequestCheckTx
(req RequestCheckTx)
abci/types/messages.go:53
↓ 4 callersFunctionToRequestCommit
()
abci/types/messages.go:59
↓ 4 callersFunctionToRequestDeliverTx
(req RequestDeliverTx)
abci/types/messages.go:47
↓ 4 callersFunctionToRequestEndBlock
(req RequestEndBlock)
abci/types/messages.go:83
↓ 4 callersFunctionToRequestInfo
(req RequestInfo)
abci/types/messages.go:41
↓ 4 callersFunctionToRequestInitChain
(req RequestInitChain)
abci/types/messages.go:71
↓ 4 callersFunctionToRequestListSnapshots
(req RequestListSnapshots)
abci/types/messages.go:89
↓ 4 callersFunctionToRequestLoadSnapshotChunk
(req RequestLoadSnapshotChunk)
abci/types/messages.go:101
↓ 4 callersFunctionToRequestOfferSnapshot
(req RequestOfferSnapshot)
abci/types/messages.go:95
↓ 4 callersFunctionToRequestQuery
(req RequestQuery)
abci/types/messages.go:65
↓ 4 callersMethodTrySendMessage
TrySendMessage is a non-blocking version of SendMessage that returns immediately if the message buffer is full. It returns true if the message was acc
internal/p2p/transport.go:107
↓ 4 callersMethodTxIndexEnabled
Is TxIndexing enabled
rpc/coretypes/responses.go:133
↓ 4 callersMethodUnconfirmedTxs
(ctx context.Context, limit *int)
rpc/client/interface.go:148
↓ 4 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/types/validator.pb.go:604
↓ 4 callersMethodUnmarshal
(dAtA []byte)
proto/tendermint/p2p/conn.pb.go:797
↓ 4 callersMethodUnsubscribe
Unsubscribe removes the subscription on the given query. An error will be returned to the caller if the context is canceled or if subscription does no
libs/pubsub/pubsub.go:229
← previousnext →1,101–1,200 of 9,600, ranked by callers