MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

MethodABCIQuery
(ctx context.Context, path string, data bytes.HexBytes)
rpc/client/mock/client.go:86
MethodABCIQueryWithOptions
ABCIQueryWithOptions provides a mock function with given fields: ctx, path, data, opts
rpc/client/mocks/client.go:70
MethodAccept
Accept implements net.Listener.
privval/socket_listeners.go:64
MethodAccept
Accept implements net.Listener.
privval/socket_listeners.go:126
MethodAccept
()
internal/p2p/switch_test.go:762
MethodAccept
Accept implements Transport.
internal/p2p/transport_memory.go:145
MethodAccept
Accept provides a mock function with given fields:
internal/p2p/mocks/transport.go:18
MethodAdd
Add adds a snapshot to the pool, unless the peer has already sent recentSnapshots snapshots. It returns true if this was a new, non-blacklisted snapsh
internal/statesync/snapshots.go:77
MethodAdd
Add adds a chunk to the queue. It ignores chunks that already exist, returning false.
internal/statesync/chunks.go:65
MethodAddAddress
(addr *NetAddress, src *NetAddress)
internal/p2p/switch.go:56
MethodAddAddress
(addr *NetAddress, src *NetAddress)
internal/p2p/test_util.go:266
MethodAddAddress
AddAddress implements AddrBook Add address to a "new" bucket. If it's already in one, only add it probabilistically. Returns error if the addr is non-
internal/p2p/pex/addrbook.go:213
MethodAddBatch
AddBatch is a noop and always returns nil.
internal/state/indexer/tx/null/null.go:23
MethodAddConn
(addr net.IP)
internal/p2p/conn_tracker.go:39
MethodAddEvidence
(types.Evidence)
internal/state/services.go:59
MethodAddEvidence
AddEvidence provides a mock function with given fields: _a0
internal/state/mocks/evidence_pool.go:17
MethodAddListenerForEvent
(listenerID, eventValue string, cb EventCallback)
libs/events/events.go:77
MethodAddOurAddress
(addr *NetAddress)
internal/p2p/test_util.go:270
MethodAddOurAddress
------------------------------------------------------- AddOurAddress one of our addresses.
internal/p2p/pex/addrbook.go:183
MethodAddPeer
AddPeer adds a peer to the pool. For now we just keep it simple and send a single request to discover snapshots, later we may want to do retries and s
internal/statesync/syncer.go:144
MethodAddPeer
AddPeer sends a PeerUpdate with status PeerStatusUp on the PeerUpdateCh. The embedding reactor must be sure to listen for messages on this channel to
internal/p2p/shim.go:234
MethodAddPeer
(peer Peer)
internal/p2p/switch_test.go:72
MethodAddPeer
(peer Peer)
internal/p2p/base_reactor.go:71
MethodAddPeer
AddPeer implements Reactor by adding peer to the address book (if inbound) or by requesting more addresses (if outbound).
internal/p2p/pex/pex_reactor.go:191
MethodAddPeer
(peer p2p.Peer)
internal/p2p/mock/reactor.go:21
MethodAddPeer
AddPeer implements Reactor interface
internal/blocksync/v2/reactor.go:570
MethodAddPersistentPeers
AddPersistentPeers allows you to set persistent peers. It ignores ErrNetAddressLookup. However, if there are other errors, first encounter is returned
internal/p2p/switch.go:615
MethodAddPortMapping
( protocol string, externalPort, internalPort int, description string, timeout int)
internal/p2p/upnp/upnp.go:348
MethodAddPrivateIDs
([]string)
internal/p2p/switch.go:57
MethodAddPrivateIDs
(addrs []string)
internal/p2p/test_util.go:284
MethodAddPrivateIDs
(ids []string)
internal/p2p/pex/addrbook.go:200
MethodAddPrivatePeerIDs
(ids []string)
internal/p2p/switch.go:645
MethodAddUnconditionalPeerIDs
(ids []string)
internal/p2p/switch.go:633
MethodAddress
Address is the SHA256-20 of the raw pubkey bytes.
crypto/ed25519/ed25519.go:155
MethodAddress
Address returns a Bitcoin style addresses: RIPEMD160(SHA256(pubkey))
crypto/secp256k1/secp256k1.go:142
MethodAddress
Address is the SHA256-20 of the raw pubkey bytes.
crypto/sr25519/pubkey.go:27
MethodAppHash
AppHash implements part of StateProvider. It calls the application to verify the light blocks at heights h+1 and h+2 and, if verification succeeds, re
internal/statesync/stateprovider.go:98
MethodAppHash
AppHash implements StateProvider.
internal/statesync/stateprovider.go:250
MethodAppHash
AppHash provides a mock function with given fields: ctx, height
internal/statesync/mocks/state_provider.go:20
MethodApplyBlock
XXX: Add whitelist/blacklist?
internal/blocksync/v2/reactor_test.go:88
MethodApplySnapshotChunk
( req types.RequestApplySnapshotChunk)
abci/example/kvstore/persistent_kvstore.go:168
MethodApplySnapshotChunk
(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption)
abci/types/types.pb.go:3288
MethodApplySnapshotChunk
(context.Context, *RequestApplySnapshotChunk)
abci/types/types.pb.go:3312
MethodApplySnapshotChunk
(ctx context.Context, req *RequestApplySnapshotChunk)
abci/types/types.pb.go:3358
MethodApplySnapshotChunk
(req RequestApplySnapshotChunk)
abci/types/application.go:89
MethodApplySnapshotChunk
( ctx context.Context, req *RequestApplySnapshotChunk)
abci/types/application.go:170
MethodApplySnapshotChunk
ApplySnapshotChunk implements ABCI.
test/e2e/app/app.go:250
MethodApplySnapshotChunkAsync
( ctx context.Context, req types.RequestApplySnapshotChunk, )
abci/client/local_client.go:191
MethodApplySnapshotChunkAsync
( ctx context.Context, req types.RequestApplySnapshotChunk, )
abci/client/socket_client.go:272
MethodApplySnapshotChunkAsync
(context.Context, types.RequestApplySnapshotChunk)
abci/client/client.go:48
MethodApplySnapshotChunkAsync
ApplySnapshotChunkAsync provides a mock function with given fields: _a0, _a1
abci/client/mocks/client.go:23
MethodApplySnapshotChunkSync
( ctx context.Context, req types.RequestApplySnapshotChunk)
abci/client/local_client.go:336
MethodApplySnapshotChunkSync
( ctx context.Context, params types.RequestApplySnapshotChunk)
abci/client/grpc_client.go:498
MethodApplySnapshotChunkSync
( ctx context.Context, req types.RequestApplySnapshotChunk)
abci/client/socket_client.go:438
MethodApplySnapshotChunkSync
(context.Context, types.RequestApplySnapshotChunk)
abci/client/client.go:64
MethodApplySnapshotChunkSync
ApplySnapshotChunkSync provides a mock function with given fields: _a0, _a1
abci/client/mocks/client.go:46
MethodApplySnapshotChunkSync
( ctx context.Context, req types.RequestApplySnapshotChunk)
internal/proxy/app_conn.go:236
MethodApplySnapshotChunkSync
ApplySnapshotChunkSync provides a mock function with given fields: _a0, _a1
internal/proxy/mocks/app_conn_snapshot.go:19
FunctionArrayToRequest
(id jsonrpcid, method string, params []interface{})
rpc/jsonrpc/types/types.go:119
MethodBackFillBlocksTotal
()
internal/statesync/reactor.go:1143
MethodBackFillBlocksTotal
BackFillBlocksTotal provides a mock function with given fields:
internal/statesync/mocks/Metricer.go:17
MethodBackFilledBlocks
()
internal/statesync/reactor.go:1136
MethodBackFilledBlocks
BackFilledBlocks provides a mock function with given fields:
internal/statesync/mocks/Metricer.go:31
MethodBackWait
()
internal/libs/clist/clist.go:287
MethodBase
Base provides a mock function with given fields:
internal/state/mocks/block_store.go:17
MethodBeginBlock
(req types.RequestBeginBlock)
abci/client/socket_client_test.go:125
MethodBeginBlock
(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption)
abci/types/types.pb.go:3243
MethodBeginBlock
(context.Context, *RequestBeginBlock)
abci/types/types.pb.go:3307
MethodBeginBlock
(ctx context.Context, req *RequestBeginBlock)
abci/types/types.pb.go:3343
MethodBeginBlock
(req RequestBeginBlock)
abci/types/application.go:69
MethodBeginBlock
(ctx context.Context, req *RequestBeginBlock)
abci/types/application.go:142
MethodBeginBlock
(req abci.RequestBeginBlock)
internal/state/helpers_test.go:278
MethodBeginBlockAsync
(ctx context.Context, req types.RequestBeginBlock)
abci/client/local_client.go:133
MethodBeginBlockAsync
(ctx context.Context, req types.RequestBeginBlock)
abci/client/socket_client.go:249
MethodBeginBlockAsync
BeginBlockAsync provides a mock function with given fields: _a0, _a1
abci/client/mocks/client.go:69
MethodBeginBlockSync
( ctx context.Context, req types.RequestBeginBlock, )
abci/client/local_client.go:277
MethodBeginBlockSync
( ctx context.Context, params types.RequestBeginBlock, )
abci/client/grpc_client.go:439
MethodBeginBlockSync
( ctx context.Context, req types.RequestBeginBlock, )
abci/client/socket_client.go:379
MethodBeginBlockSync
(context.Context, types.RequestBeginBlock)
abci/client/client.go:59
MethodBeginBlockSync
BeginBlockSync provides a mock function with given fields: _a0, _a1
abci/client/mocks/client.go:92
MethodBeginBlockSync
( ctx context.Context, req types.RequestBeginBlock, )
internal/proxy/app_conn.go:88
MethodBeginBlockSync
BeginBlockSync provides a mock function with given fields: _a0, _a1
internal/proxy/mocks/app_conn_consensus.go:21
FunctionBenchmark1000Clients
(b *testing.B)
libs/pubsub/pubsub_test.go:451
FunctionBenchmark1000ClientsOneQuery
(b *testing.B)
libs/pubsub/pubsub_test.go:455
FunctionBenchmark100Clients
(b *testing.B)
libs/pubsub/pubsub_test.go:450
FunctionBenchmark100ClientsOneQuery
(b *testing.B)
libs/pubsub/pubsub_test.go:454
FunctionBenchmark10Clients
(b *testing.B)
libs/pubsub/pubsub_test.go:449
FunctionBenchmark10ClientsOneQuery
(b *testing.B)
libs/pubsub/pubsub_test.go:453
FunctionBenchmarkAddrBook_hash
(b *testing.B)
internal/p2p/pex/bench_test.go:9
FunctionBenchmarkBackwards
(b *testing.B)
light/client_benchmark_test.go:126
FunctionBenchmarkBisection
(b *testing.B)
light/client_benchmark_test.go:95
FunctionBenchmarkCMapHas
(b *testing.B)
libs/cmap/cmap_test.go:61
FunctionBenchmarkCacheInsertTime
(b *testing.B)
internal/mempool/cache_bench_test.go:8
FunctionBenchmarkCacheRemoveTime
This benchmark is probably skewed, since we actually will be removing txs in parallel, which may cause some overhead due to mutex locking.
internal/mempool/cache_bench_test.go:26
FunctionBenchmarkCheckDuplicateTx
(b *testing.B)
internal/mempool/v0/bench_test.go:87
FunctionBenchmarkCheckTx
(b *testing.B)
internal/mempool/v0/bench_test.go:38
FunctionBenchmarkCommitVoteSignBytes
(b *testing.B)
types/vote_test.go:330
FunctionBenchmarkDetaching
(b *testing.B)
internal/libs/clist/bench_test.go:5
FunctionBenchmarkEcho
(b *testing.B)
internal/proxy/app_conn_test.go:96
FunctionBenchmarkEventBus
(b *testing.B)
types/event_bus_test.go:385
← previousnext →4,201–4,300 of 9,600, ranked by callers