MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

MethodClose
Implements net.Conn
internal/p2p/conn/secret_connection.go:278
MethodClose
()
internal/p2p/conn/evil_secret_connection_test.go:37
MethodClose
()
internal/p2p/conn/evil_secret_connection_test.go:179
MethodClose
Close provides a mock function with given fields:
internal/p2p/mocks/transport.go:41
MethodClose
Close provides a mock function with given fields:
internal/p2p/mocks/connection.go:27
MethodClose
()
internal/proxy/client.go:41
MethodClose
()
internal/libs/protoio/io_test.go:111
MethodClose
()
internal/libs/protoio/reader.go:96
MethodClose
()
internal/libs/protoio/writer.go:87
MethodClose
Close closes the head file. The group must be stopped by this moment.
internal/libs/autofile/group.go:161
MethodClose
Close closes the GroupReader by closing the cursor file.
internal/libs/autofile/group.go:443
MethodClose
Close closes the underlying reader if it implements the io.Closer interface.
internal/libs/flowrate/io.go:68
MethodClose
()
internal/evidence/pool.go:264
MethodCloseConn
()
test/fuzz/p2p/pex/reactor_receive.go:86
MethodCloseConn
()
internal/p2p/peer_set_test.go:34
MethodCloseConn
CloseConn closes original connection. Used for cleaning up in cases where the peer had not been started at all.
internal/p2p/peer.go:327
MethodCloseConn
--------------------------------------------------- methods only used for testing TODO: can we remove these? CloseConn closes the underlying connectio
internal/p2p/peer.go:336
MethodCloseConn
CloseConn provides a mock function with given fields:
internal/p2p/mocks/peer.go:22
MethodCloseConn
()
internal/p2p/mock/peer.go:70
MethodCloseConn
()
internal/blocksync/v2/reactor_test.go:47
MethodCloseWAL
()
internal/mempool/mock/mempool.go:45
MethodCloseWAL
()
internal/consensus/replay_stubs.go:49
FunctionCommit
(client abciclient.Client, hashExp []byte)
abci/tests/server/client.go:37
MethodCommit
()
abci/example/kvstore/kvstore.go:124
MethodCommit
(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption)
abci/types/types.pb.go:3225
MethodCommit
(context.Context, *RequestCommit)
abci/types/types.pb.go:3305
MethodCommit
(ctx context.Context, req *RequestCommit)
abci/types/types.pb.go:3337
MethodCommit
()
abci/types/application.go:57
MethodCommit
(ctx context.Context, req *RequestCommit)
abci/types/application.go:132
MethodCommit
Commit commits the current state.
test/e2e/app/state.go:141
MethodCommit
Commit implements ABCI.
test/e2e/app/app.go:186
MethodCommit
Commit implements StateProvider.
internal/statesync/stateprovider.go:119
MethodCommit
Commit implements StateProvider.
internal/statesync/stateprovider.go:271
MethodCommit
Commit provides a mock function with given fields: ctx, height
internal/statesync/mocks/state_provider.go:43
MethodCommit
()
internal/state/helpers_test.go:300
MethodCommit
Commit gets block commit at a given height. If no height is provided, it will fetch the commit for the latest block. More: https://docs.tendermint.com
internal/rpc/core/blocks.go:161
MethodCommit
()
internal/consensus/replay_test.go:1017
MethodCommit
()
internal/consensus/replay_stubs.go:92
MethodCommit
(ctx context.Context, height *int64)
light/rpc/client.go:492
MethodCommit
(ctx context.Context, height *int64)
rpc/client/http/http.go:479
MethodCommit
Commit provides a mock function with given fields: ctx, height
rpc/client/mocks/client.go:323
MethodCommit
(ctx context.Context, height *int64)
rpc/client/local/local.go:189
MethodCommit
(ctx context.Context, height *int64)
rpc/client/mock/client.go:164
MethodCommit
Commit returns the amount of time to wait for straggler votes after receiving +2/3 precommits for a single block (ie. a commit).
config/config.go:1214
MethodCommitAsync
(ctx context.Context)
abci/client/local_client.go:111
MethodCommitAsync
(ctx context.Context)
abci/client/socket_client.go:241
MethodCommitAsync
(context.Context)
abci/client/client.go:41
MethodCommitAsync
CommitAsync provides a mock function with given fields: _a0
abci/client/mocks/client.go:161
MethodCommitSync
(ctx context.Context)
abci/client/local_client.go:257
MethodCommitSync
(ctx context.Context)
abci/client/grpc_client.go:419
MethodCommitSync
(ctx context.Context)
abci/client/socket_client.go:359
MethodCommitSync
CommitSync provides a mock function with given fields: _a0
abci/client/mocks/client.go:184
MethodCommitSync
(ctx context.Context)
internal/proxy/app_conn.go:112
MethodCommitSync
CommitSync provides a mock function with given fields: _a0
internal/proxy/mocks/app_conn_consensus.go:44
MethodCompare
(that interface{})
proto/tendermint/crypto/keys.pb.go:152
MethodCompare
(that interface{})
proto/tendermint/crypto/keys.pb.go:218
MethodCompare
(that interface{})
proto/tendermint/crypto/keys.pb.go:248
MethodCompare
(that interface{})
proto/tendermint/crypto/keys.pb.go:278
MethodCompare
(other queue.Item)
internal/blocksync/v2/types.go:31
MethodCompare
(other queue.Item)
internal/blocksync/v2/types.go:41
MethodCompare
(other queue.Item)
internal/blocksync/v2/types.go:51
FunctionConnect
Connect dials the given address and returns a net.Conn. The protoAddr argument should be prefixed with the protocol, eg. "tcp://127.0.0.1:8080" or "un
libs/net/net.go:10
FunctionConnect2Switches
Connect2Switches will connect switches i and j via net.Pipe(). Blocks until a connection is established. NOTE: caller ensures i and j are within bound
internal/p2p/test_util.go:96
MethodConsensus
()
internal/proxy/multi_app_conn.go:76
MethodConsensusParams
ConsensusParams gets the consensus parameters at the given block height. If no height is provided, it will fetch the latest consensus params. More: ht
internal/rpc/core/consensus.go:131
MethodConsensusParams
( ctx context.Context, height *int64, )
rpc/client/http/http.go:355
MethodConsensusParams
ConsensusParams provides a mock function with given fields: ctx, height
rpc/client/mocks/client.go:346
MethodConsensusParams
(ctx context.Context, height *int64)
rpc/client/local/local.go:135
MethodConsensusParams
(ctx context.Context, height *int64)
rpc/client/mock/client.go:126
MethodConsensusReactor
ConsensusReactor returns the Node's ConsensusReactor.
node/node.go:1057
MethodConsensusState
(ctx context.Context)
light/rpc/client.go:240
MethodConsensusState
(ctx context.Context)
rpc/client/http/http.go:346
MethodConsensusState
ConsensusState provides a mock function with given fields: _a0
rpc/client/mocks/client.go:369
MethodConsensusState
(ctx context.Context)
rpc/client/local/local.go:131
MethodConsensusState
(ctx context.Context)
rpc/client/mock/client.go:118
FunctionConsensusVote
ConsensusVote returns a consensusVote PeerBehavior.
internal/blocksync/v2/internal/behavior/peer_behaviour.go:36
MethodContext
Context returns the request's context. The returned context is always non-nil; it defaults to the background context. HTTP: The context is canceled
rpc/jsonrpc/types/types.go:298
MethodContext
Context returns the connection's context. The context is canceled when the client's connection closes.
rpc/jsonrpc/server/ws_handler.go:287
MethodCopy
()
types/vote.go:103
MethodCopy
Creates a new copy of the validator so we can mutate ProposerPriority. Panics if the validator is nil.
types/validator.go:57
MethodCopy
()
types/node_info.go:187
MethodCopy
Copy returns a deep copy of the peer info.
internal/p2p/peermanager.go:1523
MethodCopy
Copy returns a copy of the address info.
internal/p2p/peermanager.go:1653
FunctionCopyFile
CopyFile copies a file. It truncates the destination file if it exists.
libs/os/os.go:53
MethodCount
Count returns the number of enqueued requests waiting to be sent.
rpc/jsonrpc/client/http_json_client.go:311
FunctionCreateConfig
(testName string)
rpc/test/helpers.go:69
FunctionCreateRandomPeer
(outbound bool)
internal/p2p/test_util.go:26
MethodCurIndex
CurIndex returns cursor's file index.
internal/libs/autofile/group.go:528
MethodDebug
(msg string, keyVals ...interface{})
libs/log/default.go:90
MethodDecrypt
(ciphertext []byte, secret []byte)
crypto/crypto.go:41
FunctionDefaultConfig
(dir string)
test/e2e/app/app.go:73
FunctionDefaultMerkleKeyPathFn
DefaultMerkleKeyPathFn creates a function used to generate merkle key paths from a path string and a key. This is the default used by the cosmos SDK.
light/rpc/client.go:69
FunctionDefaultValidationRequestHandler
( ctx context.Context, privVal types.PrivValidator, req privvalproto.Message, chainID string, )
privval/signer_requestHandler.go:15
FunctionDefaultValidatorConfig
DefaultValidatorConfig returns default config with mode as validator
config/config.go:106
MethodDeleteLightBlock
DeleteLightBlockAndValidatorSet deletes the LightBlock from the db. Safe for concurrent use by multiple goroutines.
light/store/db/db.go:86
MethodDeletePortMapping
(protocol string, externalPort, internalPort int)
internal/p2p/upnp/upnp.go:384
FunctionDeliverTx
(client abciclient.Client, txBytes []byte, codeExp uint32, dataExp []byte)
abci/tests/server/client.go:54
MethodDeliverTx
tx is either "key=value" or just arbitrary bytes
abci/example/kvstore/kvstore.go:89
MethodDeliverTx
tx is either "val:pubkey!power" or "key=value" or just arbitrary bytes
abci/example/kvstore/persistent_kvstore.go:70
MethodDeliverTx
(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption)
abci/types/types.pb.go:3198
← previousnext →4,501–4,600 of 9,600, ranked by callers