MCPcopy Create free account

hub / github.com/tendermint/tendermint / functions

Functions9,600 in github.com/tendermint/tendermint

FunctionTestEmitNewValidBlockEventOnCommitWithoutBlock
What we want: P0 emit NewValidBlock event upon receiving 2/3+ Precommit for B but hasn't received block B yet
internal/consensus/state_test.go:1498
FunctionTestEmptyFull
(t *testing.T)
libs/bits/bit_array_test.go:177
FunctionTestEmptyPeerListReturnsWhenContextCanceled
(t *testing.T)
internal/statesync/dispatcher_test.go:174
FunctionTestEmptySet
-------------------------------------------------------------------
types/validator_set_test.go:688
FunctionTestEndBlockValidatorUpdates
TestEndBlockValidatorUpdates ensures we update validator set and send an event.
internal/state/execution_test.go:349
FunctionTestEndBlockValidatorUpdatesResultingInEmptySet
TestEndBlockValidatorUpdatesResultingInEmptySet checks that processing validator updates that would result in empty set causes no panic, an error is r
internal/state/execution_test.go:422
FunctionTestEndpoint_NodeAddress
(t *testing.T)
internal/p2p/transport_test.go:446
FunctionTestEndpoint_String
(t *testing.T)
internal/p2p/transport_test.go:501
FunctionTestEndpoint_Validate
(t *testing.T)
internal/p2p/transport_test.go:547
FunctionTestEnsureDir
(t *testing.T)
libs/os/os_test.go:72
FunctionTestEnsureRoot
(t *testing.T)
config/toml_test.go:22
FunctionTestEnsureTestRoot
(t *testing.T)
config/toml_test.go:44
FunctionTestEqualPeerBehaviors
TestEqualPeerBehaviors tests that equalBehaviors can tell that two slices of peer behaviors can be compared for the behaviors they contain and the fre
internal/blocksync/v2/internal/behavior/reporter_test.go:77
FunctionTestEventBusPublish
(t *testing.T)
types/event_bus_test.go:318
FunctionTestEventBusPublishEventNewBlock
(t *testing.T)
types/event_bus_test.go:67
FunctionTestEventBusPublishEventNewBlockHeader
(t *testing.T)
types/event_bus_test.go:229
FunctionTestEventBusPublishEventNewEvidence
(t *testing.T)
types/event_bus_test.go:280
FunctionTestEventBusPublishEventTx
(t *testing.T)
types/event_bus_test.go:18
FunctionTestEventBusPublishEventTxDuplicateKeys
(t *testing.T)
types/event_bus_test.go:121
FunctionTestEventCache_Flush
(t *testing.T)
libs/events/event_cache_test.go:10
FunctionTestEvidenceDataProtoBuf
TestEvidenceDataProtoBuf ensures parity in converting to and from proto.
types/block_test.go:717
FunctionTestEvidenceList
(t *testing.T)
types/evidence_test.go:24
FunctionTestEvidenceListSerialization
(t *testing.T)
internal/evidence/reactor_test.go:496
FunctionTestEvidencePoolBasic
(t *testing.T)
internal/evidence/pool_test.go:33
FunctionTestEvidencePoolUpdate
(t *testing.T)
internal/evidence/pool_test.go:175
FunctionTestEvidenceProto
(t *testing.T)
types/evidence_test.go:278
FunctionTestEvidenceVectors
(t *testing.T)
types/evidence_test.go:319
FunctionTestEvidence_Misbehavior
assert that all nodes that have blocks at the height of a misbehavior has evidence for that misbehavior
test/e2e/tests/evidence_test.go:11
FunctionTestExample
(t *testing.T)
libs/pubsub/example_test.go:15
FunctionTestGCFifo
(t *testing.T)
internal/libs/clist/clist_test.go:68
FunctionTestGCRandom
(t *testing.T)
internal/libs/clist/clist_test.go:128
FunctionTestGRPC
(t *testing.T)
abci/example/example_test.go:42
FunctionTestGenLoadValidator
(t *testing.T)
privval/file_test.go:24
FunctionTestGenPrivKeySecp256k1
(t *testing.T)
crypto/secp256k1/secp256k1_test.go:86
FunctionTestGenerator
(t *testing.T)
test/e2e/generator/generate_test.go:13
FunctionTestGenesisAndValidators
(t *testing.T)
rpc/client/rpc_test.go:206
FunctionTestGenesisBad
(t *testing.T)
types/genesis_test.go:16
FunctionTestGenesisChunked
(t *testing.T)
rpc/client/rpc_test.go:235
FunctionTestGenesisGood
(t *testing.T)
types/genesis_test.go:60
FunctionTestGenesisSaveAs
(t *testing.T)
types/genesis_test.go:124
FunctionTestGenesisValidatorHash
(t *testing.T)
types/genesis_test.go:150
FunctionTestGetPubKey
(t *testing.T)
privval/grpc/server_test.go:23
FunctionTestGlobalDataStructuresForRefactor
(t *testing.T)
scripts/keymigrate/migrate_test.go:131
FunctionTestGroupReaderRead
test that Read reads the required amount of bytes from all the files in the group and returns no error if n == size of the given slice.
internal/libs/autofile/group_test.go:199
FunctionTestGroupReaderRead2
test that Read returns an error if number of bytes read < size of the given slice. Subsequent call should return 0, io.EOF.
internal/libs/autofile/group_test.go:232
FunctionTestGuessConfigVersion
(t *testing.T)
internal/libs/confix/confix_test.go:23
FunctionTestHChaCha20
(t *testing.T)
crypto/xchacha20poly1305/vector_test.go:21
FunctionTestHTTPClientMakeHTTPDialer
(t *testing.T)
rpc/jsonrpc/client/http_json_client_test.go:13
FunctionTestHTTPReturnsErrorIfClientIsNotRunning
(t *testing.T)
rpc/client/event_test.go:168
FunctionTestHandshakePanicsIfAppReturnsWrongAppHash
(t *testing.T)
internal/consensus/replay_test.go:939
FunctionTestHandshakeReplayAll
Sync from scratch
internal/consensus/replay_test.go:565
FunctionTestHandshakeReplayNone
Sync from caught up
internal/consensus/replay_test.go:601
FunctionTestHandshakeReplayOne
Sync from lagging by one
internal/consensus/replay_test.go:589
FunctionTestHandshakeReplaySome
Sync many, not from scratch
internal/consensus/replay_test.go:577
FunctionTestHandshakeUpdatesValidators
--------------------------------------- Test handshake/init chain
internal/consensus/replay_test.go:1230
FunctionTestHangingSyncCalls
(t *testing.T)
abci/client/socket_client_test.go:59
FunctionTestHasVoteMessageValidateBasic
(t *testing.T)
internal/consensus/msgs_test.go:697
FunctionTestHasVoteVector
(t *testing.T)
proto/tendermint/consensus/message_test.go:15
FunctionTestHash
(t *testing.T)
crypto/tmhash/hash_test.go:13
FunctionTestHashAlternatives
(t *testing.T)
crypto/merkle/tree_test.go:103
FunctionTestHashFromByteSlices
(t *testing.T)
crypto/merkle/tree_test.go:21
FunctionTestHashTruncated
(t *testing.T)
crypto/tmhash/hash_test.go:31
FunctionTestHeaderEvents
(t *testing.T)
rpc/client/event_test.go:29
FunctionTestHeaderHash
(t *testing.T)
types/block_test.go:318
FunctionTestHeaderHashVector
(t *testing.T)
types/block_test.go:1317
FunctionTestHeaderProto
(t *testing.T)
types/block_test.go:781
FunctionTestHeader_ValidateBasic
(t *testing.T)
types/block_test.go:957
FunctionTestHealth
(t *testing.T)
rpc/client/rpc_test.go:192
FunctionTestHexBytes_String
(t *testing.T)
libs/bytes/bytes_test.go:69
FunctionTestHexStringArg
(t *testing.T)
rpc/jsonrpc/jsonrpc_test.go:292
FunctionTestIncrementProposerPriorityPositiveTimes
Test that IncrementProposerPriority requires positive times.
types/validator_set_test.go:157
FunctionTestIndexerServiceIndexesBlocks
(t *testing.T)
internal/state/indexer/indexer_service_test.go:41
FunctionTestIndexing
(t *testing.T)
internal/state/indexer/sink/psql/psql_test.go:148
FunctionTestInfo
(t *testing.T)
internal/proxy/app_conn_test.go:150
FunctionTestInfo
Make sure info is correct (we connect properly)
rpc/client/rpc_test.go:129
FunctionTestInspectConstructor
(t *testing.T)
internal/inspect/inspect_test.go:29
FunctionTestInspectRun
(t *testing.T)
internal/inspect/inspect_test.go:44
FunctionTestInstrumentationConfigValidateBasic
(t *testing.T)
config/config_test.go:181
FunctionTestIntInSlice
(t *testing.T)
internal/state/indexer/tx/kv/utils_test.go:9
FunctionTestIsASCIIText
(t *testing.T)
libs/strings/string_test.go:35
FunctionTestIsConnTimeoutForFundamentalTimeouts
(t *testing.T)
privval/socket_dialers_test.go:32
FunctionTestIsConnTimeoutForNonTimeoutErrors
(t *testing.T)
privval/utils_test.go:11
FunctionTestIsConnTimeoutForWrappedConnTimeouts
(t *testing.T)
privval/socket_dialers_test.go:41
FunctionTestIsVoteTypeValid
(t *testing.T)
types/vote_test.go:181
FunctionTestIterateKeysWithValues
(t *testing.T)
libs/cmap/cmap_test.go:12
FunctionTestJSON
(t *testing.T)
crypto/sr25519/sr25519_test.go:78
FunctionTestJSONMarshal
Test that the hex encoding works.
libs/bytes/bytes_test.go:27
FunctionTestJSONMarshalUnmarshal
(t *testing.T)
libs/bits/bit_array_test.go:222
FunctionTestJSONRPCID
(t *testing.T)
rpc/jsonrpc/server/http_json_handler_test.go:88
FunctionTestKVStore
(t *testing.T)
abci/example/example_test.go:32
FunctionTestKVStoreKV
(t *testing.T)
abci/example/kvstore/kvstore_test.go:64
FunctionTestKeyPath
(t *testing.T)
crypto/merkle/proof_key_path_test.go:12
FunctionTestLargeGenesisValidator
(t *testing.T)
internal/state/state_test.go:724
FunctionTestLastDialed
(t *testing.T)
internal/p2p/peermanager_scoring_test.go:166
FunctionTestLast_FirstLightBlockHeight
(t *testing.T)
light/store/db/db_test.go:20
FunctionTestLightBlockProtobuf
(t *testing.T)
types/light_test.go:59
FunctionTestLightBlockValidateBasic
(t *testing.T)
types/light_test.go:14
FunctionTestLightClientAttackEvidenceBasic
(t *testing.T)
types/evidence_test.go:96
FunctionTestLightClientAttackEvidenceLifecycle
check that valid light client evidence is correctly validated and stored in evidence pool
internal/evidence/pool_test.go:269
FunctionTestLightClientAttackEvidenceValidation
(t *testing.T)
types/evidence_test.go:155
← previousnext →7,501–7,600 of 9,600, ranked by callers