Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/celestiaorg/celestia-core
/ functions
Functions
10,505 in github.com/celestiaorg/celestia-core
⨍
Functions
10,505
◇
Types & classes
1,237
↓ 1,293 callers
Method
Equal
(interface{})
proto/tendermint/crypto/keys.pb.go:71
↓ 903 callers
Method
Error
(msg string, keyvals ...interface{})
libs/log/logger.go:13
↓ 557 callers
Method
Get
(string)
p2p/peer.go:46
↓ 447 callers
Method
Unlock
Unlock unlocks the mempool.
mempool/mempool.go:59
↓ 433 callers
Method
Lock
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 callers
Method
Add
Add appends an entry into the BatchVerifier.
crypto/crypto.go:48
↓ 255 callers
Method
Hash
()
libs/log/lazy.go:30
↓ 255 callers
Method
Info
(msg string, keyvals ...interface{})
libs/os/os.go:15
↓ 248 callers
Method
With
(keyvals ...interface{})
libs/log/logger.go:15
↓ 240 callers
Method
Debug
(msg string, keyvals ...interface{})
libs/log/logger.go:11
↓ 228 callers
Method
Error
()
proxy/app_conn.go:39
↓ 200 callers
Method
Start
service methods
consensus/wal.go:66
↓ 199 callers
Function
sovTypes
(x uint64)
abci/types/types.pb.go:9514
↓ 197 callers
Function
TestingLogger
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 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
abci/types/types.pb.go:8021
↓ 195 callers
Method
Run
([][]byte)
crypto/merkle/proof_op.go:22
↓ 195 callers
Method
String
height of the infraction
types/evidence.go:27
↓ 192 callers
Method
Close
Close closes the connection with the database
state/store.go:83
↓ 192 callers
Method
ID
()
p2p/peer.go:29
↓ 180 callers
Method
Address
()
crypto/crypto.go:23
↓ 180 callers
Method
Stop
()
consensus/wal.go:67
↓ 162 callers
Method
Cleanup
Cleanup any resources associated with Peer.
p2p/transport.go:76
↓ 153 callers
Method
Get
Get returns the transaction specified by hash or nil if the transaction is not indexed or stored.
state/txindex/indexer.go:27
↓ 143 callers
Method
Marshal
()
abci/types/types.pb.go:7481
↓ 141 callers
Function
hash
(s string)
light/helpers_test.go:254
↓ 134 callers
Method
Key
()
types/tx.go:48
↓ 132 callers
Method
Set
(string, interface{})
p2p/peer.go:45
↓ 131 callers
Method
Done
()
libs/flowrate/io.go:19
↓ 117 callers
Method
Header
(ctx context.Context, height *int64)
rpc/client/interface.go:70
↓ 110 callers
Method
Bytes
()
crypto/crypto.go:24
↓ 102 callers
Method
Stop
()
p2p/conn/connection_test.go:622
↓ 99 callers
Function
GenPrivKey
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 callers
Method
GetPubKey
()
types/priv_validator.go:16
↓ 97 callers
Function
sovTypes
(x uint64)
proto/tendermint/types/types.pb.go:3516
↓ 97 callers
Function
subscribe
subscribe subscribes test client to the given query and returns a channel with cap = 1.
consensus/state_test.go:2562
↓ 95 callers
Method
SetLogger
SetLogger sets a logger.
libs/service/service.go:52
↓ 94 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/types.pb.go:2976
↓ 93 callers
Method
Hash
()
crypto/merkle/types.go:19
↓ 92 callers
Method
CheckTx
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 callers
Method
Unmarshal
(dAtA []byte)
abci/types/types.pb.go:16323
↓ 90 callers
Method
Peers
()
rpc/core/env.go:57
↓ 87 callers
Function
CRandBytes
This only uses the OS's randomness
crypto/random.go:20
↓ 85 callers
Method
PubKey
()
crypto/crypto.go:33
↓ 85 callers
Method
ValidateBasic
time of the infraction
types/evidence.go:29
↓ 85 callers
Method
Wait
()
consensus/wal.go:68
↓ 83 callers
Method
ToProto
ToProto converts the handwritten type to proto generated type return type, nil if everything converts safely, otherwise nil, error
types/vote.go:373
↓ 82 callers
Method
Size
Size returns the number of transactions in the mempool.
mempool/mempool.go:97
↓ 81 callers
Method
IsRunning
Return true if the service is running
libs/service/service.go:43
↓ 81 callers
Method
MakePartSet
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 callers
Method
Hash
bytes which comprise the evidence
types/evidence.go:25
↓ 79 callers
Method
Error
TODO: remove as each method now returns an error
abci/client/client.go:30
↓ 76 callers
Method
Close
()
p2p/transport.go:82
↓ 76 callers
Method
Intn
(n int)
proto/tendermint/types/params.pb.go:1002
↓ 76 callers
Method
Size
()
proto/tendermint/p2p/conn.pb.go:204
↓ 76 callers
Function
signAddVotes
( to *State, voteType cmtproto.SignedMsgType, hash []byte, header types.PartSetHeader, extEnabled bool,
consensus/common_test.go:261
↓ 74 callers
Method
String
()
libs/pubsub/pubsub.go:72
↓ 73 callers
Method
Size
()
abci/types/types.pb.go:283
↓ 72 callers
Method
Copy
()
crypto/merkle/types.go:22
↓ 71 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
abci/types/types.pb.go:7496
↓ 69 callers
Method
Log
(keyvals ...interface{})
libs/log/tmfmt_logger.go:50
↓ 69 callers
Function
ensureNewRound
(roundCh <-chan cmtpubsub.Message, height int64, round int32)
consensus/common_test.go:559
↓ 68 callers
Function
MustCompile
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 callers
Method
Context
Context returns the connection's context.
rpc/jsonrpc/types/types.go:260
↓ 67 callers
Function
NewLazySprintf
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 callers
Function
Sum
Sum returns the SHA256 of the bz.
crypto/tmhash/hash.go:19
↓ 65 callers
Function
NewValidatorSet
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 callers
Method
Write
(WALMessage)
consensus/wal.go:59
↓ 61 callers
Method
Size
()
p2p/peer_set.go:15
↓ 59 callers
Method
GetRoundState
GetRoundState returns a shallow copy of the internal consensus state.
consensus/state.go:267
↓ 59 callers
Function
bz
(s string)
crypto/merkle/proof_test.go:138
↓ 58 callers
Method
Quit
Quit returns a channel, which is closed once service is stopped.
libs/service/service.go:46
↓ 57 callers
Function
NewLocalClientCreator
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 callers
Method
Out
()
types/event_bus.go:25
↓ 52 callers
Function
NewInMemoryApplication
NewInMemoryApplication creates a new application from an in memory database. Nothing will be persisted.
abci/example/kvstore/kvstore.go:75
↓ 51 callers
Method
TotalVotingPower
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 callers
Method
Write
(Entry)
libs/trace/tracer.go:20
↓ 50 callers
Function
skipTypes
(dAtA []byte)
abci/types/types.pb.go:17972
↓ 49 callers
Method
GetByAddress
(address []byte)
types/vote_set.go:417
↓ 49 callers
Method
GetProposer
GetProposer returns the current proposer. If the validator set is empty, nil is returned.
types/validator_set.go:341
↓ 48 callers
Method
Call
(ctx context.Context, method string, params map[string]interface{}, result interface{})
rpc/jsonrpc/client/http_json_client.go:129
↓ 48 callers
Method
Unmarshal
(dAtA []byte)
rpc/grpc/types.pb.go:4471
↓ 48 callers
Method
Update
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 callers
Method
Size
()
proto/tendermint/types/evidence.pb.go:73
↓ 46 callers
Method
SizeBytes
SizeBytes returns the total size of all txs in the mempool.
mempool/mempool.go:100
↓ 45 callers
Method
Load
Load loads the current state of the blockchain
state/store.go:61
↓ 45 callers
Method
Type
()
crypto/crypto.go:27
↓ 43 callers
Method
Height
hash of the evidence
types/evidence.go:26
↓ 43 callers
Function
NewMockPV
()
types/priv_validator.go:56
↓ 42 callers
Method
Bytes
forms individual evidence to be sent to the application
types/evidence.go:24
↓ 42 callers
Method
GenSignedHeader
GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader.
light/helpers_test.go:156
↓ 42 callers
Method
ValidateBasic
()
consensus/reactor.go:1690
↓ 41 callers
Method
DBDir
DBDir returns the full path to the database directory
config/config.go:305
↓ 41 callers
Method
List
()
p2p/peer_set.go:14
↓ 41 callers
Function
sovTypes
(x uint64)
proto/tendermint/consensus/types.pb.go:1799
↓ 40 callers
Method
Data
Data returns an original data published.
libs/pubsub/subscription.go:84
↓ 40 callers
Method
Len
Len returns the amount of cached items. Mostly used for testing.
mempool/cat/cache.go:112
↓ 40 callers
Function
ensurePrevote
(voteCh <-chan cmtpubsub.Message, height int64, round int32)
consensus/common_test.go:674
↓ 39 callers
Method
Has
(net.Conn)
p2p/conn_set.go:11
↓ 39 callers
Function
NewBlockStore
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 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/consensus/types.pb.go:1498
next →
1–100 of 10,505, ranked by callers