Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeAI-Artist/Linkis
/ functions
Functions
9,565 in github.com/DeAI-Artist/Linkis
⨍
Functions
9,565
◇
Types & classes
1,236
↓ 1,092 callers
Method
Equal
(interface{})
proto/tendermint/crypto/keys.pb.go:70
↓ 908 callers
Method
Error
(msg string, keyvals ...interface{})
libs/log/logger.go:13
↓ 463 callers
Method
Unlock
Unlock unlocks the mempool.
mempool/mempool.go:57
↓ 455 callers
Method
Get
(string)
p2p/peer.go:49
↓ 448 callers
Method
Lock
Lock locks the mempool. The consensus must be able to hold lock to safely update.
mempool/mempool.go:54
↓ 367 callers
Method
Info
(msg string, keyvals ...interface{})
libs/os/os.go:15
↓ 296 callers
Method
Debug
(msg string, keyvals ...interface{})
libs/log/logger.go:11
↓ 238 callers
Method
With
(keyvals ...interface{})
libs/log/logger.go:15
↓ 228 callers
Method
Error
()
proxy/app_conn.go:37
↓ 222 callers
Method
Hash
()
libs/log/lazy.go:30
↓ 218 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
↓ 213 callers
Method
Start
service methods
consensus/wal.go:66
↓ 179 callers
Method
Add
Add adds the peer to the PeerSet. It returns an error carrying the reason, if the peer is already present.
p2p/peer_set.go:43
↓ 178 callers
Method
Stop
()
consensus/wal.go:67
↓ 170 callers
Method
Address
()
crypto/crypto.go:23
↓ 166 callers
Method
Close
Close closes the connection with the database
state/store.go:78
↓ 165 callers
Method
ID
()
p2p/peer.go:27
↓ 156 callers
Method
Marshal
()
abci/types/types.pb.go:6219
↓ 153 callers
Method
String
height of the infraction
types/evidence.go:27
↓ 152 callers
Method
Run
([][]byte)
crypto/merkle/proof_op.go:22
↓ 149 callers
Function
sovTypes
(x uint64)
abci/types/types.pb.go:7810
↓ 146 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
abci/types/types.pb.go:6584
↓ 141 callers
Function
hash
(s string)
light/helpers_test.go:243
↓ 135 callers
Method
Set
(string, interface{})
p2p/peer.go:48
↓ 115 callers
Method
SetLogger
SetLogger sets a logger.
libs/service/service.go:52
↓ 110 callers
Method
Unmarshal
(dAtA []byte)
abci/types/types.pb.go:13421
↓ 109 callers
Method
Header
(header *Header)
types/protobuf.go:35
↓ 107 callers
Method
Add
(rule pegRule, begin, end, depth uint32, index int)
libs/pubsub/query/query.peg.go:318
↓ 107 callers
Method
Get
Get returns the transaction specified by hash or nil if the transaction is not indexed or stored.
state/txindex/indexer.go:25
↓ 106 callers
Function
GenPrivKey
GenPrivKey generates a new ed25519 private key. It uses OS randomness in conjunction with the current global random seed in tendermint/libs/common to
crypto/ed25519/ed25519.go:102
↓ 105 callers
Method
Bytes
()
crypto/crypto.go:24
↓ 99 callers
Method
Write
(WALMessage)
consensus/wal.go:59
↓ 95 callers
Method
GetPubKey
()
types/priv_validator.go:16
↓ 90 callers
Method
IsRunning
Return true if the service is running
libs/service/service.go:43
↓ 90 callers
Method
Peers
()
rpc/core/env.go:69
↓ 90 callers
Method
PubKey
()
crypto/crypto.go:33
↓ 88 callers
Method
Error
()
abci/client/client.go:26
↓ 84 callers
Method
Intn
(n int)
proto/tendermint/types/params.pb.go:882
↓ 84 callers
Method
Stop
Stop will halt further activity on the ticker channel
p2p/trust/ticker.go:16
↓ 84 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:206
↓ 84 callers
Function
subscribe
subscribe subscribes test client to the given query and returns a channel with cap = 1.
consensus/state_test.go:1901
↓ 81 callers
Method
Close
()
p2p/transport.go:78
↓ 81 callers
Method
Hash
bytes which comprise the evidence
types/evidence.go:25
↓ 81 callers
Method
Hash
()
crypto/merkle/types.go:19
↓ 79 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
↓ 78 callers
Method
Done
()
libs/flowrate/io.go:19
↓ 74 callers
Method
Copy
()
crypto/merkle/types.go:22
↓ 70 callers
Method
Cleanup
Cleanup any resources associated with Peer.
p2p/transport.go:72
↓ 69 callers
Function
makeBlockPool
Makes a block pool with specified current height, list of peers, block requests and block responses
blockchain/v1/pool_test.go:63
↓ 68 callers
Method
Add
Add adds a chunk to the queue. It ignores chunks that already exist, returning false.
statesync/chunks.go:63
↓ 67 callers
Function
signAddVotes
( to *State, voteType tmproto.SignedMsgType, hash []byte, header types.PartSetHeader, vss ...*validatorSt
consensus/common_test.go:236
↓ 66 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:140
↓ 65 callers
Method
Log
(keyvals ...interface{})
libs/log/tmfmt_logger.go:50
↓ 65 callers
Function
Sum
Sum returns the SHA256 of the bz.
crypto/tmhash/hash.go:19
↓ 65 callers
Method
ValidateBasic
time of the infraction
types/evidence.go:29
↓ 63 callers
Method
Size
()
proto/tendermint/p2p/conn.pb.go:203
↓ 62 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:70
↓ 61 callers
Method
Size
()
abci/types/types.pb.go:219
↓ 60 callers
Method
Quit
Quit returns a channel, which is closed once service is stopped.
libs/service/service.go:46
↓ 59 callers
Method
MarshalToSizedBuffer
(dAtA []byte)
abci/types/types.pb.go:6234
↓ 59 callers
Method
Wait
()
consensus/wal.go:68
↓ 58 callers
Function
sovTypes
(x uint64)
proto/tendermint/types/types.pb.go:2176
↓ 57 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
↓ 57 callers
Method
String
()
libs/pubsub/pubsub.go:72
↓ 57 callers
Function
ensureNewRound
(roundCh <-chan tmpubsub.Message, height int64, round int32)
consensus/common_test.go:540
↓ 56 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/types/types.pb.go:1862
↓ 55 callers
Function
CRandBytes
This only uses the OS's randomness
crypto/random.go:20
↓ 55 callers
Method
Out
()
types/event_bus.go:25
↓ 53 callers
Method
GetRoundState
GetRoundState returns a shallow copy of the internal consensus state.
consensus/state.go:236
↓ 50 callers
Function
NewLocalClientCreator
NewLocalClientCreator returns a ClientCreator for the given app, which will be running locally.
proxy/client.go:32
↓ 49 callers
Method
Len
()
libs/clist/clist.go:253
↓ 48 callers
Method
Size
()
p2p/peer_set.go:15
↓ 48 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:316
↓ 45 callers
Method
Key
()
types/tx.go:33
↓ 45 callers
Function
NewBitArray
NewBitArray returns a new bit array. It returns nil if the number of bits is zero.
libs/bits/bit_array.go:24
↓ 44 callers
Method
GetByAddress
(address []byte)
types/vote_set.go:394
↓ 44 callers
Function
skipTypes
(dAtA []byte)
abci/types/types.pb.go:14486
↓ 43 callers
Method
Bytes
forms individual evidence to be sent to the application
types/evidence.go:24
↓ 43 callers
Method
GetProposer
GetProposer returns the current proposer. If the validator set is empty, nil is returned.
types/validator_set.go:325
↓ 42 callers
Method
DBDir
DBDir returns the full path to the database directory
config/config.go:290
↓ 42 callers
Method
GenSignedHeader
GenSignedHeader calls genHeader and signHeader and combines them into a SignedHeader.
light/helpers_test.go:145
↓ 42 callers
Method
Type
()
crypto/crypto.go:27
↓ 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
AddReactor
--------------------------------------------------------------------- Switch setup AddReactor adds the given reactor to the switch. NOTE: Not goroutin
p2p/switch.go:163
↓ 40 callers
Method
Call
(ctx context.Context, method string, params map[string]interface{}, result interface{})
rpc/jsonrpc/client/http_json_client.go:115
↓ 40 callers
Function
NewApplication
(dbDir string)
abci/example/kvstore/kvstore.go:84
↓ 40 callers
Method
Str
Str constructs a random alphanumeric string of given length.
libs/rand/random.go:151
↓ 40 callers
Function
ensurePrevote
(voteCh <-chan tmpubsub.Message, height int64, round int32)
consensus/common_test.go:655
↓ 39 callers
Method
Context
Context returns the connection's context.
rpc/jsonrpc/types/types.go:260
↓ 39 callers
Function
NewBaseService
NewBaseService creates a new BaseService.
libs/service/service.go:109
↓ 39 callers
Method
Size
()
proto/tendermint/types/evidence.pb.go:73
↓ 39 callers
Function
encodeVarintTypes
(dAtA []byte, offset int, v uint64)
proto/tendermint/consensus/types.pb.go:1498
↓ 38 callers
Method
Remove
(net.Conn)
p2p/conn_set.go:14
↓ 38 callers
Method
Size
Size returns the number of transactions in the mempool.
mempool/mempool.go:95
↓ 37 callers
Function
NewClient
NewClient returns a new light client. It returns an error if it fails to obtain the light block from the primary or they are invalid (e.g. trust hash
light/client.go:174
↓ 37 callers
Method
Save
Save overwrites the previous state with the updated one
state/store.go:70
↓ 37 callers
Method
SignVote
(chainID string, vote *tmproto.Vote)
types/priv_validator.go:18
↓ 37 callers
Method
ValidateBasic
()
consensus/reactor.go:1508
↓ 37 callers
Function
sStatusEv
(current, expected string, peerID p2p.ID, height int64, err error)
blockchain/v1/reactor_fsm_test.go:105
next →
1–100 of 9,565, ranked by callers