Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tendermint/tendermint
/ functions
Functions
9,600 in github.com/tendermint/tendermint
⨍
Functions
9,600
◇
Types & classes
1,209
↓ 2 callers
Method
FlushAndSync
FlushAndSync writes any buffered data to the underlying file and commits the current content of the file to stable storage (fsync).
internal/libs/autofile/group.go:229
↓ 2 callers
Method
FlushAppConn
FlushAppConn flushes the mempool connection to ensure async callback calls are done, e.g. from CheckTx. NOTE: 1. Lock/Unlock must be managed by calle
internal/mempool/mempool.go:78
↓ 2 callers
Method
FlushAsync
Asynchronous requests
abci/client/client.go:35
↓ 2 callers
Method
FlushSync
Synchronous requests
abci/client/client.go:51
↓ 2 callers
Method
FromProto
FromProto sets BitArray to the given protoBitArray. It returns an error if protoBitArray is invalid.
libs/bits/bit_array.go:443
↓ 2 callers
Function
GenPrivKeySecp256k1
GenPrivKeySecp256k1 hashes the secret with SHA2, and uses that 32 byte output to create the private key. It makes sure the private key is a valid fie
crypto/secp256k1/secp256k1.go:107
↓ 2 callers
Method
Generate
(keyType string)
test/e2e/pkg/testnet.go:494
↓ 2 callers
Method
GenerateABCI
GenerateABCI populates the ABCI component of the evidence. This includes the validator power, timestamp and total voting power.
types/evidence.go:176
↓ 2 callers
Method
GenesisDoc
GenesisDoc returns the Node's GenesisDoc.
node/node.go:1078
↓ 2 callers
Method
GetBlockRequest
()
proto/tendermint/blocksync/types.pb.go:329
↓ 2 callers
Method
GetConsensusState
()
internal/consensus/reactor.go:1468
↓ 2 callers
Method
GetHeight
()
types/vote_set.go:683
↓ 2 callers
Method
GetLightBlockRequest
()
proto/tendermint/statesync/types.pb.go:148
↓ 2 callers
Method
GetNoBlockResponse
()
proto/tendermint/blocksync/types.pb.go:336
↓ 2 callers
Method
GetParamsRequest
()
proto/tendermint/statesync/types.pb.go:162
↓ 2 callers
Method
GetParamsResponse
()
proto/tendermint/statesync/types.pb.go:169
↓ 2 callers
Method
GetPeerState
(peerID types.NodeID)
internal/rpc/core/env.go:64
↓ 2 callers
Method
GetPort
()
proto/tendermint/p2p/pex.pb.go:79
↓ 2 callers
Method
GetPower
()
abci/types/types.pb.go:2646
↓ 2 callers
Method
GetPubKey
-------------------------------------------------------- Implement PrivValidator GetPubKey retrieves a public key from a remote signer returns an erro
privval/grpc/client.go:57
↓ 2 callers
Method
GetRemainingSyncTime
GetRemainingSyncTime returns the estimating time the node will be fully synced, if will return 0 if the blocksync does not perform or the number of bl
internal/consensus/reactor.go:112
↓ 2 callers
Method
GetRound
()
types/vote_set.go:684
↓ 2 callers
Method
GetSum
()
proto/tendermint/types/evidence.pb.go:86
↓ 2 callers
Method
GetTrimmedHostWithPath
Get a trimmed address - useful for WS connections
rpc/jsonrpc/client/http_json_client.go:80
↓ 2 callers
Method
GetTxs
()
proto/tendermint/types/types.pb.go:459
↓ 2 callers
Function
GroupCheckDuration
GroupCheckDuration allows you to overwrite default groupCheckDuration.
internal/libs/autofile/group.go:116
↓ 2 callers
Function
GroupHeadSizeLimit
GroupHeadSizeLimit allows you to overwrite default head size limit - 10MB.
internal/libs/autofile/group.go:123
↓ 2 callers
Function
GuessConfigVersion
GuessConfigVersion attempts to figure out which version of Tendermint created the specified config document. It returns "" if the creating version can
internal/libs/confix/confix.go:103
↓ 2 callers
Method
Has
Has reports whether tx is present in the cache. Checking for presence is not treated as an access of the value.
internal/mempool/cache.go:28
↓ 2 callers
Method
Has
Has returns true if the given height has been indexed. An error is returned upon database query failure.
internal/state/indexer/block/kv/kv.go:38
↓ 2 callers
Method
HasAddress
HasAddress returns true if address given is in the validator set, false - otherwise.
types/validator_set.go:259
↓ 2 callers
Method
HasBlock
HasBlock is not implemented by this sink, and reports an error for all queries.
internal/state/indexer/sink/psql/psql.go:254
↓ 2 callers
Method
HasIP
(net.IP)
internal/p2p/conn_set.go:12
↓ 2 callers
Function
HashFromByteSlicesIterative
HashFromByteSliceIterative is an iterative alternative to HashFromByteSlice motivated by potential performance improvements. (#2611) had suggested tha
crypto/merkle/tree.go:68
↓ 2 callers
Method
Header
()
types/part_set.go:208
↓ 2 callers
Function
HeaderExpired
HeaderExpired return true if the given header expired.
light/verifier.go:183
↓ 2 callers
Method
Height
Height returns the last height at which the primary provider and witness provider had the same header. We use this as the height of the infraction rat
types/evidence.go:361
↓ 2 callers
Method
ID
ID returns the node's peer ID.
types/node_info.go:59
↓ 2 callers
Method
IO
IO is a convenience method intended to wrap io.Reader and io.Writer method execution. It calls m.Update(n) and then returns (n, err) unmodified.
internal/libs/flowrate/flowrate.go:86
↓ 2 callers
Method
Import
Import imports key/value pairs from JSON bytes, used for InitChain.AppStateBytes and state sync snapshots. It also saves the state once imported.
test/e2e/app/state.go:108
↓ 2 callers
Method
IndexBlockEvents
IndexBlockEvents indexes the blockheader.
internal/state/indexer/eventsink.go:29
↓ 2 callers
Method
IndexBlockEvents
(bh types.EventDataNewBlockHeader)
internal/state/indexer/sink/kv/kv.go:38
↓ 2 callers
Method
IndexBlockEvents
IndexBlockEvents indexes the specified block header, part of the indexer.EventSink interface.
internal/state/indexer/sink/psql/psql.go:147
↓ 2 callers
Method
IndexTxEvents
IndexTxEvents indexes the given result of transactions. To call it with multi transactions, must guarantee the index of given transactions are in orde
internal/state/indexer/eventsink.go:33
↓ 2 callers
Method
IndexTxEvents
(txrs []*abci.TxResult)
internal/state/indexer/sink/psql/psql.go:182
↓ 2 callers
Method
Info
(req types.RequestInfo)
abci/example/kvstore/persistent_kvstore.go:62
↓ 2 callers
Method
Info
(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption)
abci/types/types.pb.go:3149
↓ 2 callers
Method
InfoSync
(context.Context, types.RequestInfo)
abci/client/client.go:53
↓ 2 callers
Method
InfoSync
(context.Context, types.RequestInfo)
internal/proxy/app_conn_test.go:22
↓ 2 callers
Method
InitChain
(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption)
abci/types/types.pb.go:3154
↓ 2 callers
Function
InjectEvidence
InjectEvidence takes a running testnet and generates an amount of valid evidence and broadcasts it to a random node through the rpc endpoint `/broadca
test/e2e/runner/evidence.go:31
↓ 2 callers
Function
IsASCIIText
Returns true if s is a non-empty printable non-tab ascii character.
libs/strings/string.go:59
↓ 2 callers
Method
IsCommit
()
types/vote_set.go:689
↓ 2 callers
Method
IsConnected
IsConnected indicates with the signer is connected to a remote signing service
privval/signer_client.go:42
↓ 2 callers
Method
IsCorsEnabled
IsCorsEnabled returns true if cross-origin resource sharing is enabled.
config/config.go:635
↓ 2 callers
Method
IsDialingOrExistingAddress
IsDialingOrExistingAddress returns true if switch has a peer with the given address or dialing it at the moment.
internal/p2p/switch.go:606
↓ 2 callers
Method
IsTLSEnabled
()
config/config.go:655
↓ 2 callers
Method
IsValid
IsValid returns true if the step is valid, false if unknown/undefined.
internal/consensus/types/round_state.go:34
↓ 2 callers
Function
KeyFromHeight
(result *abci.TxResult)
internal/state/indexer/tx/kv/kv.go:554
↓ 2 callers
Function
KeyPathToKeys
Decode a path to a list of keys. Path must begin with `/`. Each key must use a known encoding.
crypto/merkle/proof_key_path.go:87
↓ 2 callers
Method
LatestResult
(index int)
libs/async/async.go:45
↓ 2 callers
Method
Leaf
Leaf returns the hash(tx), which is the leaf in the merkle tree which this proof refers to.
types/tx.go:90
↓ 2 callers
Method
ListSnapshots
(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption)
abci/types/types.pb.go:3157
↓ 2 callers
Method
ListSnapshotsSync
(context.Context, types.RequestListSnapshots)
internal/proxy/app_conn.go:51
↓ 2 callers
Method
Load
(hash []byte)
crypto/merkle/types.go:21
↓ 2 callers
Method
LoadBlockPart
(height int64, index int)
internal/state/services.go:33
↓ 2 callers
Method
LoadBlockPart
LoadBlockPart returns the Part at the given index from the block at the given height. If no part is found for the given height and index, it returns n
internal/store/store.go:207
↓ 2 callers
Function
LoadConfig
LoadConfig loads and parses the TOML document from path.
internal/libs/confix/confix.go:82
↓ 2 callers
Method
LoadSnapshotChunk
(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption)
abci/types/types.pb.go:3159
↓ 2 callers
Method
LoadSnapshotChunkSync
(context.Context, types.RequestLoadSnapshotChunk)
internal/proxy/app_conn.go:53
↓ 2 callers
Method
LocalAddr
()
internal/p2p/conn/secret_connection.go:279
↓ 2 callers
Function
LookForRanges
LookForRanges returns a mapping of QueryRanges and the matching indexes in the provided query conditions.
internal/state/indexer/query_range.go:80
↓ 2 callers
Method
LowerBoundValue
LowerBoundValue returns the value for the lower bound. If the lower bound is nil, nil will be returned.
internal/state/indexer/query_range.go:34
↓ 2 callers
Method
MakeChannelNoCleanup
MakeChannelNoCleanup opens a channel, with automatic error handling. The caller must ensure proper cleanup of the channel.
internal/p2p/p2ptest/network.go:298
↓ 2 callers
Function
MakeConnectedSwitches
MakeConnectedSwitches returns n switches, connected according to the connect func. If connect==Connect2Switches, the switches will be fully connected.
internal/p2p/test_util.go:70
↓ 2 callers
Function
MakeGenesisDocFromFile
MakeGenesisDocFromFile reads and unmarshals genesis doc from the given file.
internal/state/state.go:325
↓ 2 callers
Method
MakePeerUpdates
MakePeerUpdates opens a peer update subscription, with automatic cleanup. It checks that all updates have been consumed during cleanup.
internal/p2p/p2ptest/network.go:312
↓ 2 callers
Function
MakeSecretConnection
MakeSecretConnection performs handshake and returns a new authenticated SecretConnection. Returns nil if there is an error in handshake. Caller should
privval/secret_connection.go:96
↓ 2 callers
Function
MakeTenTxs
(height int64)
internal/test/factory/tx.go:14
↓ 2 callers
Method
Marshal
()
abci/types/types.pb.go:5323
↓ 2 callers
Method
Marshal
()
proto/tendermint/mempool/types.pb.go:164
↓ 2 callers
Method
Marshal
()
proto/tendermint/p2p/pex.pb.go:635
↓ 2 callers
Method
Marshal
()
proto/tendermint/version/types.pb.go:130
↓ 2 callers
Method
MarshalTo
([]byte)
abci/types/types.pb.go:217
↓ 2 callers
Method
MarshalTo
([]byte)
proto/tendermint/consensus/wal.pb.go:244
↓ 2 callers
Method
MarshalTo
(data []byte)
internal/libs/protoio/io.go:58
↓ 2 callers
Function
MaxBlockLag
MaxBlockLag represents the maximum time difference between the realtime that a block is received and the timestamp of that block. One can approximate
light/client.go:110
↓ 2 callers
Function
MaxClockDrift
MaxClockDrift defines how much new header's time can drift into the future relative to the light clients local time. Default: 10s.
light/client.go:98
↓ 2 callers
Function
MedianTime
MedianTime computes a median time for a given Commit (based on Timestamp field of votes messages) and the corresponding validator set. The computed ti
internal/state/state.go:290
↓ 2 callers
Function
Migrate
(ctx context.Context, db dbm.DB)
scripts/scmigrate/migrate.go:166
↓ 2 callers
Method
MinIndex
MinIndex returns index of the first file in the group.
internal/libs/autofile/group.go:193
↓ 2 callers
Function
MsgToProto
MsgToProto takes a consensus message type and returns the proto defined consensus message. TODO: This needs to be removed, but WALToProto depends on
internal/consensus/msgs.go:319
↓ 2 callers
Method
NBlocks
NBlocks returns the number of blocks applied to the state.
internal/consensus/replay.go:237
↓ 2 callers
Function
New
New returns a new xchachapoly1305 AEAD
crypto/xchacha20poly1305/xchachapoly.go:41
↓ 2 callers
Function
New
New creates a new flow control monitor. Instantaneous transfer rate is measured and updated for each sampleRate interval. windowSize determines the we
internal/libs/flowrate/flowrate.go:49
↓ 2 callers
Function
NewABCIApplicationClient
(cc *grpc.ClientConn)
abci/types/types.pb.go:3167
↓ 2 callers
Function
NewAppConnConsensus
(appConn abciclient.Client, metrics *Metrics)
internal/proxy/app_conn.go:65
↓ 2 callers
Function
NewBlockMeta
NewBlockMeta returns a new BlockMeta.
types/block_meta.go:20
↓ 2 callers
Function
NewCommitSigForBlock
NewCommitSigForBlock returns new CommitSig with BlockIDFlagCommit.
types/block.go:612
↓ 2 callers
Function
NewGRPCApplication
(app Application)
abci/types/application.go:100
← previous
next →
2,001–2,100 of 9,600, ranked by callers