MCPcopy Create free account

hub / github.com/celestiaorg/celestia-core / functions

Functions10,505 in github.com/celestiaorg/celestia-core

↓ 1,293 callersMethodEqual
(interface{})
proto/tendermint/crypto/keys.pb.go:71
↓ 903 callersMethodError
(msg string, keyvals ...interface{})
libs/log/logger.go:13
↓ 557 callersMethodGet
(string)
p2p/peer.go:46
↓ 447 callersMethodUnlock
Unlock unlocks the mempool.
mempool/mempool.go:59
↓ 433 callersMethodLock
Lock locks the mempool. The consensus must be able to hold lock to safely update. Before acquiring the lock, it signals the mempool that a new update
mempool/mempool.go:56
↓ 413 callersMethodAdd
Add appends an entry into the BatchVerifier.
crypto/crypto.go:48
↓ 255 callersMethodHash
()
libs/log/lazy.go:30
↓ 255 callersMethodInfo
(msg string, keyvals ...interface{})
libs/os/os.go:15
↓ 248 callersMethodWith
(keyvals ...interface{})
libs/log/logger.go:15
↓ 240 callersMethodDebug
(msg string, keyvals ...interface{})
libs/log/logger.go:11
↓ 228 callersMethodError
()
proxy/app_conn.go:39
↓ 200 callersMethodStart
service methods
consensus/wal.go:66
↓ 199 callersFunctionsovTypes
(x uint64)
abci/types/types.pb.go:9514
↓ 197 callersFunctionTestingLogger
TestingLogger returns a TMLogger which writes to STDOUT if testing being run with the verbose (-v) flag, NopLogger otherwise. Note that the call to T
libs/log/testing_logger.go:22
↓ 196 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
abci/types/types.pb.go:8021
↓ 195 callersMethodRun
([][]byte)
crypto/merkle/proof_op.go:22
↓ 195 callersMethodString
height of the infraction
types/evidence.go:27
↓ 192 callersMethodClose
Close closes the connection with the database
state/store.go:83
↓ 192 callersMethodID
()
p2p/peer.go:29
↓ 180 callersMethodAddress
()
crypto/crypto.go:23
↓ 180 callersMethodStop
()
consensus/wal.go:67
↓ 162 callersMethodCleanup
Cleanup any resources associated with Peer.
p2p/transport.go:76
↓ 153 callersMethodGet
Get returns the transaction specified by hash or nil if the transaction is not indexed or stored.
state/txindex/indexer.go:27
↓ 143 callersMethodMarshal
()
abci/types/types.pb.go:7481
↓ 141 callersFunctionhash
(s string)
light/helpers_test.go:254
↓ 134 callersMethodKey
()
types/tx.go:48
↓ 132 callersMethodSet
(string, interface{})
p2p/peer.go:45
↓ 131 callersMethodDone
()
libs/flowrate/io.go:19
↓ 117 callersMethodHeader
(ctx context.Context, height *int64)
rpc/client/interface.go:70
↓ 110 callersMethodBytes
()
crypto/crypto.go:24
↓ 102 callersMethodStop
()
p2p/conn/connection_test.go:622
↓ 99 callersFunctionGenPrivKey
GenPrivKey generates a new ed25519 private key. It uses OS randomness in conjunction with the current global random seed in cometbft/libs/rand to gene
crypto/ed25519/ed25519.go:124
↓ 97 callersMethodGetPubKey
()
types/priv_validator.go:16
↓ 97 callersFunctionsovTypes
(x uint64)
proto/tendermint/types/types.pb.go:3516
↓ 97 callersFunctionsubscribe
subscribe subscribes test client to the given query and returns a channel with cap = 1.
consensus/state_test.go:2562
↓ 95 callersMethodSetLogger
SetLogger sets a logger.
libs/service/service.go:52
↓ 94 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/types.pb.go:2976
↓ 93 callersMethodHash
()
crypto/merkle/types.go:19
↓ 92 callersMethodCheckTx
CheckTx executes a new transaction against the application to determine its validity and whether it should be added to the mempool.
mempool/mempool.go:33
↓ 91 callersMethodUnmarshal
(dAtA []byte)
abci/types/types.pb.go:16323
↓ 90 callersMethodPeers
()
rpc/core/env.go:57
↓ 87 callersFunctionCRandBytes
This only uses the OS's randomness
crypto/random.go:20
↓ 85 callersMethodPubKey
()
crypto/crypto.go:33
↓ 85 callersMethodValidateBasic
time of the infraction
types/evidence.go:29
↓ 85 callersMethodWait
()
consensus/wal.go:68
↓ 83 callersMethodToProto
ToProto converts the handwritten type to proto generated type return type, nil if everything converts safely, otherwise nil, error
types/vote.go:373
↓ 82 callersMethodSize
Size returns the number of transactions in the mempool.
mempool/mempool.go:97
↓ 81 callersMethodIsRunning
Return true if the service is running
libs/service/service.go:43
↓ 81 callersMethodMakePartSet
MakePartSet returns a PartSet containing parts of a serialized block. This is the form in which the block is gossipped to peers. CONTRACT: partSize is
types/block.go:146
↓ 80 callersMethodHash
bytes which comprise the evidence
types/evidence.go:25
↓ 79 callersMethodError
TODO: remove as each method now returns an error
abci/client/client.go:30
↓ 76 callersMethodClose
()
p2p/transport.go:82
↓ 76 callersMethodIntn
(n int)
proto/tendermint/types/params.pb.go:1002
↓ 76 callersMethodSize
()
proto/tendermint/p2p/conn.pb.go:204
↓ 76 callersFunctionsignAddVotes
( to *State, voteType cmtproto.SignedMsgType, hash []byte, header types.PartSetHeader, extEnabled bool,
consensus/common_test.go:261
↓ 74 callersMethodString
()
libs/pubsub/pubsub.go:72
↓ 73 callersMethodSize
()
abci/types/types.pb.go:283
↓ 72 callersMethodCopy
()
crypto/merkle/types.go:22
↓ 71 callersMethodMarshalToSizedBuffer
(dAtA []byte)
abci/types/types.pb.go:7496
↓ 69 callersMethodLog
(keyvals ...interface{})
libs/log/tmfmt_logger.go:50
↓ 69 callersFunctionensureNewRound
(roundCh <-chan cmtpubsub.Message, height int64, round int32)
consensus/common_test.go:559
↓ 68 callersFunctionMustCompile
MustCompile compiles the query expression into an executable query. In case of error, MustCompile will panic. This is intended for use in program ini
libs/pubsub/query/query.go:45
↓ 67 callersMethodContext
Context returns the connection's context.
rpc/jsonrpc/types/types.go:260
↓ 67 callersFunctionNewLazySprintf
NewLazySprintf defers fmt.Sprintf until the Stringer interface is invoked. This is particularly useful for avoiding calling Sprintf when debugging is
libs/log/lazy.go:17
↓ 67 callersFunctionSum
Sum returns the SHA256 of the bz.
crypto/tmhash/hash.go:19
↓ 65 callersFunctionNewValidatorSet
NewValidatorSet initializes a ValidatorSet by copying over the values from `valz`, a list of Validators. If valz is nil or empty, the new ValidatorSet
types/validator_set.go:77
↓ 63 callersMethodWrite
(WALMessage)
consensus/wal.go:59
↓ 61 callersMethodSize
()
p2p/peer_set.go:15
↓ 59 callersMethodGetRoundState
GetRoundState returns a shallow copy of the internal consensus state.
consensus/state.go:267
↓ 59 callersFunctionbz
(s string)
crypto/merkle/proof_test.go:138
↓ 58 callersMethodQuit
Quit returns a channel, which is closed once service is stopped.
libs/service/service.go:46
↓ 57 callersFunctionNewLocalClientCreator
NewLocalClientCreator returns a [ClientCreator] for the given app, which will be running locally. Maintains a single mutex over all new clients creat
proxy/client.go:35
↓ 57 callersMethodOut
()
types/event_bus.go:25
↓ 52 callersFunctionNewInMemoryApplication
NewInMemoryApplication creates a new application from an in memory database. Nothing will be persisted.
abci/example/kvstore/kvstore.go:75
↓ 51 callersMethodTotalVotingPower
TotalVotingPower returns the sum of the voting powers of all validators. It recomputes the total voting power if required.
types/validator_set.go:332
↓ 50 callersMethodWrite
(Entry)
libs/trace/tracer.go:20
↓ 50 callersFunctionskipTypes
(dAtA []byte)
abci/types/types.pb.go:17972
↓ 49 callersMethodGetByAddress
(address []byte)
types/vote_set.go:417
↓ 49 callersMethodGetProposer
GetProposer returns the current proposer. If the validator set is empty, nil is returned.
types/validator_set.go:341
↓ 48 callersMethodCall
(ctx context.Context, method string, params map[string]interface{}, result interface{})
rpc/jsonrpc/client/http_json_client.go:129
↓ 48 callersMethodUnmarshal
(dAtA []byte)
rpc/grpc/types.pb.go:4471
↓ 48 callersMethodUpdate
Update informs the mempool that the given txs were committed and can be discarded. NOTE: 1. This should be called *after* block is committed by conse
mempool/mempool.go:67
↓ 46 callersMethodSize
()
proto/tendermint/types/evidence.pb.go:73
↓ 46 callersMethodSizeBytes
SizeBytes returns the total size of all txs in the mempool.
mempool/mempool.go:100
↓ 45 callersMethodLoad
Load loads the current state of the blockchain
state/store.go:61
↓ 45 callersMethodType
()
crypto/crypto.go:27
↓ 43 callersMethodHeight
hash of the evidence
types/evidence.go:26
↓ 43 callersFunctionNewMockPV
()
types/priv_validator.go:56
↓ 42 callersMethodBytes
forms individual evidence to be sent to the application
types/evidence.go:24
↓ 42 callersMethodGenSignedHeader
GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader.
light/helpers_test.go:156
↓ 42 callersMethodValidateBasic
()
consensus/reactor.go:1690
↓ 41 callersMethodDBDir
DBDir returns the full path to the database directory
config/config.go:305
↓ 41 callersMethodList
()
p2p/peer_set.go:14
↓ 41 callersFunctionsovTypes
(x uint64)
proto/tendermint/consensus/types.pb.go:1799
↓ 40 callersMethodData
Data returns an original data published.
libs/pubsub/subscription.go:84
↓ 40 callersMethodLen
Len returns the amount of cached items. Mostly used for testing.
mempool/cat/cache.go:112
↓ 40 callersFunctionensurePrevote
(voteCh <-chan cmtpubsub.Message, height int64, round int32)
consensus/common_test.go:674
↓ 39 callersMethodHas
(net.Conn)
p2p/conn_set.go:11
↓ 39 callersFunctionNewBlockStore
NewBlockStore returns a new BlockStore with the given DB, initialized to the last height that was committed to the DB.
store/store.go:68
↓ 39 callersFunctionencodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/consensus/types.pb.go:1498
next →1–100 of 10,505, ranked by callers