MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

FunctionTestWriter
(t *testing.T)
internal/libs/flowrate/io_test.go:102
FunctionTestWrongProof
(t *testing.T)
types/part_set_test.go:66
FunctionTest_Concurrency
(t *testing.T)
light/store/db/db_test.go:133
FunctionTest_LightBlockBefore
(t *testing.T)
light/store/db/db_test.go:75
FunctionTest_Prune
(t *testing.T)
light/store/db/db_test.go:96
FunctionTest_ResetAll
(t *testing.T)
cmd/tendermint/commands/reset_test.go:13
FunctionTest_ResetState
(t *testing.T)
cmd/tendermint/commands/reset_test.go:36
FunctionTest_SaveLightBlock
(t *testing.T)
light/store/db/db_test.go:45
FunctionTest_genPrivKey
(t *testing.T)
crypto/secp256k1/secp256k1_internal_test.go:13
FunctionTest_getSplitPoint
(t *testing.T)
crypto/merkle/tree_test.go:139
FunctionTest_parsedURL
(t *testing.T)
rpc/jsonrpc/client/http_json_client_test.go:38
MethodTime
Time returns the time of the infraction
types/evidence.go:122
MethodTime
Time returns the time of the common block where the infraction leveraged off.
types/evidence.go:378
MethodTime
Time returns the value of the argument text as a time, or the zero value if the text does not encode a timestamp or datestamp.
libs/pubsub/query/syntax/parser.go:86
MethodTimeout
()
tools/tm-signer-harness/internal/test_harness.go:86
MethodTimeout
()
privval/errors.go:13
MethodToProto
ToProto converts SignedHeader to protobuf
types/light.go:179
MethodToProto
()
types/tx.go:113
MethodToProto
ToProto converts Valiator to protobuf
types/validator.go:135
MethodToProto
()
types/params.go:241
MethodToProto
()
types/node_info.go:200
MethodToProto
()
version/version.go:36
MethodToProto
()
internal/state/state.go:37
MethodToProto
ToProto converts the address into to a Protobuf message for serialization.
internal/p2p/peermanager.go:1636
MethodTotalSnapshots
()
internal/statesync/reactor.go:1087
MethodTotalSnapshots
TotalSnapshots provides a mock function with given fields:
internal/statesync/mocks/Metricer.go:101
FunctionTrapSignal
TrapSignal catches SIGTERM and SIGINT, executes the cleanup function, and exits with code 0.
libs/os/os.go:18
MethodTrustedLightBlock
TrustedLightBlock provides a mock function with given fields: height
light/rpc/mocks/light_client.go:35
MethodTrySend
(byte, []byte)
test/fuzz/p2p/pex/reactor_receive.go:93
MethodTrySend
nolint:errcheck // ignore error
internal/p2p/peer_set_test.go:22
MethodTrySend
TrySend msg bytes to the channel identified by chID byte. Immediately returns false if the send queue is full.
internal/p2p/peer.go:273
MethodTrySend
Queues a message to be sent to channel. Nonblocking, returns true if successful.
internal/p2p/conn/connection.go:391
MethodTrySend
TrySend provides a mock function with given fields: _a0, _a1
internal/p2p/mocks/peer.go:318
MethodTrySend
nolint:errcheck //ignore error
internal/p2p/mock/peer.go:46
MethodTrySend
(byte, []byte)
internal/blocksync/v2/reactor_test.go:59
MethodTrySendMessage
TrySendMessage implements Connection.
internal/p2p/transport_mconn.go:408
MethodTrySendMessage
TrySendMessage implements Connection.
internal/p2p/transport_memory.go:346
MethodTrySendMessage
TrySendMessage provides a mock function with given fields: _a0, _a1
internal/p2p/mocks/connection.go:192
MethodTryWriteRPCResponse
TryWriteRPCResponse attempts to push a response to the writeChan, but does not block. It implements WSRPCConnection. It is Goroutine-safe
rpc/jsonrpc/server/ws_handler.go:274
MethodTx
Tx calls rpcclient#Tx method and then verifies the proof if such was requested.
light/rpc/client.go:508
MethodTx
(ctx context.Context, hash bytes.HexBytes, prove bool)
rpc/client/http/http.go:492
MethodTx
Tx provides a mock function with given fields: ctx, hash, prove
rpc/client/mocks/client.go:685
MethodTx
(ctx context.Context, hash bytes.HexBytes, prove bool)
rpc/client/local/local.go:197
MethodTxSearch
TxSearch allows you to query for multiple transactions results. It returns a list of transactions (maximum ?per_page entries) and the total count. Mor
internal/rpc/core/tx.go:65
MethodTxSearch
( ctx context.Context, query string, prove bool, page, perPage *int, orderBy string, )
light/rpc/client.go:529
MethodTxSearch
( ctx context.Context, query string, prove bool, page, perPage *int, orderBy string, )
rpc/client/http/http.go:505
MethodTxSearch
TxSearch provides a mock function with given fields: ctx, query, prove, page, perPage, orderBy
rpc/client/mocks/client.go:708
MethodTxSearch
( _ context.Context, queryString string, prove bool, page, perPage *int, orderBy string, )
rpc/client/local/local.go:201
MethodTxsAvailable
Safe for concurrent use by multiple goroutines.
internal/mempool/v0/clist_mempool.go:509
MethodTxsAvailable
TxsAvailable returns a channel which fires once for every height, and only when transactions are available in the mempool. It is thread-safe.
internal/mempool/v1/mempool.go:155
MethodTxsAvailable
()
internal/mempool/mock/mempool.go:37
MethodTxsAvailable
()
internal/consensus/state_test.go:1580
MethodTxsAvailable
()
internal/consensus/replay_stubs.go:41
MethodTxsFront
()
internal/mempool/mock/mempool.go:41
MethodTxsFront
()
internal/consensus/replay_stubs.go:45
MethodTxsWaitChan
()
internal/mempool/mock/mempool.go:42
MethodTxsWaitChan
()
internal/consensus/replay_stubs.go:46
MethodType
Implements VoteSetReader.
types/vote_set.go:119
MethodType
Type returns the vote type of the commit, which is always VoteTypePrecommit Implements VoteSetReader.
types/block.go:823
MethodType
()
crypto/crypto.go:35
MethodType
()
crypto/ed25519/ed25519.go:116
MethodType
()
crypto/ed25519/ed25519.go:180
MethodType
()
crypto/secp256k1/secp256k1.go:62
MethodType
()
crypto/secp256k1/secp256k1.go:172
MethodType
()
crypto/sr25519/pubkey.go:62
MethodType
()
crypto/sr25519/privkey.go:86
MethodType
Type provides a mock function with given fields:
internal/state/mocks/event_sink.go:156
MethodType
Type provides a mock function with given fields:
internal/state/indexer/mocks/event_sink.go:156
MethodType
()
internal/p2p/conn/secret_connection_test.go:55
MethodUnconfirmedTxs
UnconfirmedTxs gets unconfirmed transactions (maximum ?limit entries) including their number. More: https://docs.tendermint.com/master/rpc/#/Info/unco
internal/rpc/core/mempool.go:147
MethodUnconfirmedTxs
(ctx context.Context, limit *int)
light/rpc/client.go:216
MethodUnconfirmedTxs
( ctx context.Context, limit *int, )
rpc/client/http/http.go:286
MethodUnconfirmedTxs
UnconfirmedTxs provides a mock function with given fields: ctx, limit
rpc/client/mocks/client.go:731
MethodUnconfirmedTxs
(ctx context.Context, limit *int)
rpc/client/local/local.go:107
MethodUnlock
Safe for concurrent use by multiple goroutines.
internal/mempool/v0/clist_mempool.go:139
MethodUnlock
Unlock releases a write-lock on the mempool.
internal/mempool/v1/mempool.go:117
MethodUnlock
()
internal/mempool/mock/mempool.go:18
MethodUnlock
()
internal/consensus/replay_stubs.go:22
MethodUnmarshalJSON
(b []byte)
abci/types/result.go:63
MethodUnmarshalJSON
(b []byte)
abci/types/result.go:73
MethodUnmarshalJSON
(b []byte)
abci/types/result.go:83
MethodUnmarshalJSON
(b []byte)
abci/types/result.go:93
MethodUnmarshalJSON
(b []byte)
abci/types/result.go:103
MethodUnmarshalJSON
(data []byte)
abci/types/result.go:132
MethodUnmarshalJSON
(data []byte)
crypto/sr25519/privkey.go:101
MethodUnmarshalJSON
UnmarshalJSON implements the json.Umarshaler interface.
libs/bytes/bytes.go:49
MethodUnmarshalJSON
UnmarshalJSON implements json.Unmarshaler interface by unmarshaling a custom JSON description.
libs/bits/bit_array.go:397
MethodUnmarshalJSON
(bz []byte)
libs/json/helpers_test.go:63
MethodUnmarshalJSON
UnmarshalJSON custom JSON unmarshaling due to jsonrpcid being string or int
rpc/jsonrpc/types/types.go:59
MethodUnmarshalJSON
UnmarshalJSON custom JSON unmarshaling due to jsonrpcid being string or int
rpc/jsonrpc/types/types.go:162
MethodUnsafeFlushMempool
UnsafeFlushMempool removes all transactions from the mempool.
internal/rpc/core/dev.go:9
MethodUnset
()
internal/libs/timer/throttle_timer.go:59
MethodUnsubscribe
(ctx context.Context, args tmpubsub.UnsubscribeArgs)
types/event_bus.go:96
MethodUnsubscribe
(ctx context.Context, args tmpubsub.UnsubscribeArgs)
types/event_bus.go:252
MethodUnsubscribe
Unsubscribe from events via WebSocket. More: https://docs.tendermint.com/master/rpc/#/Websocket/unsubscribe
internal/rpc/core/events.go:106
MethodUnsubscribe
(ctx context.Context, subscriber, query string)
light/rpc/client.go:589
MethodUnsubscribe
Unsubscribe implements EventsClient by using WSClient to unsubscribe given subscriber from query. It returns an error if wsEvents is not running.
rpc/client/http/ws.go:151
MethodUnsubscribe
Unsubscribe provides a mock function with given fields: ctx, subscriber, query
rpc/client/mocks/client.go:754
MethodUnsubscribe
(ctx context.Context, subscriber, queryString string)
rpc/client/local/local.go:314
MethodUnsubscribe
Unsubscribe from a query. Note the server must have a "unsubscribe" route defined.
rpc/jsonrpc/client/ws_client.go:514
← previousnext →8,301–8,400 of 9,600, ranked by callers