MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

FunctionTestSecretConnectionTestdataCases
(t *testing.T)
test/fuzz/p2p/secretconnection/fuzz_test.go:15
FunctionTestSeenAndCanonicalCommit
(t *testing.T)
internal/store/store_test.go:503
FunctionTestSendingEmptyRequestBatch
(t *testing.T)
rpc/client/rpc_test.go:849
FunctionTestSerialReap
(t *testing.T)
internal/mempool/v0/clist_mempool_test.go:377
FunctionTestServeTLS
(t *testing.T)
rpc/jsonrpc/server/http_server_test.go:73
FunctionTestServerTestdataCases
(t *testing.T)
test/fuzz/rpc/jsonrpc/server/fuzz_test.go:15
FunctionTestServersAndClientsBasic
-------------
rpc/jsonrpc/jsonrpc_test.go:267
FunctionTestSetUnSet
(t *testing.T)
libs/sync/atomic_bool_test.go:18
FunctionTestSetValidBlockOnDelayedPrevote
What we want: P0 miss to lock B but set valid block to B after receiving delayed prevote.
internal/consensus/state_test.go:1246
FunctionTestSetValidBlockOnDelayedProposal
What we want: P0 miss to lock B as Proposal Block is missing, but set valid block to B after receiving delayed Block Proposal.
internal/consensus/state_test.go:1310
FunctionTestSetupConfig
(t *testing.T)
libs/cli/setup_test.go:65
FunctionTestSetupEnv
(t *testing.T)
libs/cli/setup_test.go:16
FunctionTestSetupTrace
(t *testing.T)
libs/cli/setup_test.go:196
FunctionTestSetupUnmarshal
(t *testing.T)
libs/cli/setup_test.go:124
FunctionTestShort
(t *testing.T)
internal/libs/protoio/io_test.go:166
FunctionTestSignAndValidateEd25519
(t *testing.T)
crypto/ed25519/ed25519_test.go:13
FunctionTestSignAndValidateSecp256k1
(t *testing.T)
crypto/secp256k1/secp256k1_test.go:49
FunctionTestSignAndValidateSr25519
(t *testing.T)
crypto/sr25519/sr25519_test.go:15
FunctionTestSignProposal
(t *testing.T)
privval/file_test.go:219
FunctionTestSignProposal
(t *testing.T)
privval/grpc/server_test.go:125
FunctionTestSignSameVoteTwice
(t *testing.T)
internal/consensus/state_test.go:1949
FunctionTestSignVote
(t *testing.T)
privval/file_test.go:165
FunctionTestSignVote
(t *testing.T)
privval/grpc/server_test.go:53
FunctionTestSignatureVerificationAndRejectUpperS
Ensure that signature verification works, and that non-canonical signatures fail. Note: run with CGO_ENABLED=0 or go test -tags !cgo.
crypto/secp256k1/secp256k1_internal_test.go:51
FunctionTestSignedHeaderProtoBuf
(t *testing.T)
types/block_test.go:832
FunctionTestSignedHeaderValidateBasic
(t *testing.T)
types/light_test.go:112
FunctionTestSignerClient_GetPubKey
(t *testing.T)
privval/grpc/client_test.go:47
FunctionTestSignerClient_SignProposal
(t *testing.T)
privval/grpc/client_test.go:128
FunctionTestSignerClient_SignVote
(t *testing.T)
privval/grpc/client_test.go:72
FunctionTestSignerClose
(t *testing.T)
privval/signer_client_test.go:58
FunctionTestSignerGetPubKey
(t *testing.T)
privval/signer_client_test.go:87
FunctionTestSignerPing
(t *testing.T)
privval/signer_client_test.go:68
FunctionTestSignerProposal
(t *testing.T)
privval/signer_client_test.go:118
FunctionTestSignerRemoteRetryTCPOnly
TestSignerRemoteRetryTCPOnly will test connection retry attempts over TCP. We don't need this for Unix sockets because the OS instantly knows the stat
privval/signer_listener_endpoint_test.go:35
FunctionTestSignerSignProposalErrors
(t *testing.T)
privval/signer_client_test.go:309
FunctionTestSignerSignVoteErrors
(t *testing.T)
privval/signer_client_test.go:350
FunctionTestSignerUnexpectedResponse
(t *testing.T)
privval/signer_client_test.go:415
FunctionTestSignerVote
(t *testing.T)
privval/signer_client_test.go:158
FunctionTestSignerVoteKeepAlive
(t *testing.T)
privval/signer_client_test.go:256
FunctionTestSignerVoteResetDeadline
(t *testing.T)
privval/signer_client_test.go:202
FunctionTestSimple
(t *testing.T)
crypto/xsalsa20symmetric/symmetric_test.go:14
FunctionTestSimpleQueue
(t *testing.T)
internal/p2p/rqueue_test.go:9
FunctionTestSimpleWithKDF
(t *testing.T)
crypto/xsalsa20symmetric/symmetric_test.go:25
FunctionTestSlowClientIsRemovedWithErrOutOfCapacity
(t *testing.T)
libs/pubsub/pubsub_test.go:131
FunctionTestSmall
(t *testing.T)
internal/libs/clist/clist_test.go:26
FunctionTestSnapshotPool_Add
(t *testing.T)
internal/statesync/snapshots_test.go:39
FunctionTestSnapshotPool_GetPeer
(t *testing.T)
internal/statesync/snapshots_test.go:68
FunctionTestSnapshotPool_GetPeers
(t *testing.T)
internal/statesync/snapshots_test.go:103
FunctionTestSnapshotPool_Ranked_Best
(t *testing.T)
internal/statesync/snapshots_test.go:126
FunctionTestSnapshotPool_Reject
(t *testing.T)
internal/statesync/snapshots_test.go:169
FunctionTestSnapshotPool_RejectFormat
(t *testing.T)
internal/statesync/snapshots_test.go:197
FunctionTestSnapshotPool_RejectPeer
(t *testing.T)
internal/statesync/snapshots_test.go:226
FunctionTestSnapshotPool_RemovePeer
(t *testing.T)
internal/statesync/snapshots_test.go:266
FunctionTestSnapshot_Key
(t *testing.T)
internal/statesync/snapshots_test.go:11
FunctionTestSplitAndTrimEmpty
(t *testing.T)
libs/strings/string_test.go:9
FunctionTestStartNextHeightCorrectlyAfterTimeout
2 vals precommit votes for a block but node times out waiting for the third. Move to next round and third precommit arrives which leads to the commit
internal/consensus/state_test.go:1591
FunctionTestStateBadProposal
(t *testing.T)
internal/consensus/state_test.go:198
FunctionTestStateCopy
TestStateCopy tests the correct copying behavior of State.
internal/state/state_test.go:51
FunctionTestStateEnterProposeNoPrivValidator
a non-validator should timeout into the prevote round
internal/consensus/state_test.go:143
FunctionTestStateEnterProposeYesPrivValidator
a validator should not timeout of the prevote round (TODO: unless the block is really big!)
internal/consensus/state_test.go:165
FunctionTestStateFullRound1
---------------------------------------------------------------------------------------------------- FullRoundSuite propose, prevote, and precommit a
internal/consensus/state_test.go:322
FunctionTestStateFullRound2
run through propose, prevote, precommit commit with two validators where the first validator has to wait for votes from the second
internal/consensus/state_test.go:385
FunctionTestStateFullRoundNil
nil is proposed, so prevote and precommit nil
internal/consensus/state_test.go:364
FunctionTestStateHalt1
------------------------------------------------------------------------------------------ SlashingSuite TODO: Slashing * func TestStateSlashingPrevot
internal/consensus/state_test.go:1798
FunctionTestStateLockNoPOL
------------------------------------------------------------------------------------------ LockSuite two validators, 4 rounds. two vals take turns pro
internal/consensus/state_test.go:428
FunctionTestStateLockPOLRelock
4 vals in two rounds, in round one: v1 precommits, other 3 only prevote so the block isn't committed in round two: v1 prevotes the same block that the
internal/consensus/state_test.go:616
FunctionTestStateLockPOLSafety1
4 vals a polka at round 1 but we miss it then a polka at round 2 that we lock on then we see the polka from round 1 but shouldn't unlock
internal/consensus/state_test.go:938
FunctionTestStateLockPOLSafety2
4 vals. polka P0 at R0, P1 at R1, and P2 at R2, we lock on P0 at R0, don't see P1, and unlock using P2 at R2 then we should make sure we don't lock us
internal/consensus/state_test.go:1058
FunctionTestStateLockPOLUnlock
4 vals, one precommits, other 3 polka at next round, so we unlock and precomit the polka
internal/consensus/state_test.go:717
FunctionTestStateLockPOLUnlockOnUnknownBlock
4 vals, v1 locks on proposed block in the first round but the other validators only prevote In the second round, v1 misses the proposal but sees a maj
internal/consensus/state_test.go:810
FunctionTestStateMakeBlock
(t *testing.T)
internal/state/state_test.go:980
FunctionTestStateOutputVoteStats
(t *testing.T)
internal/consensus/state_test.go:1913
FunctionTestStateOutputsBlockPartsStats
(t *testing.T)
internal/consensus/state_test.go:1867
FunctionTestStateOversizedBlock
(t *testing.T)
internal/consensus/state_test.go:258
FunctionTestStateProposerSelection0
* ProposeSuite x * TestProposerSelection0 - round robin ordering, round 0 x * TestProposerSelection2 - round robin ordering, round 2++ x * TestEnterP
internal/consensus/state_test.go:58
FunctionTestStateProposerSelection2
Now let's do it all again, but starting from round 2 instead of 0
internal/consensus/state_test.go:102
FunctionTestStateProto
(t *testing.T)
internal/state/state_test.go:1060
FunctionTestStateSaveLoad
TestStateSaveLoad tests saving and loading State from a db.
internal/state/state_test.go:82
FunctionTestStateSyncConfigValidateBasic
(t *testing.T)
config/config_test.go:123
FunctionTestStateSyncVectors
(t *testing.T)
proto/tendermint/statesync/message_test.go:124
FunctionTestStatefulRoutine
(t *testing.T)
internal/blocksync/v2/routine_test.go:97
FunctionTestStatus
Make sure status is correct (we connect properly)
rpc/client/rpc_test.go:115
FunctionTestStatus
(t *testing.T)
rpc/client/mock/status_test.go:16
FunctionTestStatusIndexer
(t *testing.T)
rpc/coretypes/responses_test.go:19
FunctionTestStatusRequest_Validate
(t *testing.T)
proto/tendermint/blocksync/message_test.go:59
FunctionTestStatusResponse_Validate
(t *testing.T)
proto/tendermint/blocksync/message_test.go:65
FunctionTestStop
(t *testing.T)
internal/state/indexer/sink/kv/kv_test.go:25
FunctionTestStop
(t *testing.T)
internal/state/indexer/sink/psql/psql_test.go:204
FunctionTestStop
(t *testing.T)
internal/state/indexer/sink/null/null_test.go:36
FunctionTestStoreBootstrap
(t *testing.T)
internal/state/store_test.go:28
FunctionTestStoreLoadConsensusParams
(t *testing.T)
internal/state/store_test.go:143
FunctionTestStoreLoadValidators
(t *testing.T)
internal/state/store_test.go:54
FunctionTestStoreLoadValidatorsIncrementsProposerPriority
(t *testing.T)
internal/state/state_test.go:906
FunctionTestStringInSlice
(t *testing.T)
libs/strings/string_test.go:28
FunctionTestStringSliceEqual
(t *testing.T)
libs/strings/string_test.go:58
FunctionTestSub
(t *testing.T)
libs/bits/bit_array_test.go:82
FunctionTestSubscribe
(t *testing.T)
libs/pubsub/pubsub_test.go:24
FunctionTestSubscribeDuplicateKeys
(t *testing.T)
libs/pubsub/pubsub_test.go:219
FunctionTestSubscribeUnbuffered
(t *testing.T)
libs/pubsub/pubsub_test.go:96
FunctionTestSubscribeWithCapacity
(t *testing.T)
libs/pubsub/pubsub_test.go:69
← previousnext →8,001–8,100 of 9,600, ranked by callers