Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/citahub/cita-common
/ functions
Functions
1,873 in github.com/citahub/cita-common
⨍
Functions
1,873
◇
Types & classes
208
↓ 2 callers
Function
run_decode_tests_list
(tests: Vec<VDTestPair<T>>)
rlp/tests/tests.rs:248
↓ 2 callers
Function
run_encode_tests_list
(tests: Vec<VETestPair<T>>)
rlp/tests/tests.rs:99
↓ 2 callers
Method
set_address
Param is passed by value, moved
libproto/src/protos/request.rs:371
↓ 2 callers
Method
set_block_number
Param is passed by value, moved
libproto/src/protos/request.rs:945
↓ 2 callers
Method
set_body
Param is passed by value, moved
libproto/src/protos/blockchain.rs:3044
↓ 2 callers
Method
set_chain_id
Param is passed by value, moved
libproto/src/protos/auth.rs:244
↓ 2 callers
Method
set_compressed
(&mut self, c: bool)
libproto/src/autoimpl.rs:330
↓ 2 callers
Method
set_crypto
Param is passed by value, moved
libproto/src/protos/auth.rs:151
↓ 2 callers
Method
set_from
Param is passed by value, moved
libproto/src/protos/request.rs:77
↓ 2 callers
Method
set_header
Param is passed by value, moved
libproto/src/protos/executor.rs:1812
↓ 2 callers
Method
set_islock
Param is passed by value, moved
libproto/src/protos/consensus.rs:112
↓ 2 callers
Method
set_lock_round
Param is passed by value, moved
libproto/src/protos/consensus.rs:127
↓ 2 callers
Method
set_lock_votes
Param is passed by value, moved
libproto/src/protos/consensus.rs:142
↓ 2 callers
Method
set_operate
(&mut self, ot: OperateType)
libproto/src/autoimpl.rs:298
↓ 2 callers
Method
set_origin
(&mut self, o: Origin)
libproto/src/autoimpl.rs:311
↓ 2 callers
Method
set_pass
Param is passed by value, moved
libproto/src/protos/auth.rs:918
↓ 2 callers
Method
set_position
Param is passed by value, moved
libproto/src/protos/request.rs:397
↓ 2 callers
Method
set_proposal
Param is passed by value, moved
libproto/src/protos/consensus.rs:848
↓ 2 callers
Method
set_signer
Param is passed by value, moved
libproto/src/protos/auth.rs:192
↓ 2 callers
Method
set_to_v1
Param is passed by value, moved
libproto/src/protos/blockchain.rs:1775
↓ 2 callers
Method
set_transaction_with_sig
Param is passed by value, moved
libproto/src/protos/blockchain.rs:2384
↓ 2 callers
Method
set_un_tx
Param is passed by value, moved
libproto/src/protos/request.rs:1610
↓ 2 callers
Method
sig
(&self)
cita-ed25519/src/signature.rs:33
↓ 2 callers
Method
sign
(privkey: &Self::PrivKey, message: &Self::Message)
cita-sm2/src/signature.rs:215
↓ 2 callers
Function
simple_compress
Replace common RLPs with invalid shorter ones.
rlp/src/compression.rs:83
↓ 2 callers
Method
take_body
Take field
libproto/src/protos/blockchain.rs:3058
↓ 2 callers
Method
take_lock_votes
Take field
libproto/src/protos/consensus.rs:152
↓ 2 callers
Method
take_raw_bytes
Generate MSG-PROTOS methods automatically begin:
libproto/src/autoimpl.rs:377
↓ 2 callers
Method
take_signature
Take field
libproto/src/protos/auth.rs:136
↓ 2 callers
Method
take_transaction_with_sig
Take field
libproto/src/protos/blockchain.rs:2398
↓ 2 callers
Method
take_transactions
Take field
libproto/src/protos/blockchain.rs:2656
↓ 2 callers
Method
transaction_hashes
(&self)
libproto/src/lib.rs:341
↓ 2 callers
Method
transactions_root
(&self)
libproto/src/lib.rs:348
↓ 2 callers
Method
update_order_set
(&mut self, hash_list: &HashSet<H256>)
tx_pool/src/pool.rs:123
↓ 2 callers
Method
value
(&self)
libproto/src/protos/snapshot.rs:665
↓ 2 callers
Method
value
(&self)
libproto/src/protos/blockchain.rs:4350
↓ 1 callers
Method
address
(&self)
cita-ed25519/src/keypair.rs:68
↓ 1 callers
Method
address
(&self)
cita-secp256k1/src/keypair.rs:82
↓ 1 callers
Method
address
(&self)
cita-sm2/src/keypair.rs:73
↓ 1 callers
Method
append_raw_checked
Appends raw (pre-serialised) RLP data. Checks for size oveflow.
rlp/src/stream.rs:196
↓ 1 callers
Method
as_list
(&self)
rlp/src/untrusted_rlp.rs:270
↓ 1 callers
Method
as_raw
(&'view self)
rlp/src/untrusted_rlp.rs:149
↓ 1 callers
Method
begin_unbounded_list
Declare appending the list of unknown size, chainable.
rlp/src/stream.rs:148
↓ 1 callers
Function
blake2b_init
Some sort of default parameter block initialization, for sequential blake2b */
blake2b/src/blake2b.c:95
↓ 1 callers
Function
blake2b_is_lastblock
blake2b/src/blake2b.c:58
↓ 1 callers
Function
blake2b_set_lastblock
blake2b/src/blake2b.c:63
↓ 1 callers
Function
blake2b_set_lastnode
Some helper functions */
blake2b/src/blake2b.c:53
↓ 1 callers
Method
build_unverified
Build UnverifiedTransaction
libproto/src/lib.rs:91
↓ 1 callers
Method
call
(&self, param: P)
cita-web3/src/api/cita.rs:43
↓ 1 callers
Function
cita_compress_to
(input: &[u8], output: &mut Vec<u8>)
snappy/src/lib.rs:173
↓ 1 callers
Function
cita_decompress_to
(input: &[u8], output: &mut Vec<u8>)
snappy/src/lib.rs:181
↓ 1 callers
Function
clean_0x
(s: &str)
cita-types/src/lib.rs:54
↓ 1 callers
Method
clone
(&self)
cita-ed25519/src/signature.rs:137
↓ 1 callers
Method
clone
(&self)
cita-secp256k1/src/signature.rs:185
↓ 1 callers
Method
code
Returns integer code value
jsonrpc-types/src/error.rs:41
↓ 1 callers
Method
complete
(self)
jsonrpc-proto/src/complete.rs:40
↓ 1 callers
Method
complete
(mut self, stxs: Vec<SignedTransaction>)
libproto/src/lib.rs:265
↓ 1 callers
Method
complete_unbounded_list
Finalize current ubnbound list. Panics if no unbounded list has been opened.
rlp/src/stream.rs:331
↓ 1 callers
Function
compress_to
Compress a buffer using snappy, write the result append to the given output buffer, growing it if necessary. Returns the length of the compressed data
snappy/src/lib.rs:100
↓ 1 callers
Method
consume_list_payload
consumes first found prefix
rlp/src/untrusted_rlp.rs:296
↓ 1 callers
Method
crypt_hash_into
(&self, dest: &mut [u8])
hashable/src/lib.rs:95
↓ 1 callers
Method
cull
(&self, txs: &[H256])
tx_pool/src/pool.rs:232
↓ 1 callers
Function
decode_list
(bytes: &[u8])
rlp/src/lib.rs:92
↓ 1 callers
Function
decompress_to
Decompress a buffer using snappy, write the result append to the given output buffer, growing it if necessary. Returns the length of the decompressed
snappy/src/lib.rs:134
↓ 1 callers
Function
deep_decompress
Recover valid RLP from a compressed form, None if no decompression achieved. Tries to decompress compressed data insides.
rlp/src/compression.rs:112
↓ 1 callers
Method
description
Returns human-readable description
jsonrpc-types/src/error.rs:53
↓ 1 callers
Method
descriptor
(&self)
libproto/src/protos/request.rs:260
↓ 1 callers
Method
descriptor
(&self)
libproto/src/protos/executor.rs:448
↓ 1 callers
Function
deserialize
()
jsonrpc-types/src/rpc_types/basic/boolean.rs:91
↓ 1 callers
Function
encode_list
(object: &[K])
rlp/src/lib.rs:120
↓ 1 callers
Function
file_descriptor_proto
()
libproto/src/protos/communication.rs:2270
↓ 1 callers
Method
from
Create a new object from the given bytes RLP. The bytes
rlp/src/untrusted_rlp.rs:78
↓ 1 callers
Method
get_block
(&self)
libproto/src/protos/auth.rs:655
↓ 1 callers
Method
get_cached_size
(&self)
libproto/src/protos/compact_block.rs:165
↓ 1 callers
Method
get_cached_size
(&self)
libproto/src/protos/sync.rs:129
↓ 1 callers
Method
get_chain_id
(&self)
libproto/src/protos/auth.rs:236
↓ 1 callers
Method
get_chain_id_v1
(&self)
libproto/src/protos/auth.rs:292
↓ 1 callers
Method
get_code
(&self)
libproto/src/protos/request.rs:1345
↓ 1 callers
Function
get_commit_id
Get the commit ID of this repository
util/src/build_info.rs:23
↓ 1 callers
Method
get_common_quota_limit
(&self)
libproto/src/protos/blockchain.rs:1005
↓ 1 callers
Method
get_compressed
(&self)
libproto/src/autoimpl.rs:336
↓ 1 callers
Method
get_invalid
Get an invalid RLP corresponding to a valid one
rlp/src/compression.rs:42
↓ 1 callers
Method
get_nonce
(&self)
libproto/src/protos/auth.rs:210
↓ 1 callers
Method
get_order_by_priority
(&mut self, _tx: &SignedTransaction)
tx_pool/src/pool.rs:98
↓ 1 callers
Method
get_order_by_vip
(&mut self, _tx: &SignedTransaction)
tx_pool/src/pool.rs:102
↓ 1 callers
Method
get_prevhash
(&self)
libproto/src/protos/executor.rs:75
↓ 1 callers
Method
get_proposer
(&self)
libproto/src/protos/executor.rs:265
↓ 1 callers
Method
get_quota
(&self)
libproto/src/protos/auth.rs:251
↓ 1 callers
Method
get_quota_used
(&self)
libproto/src/protos/executor.rs:235
↓ 1 callers
Method
get_receipts_root
(&self)
libproto/src/protos/executor.rs:183
↓ 1 callers
Method
get_specific_quota_limit
(&self)
libproto/src/protos/blockchain.rs:1020
↓ 1 callers
Method
get_state_root
(&self)
libproto/src/protos/executor.rs:131
↓ 1 callers
Method
get_to
(&self)
libproto/src/protos/request.rs:95
↓ 1 callers
Method
get_to_v1
(&self)
libproto/src/protos/blockchain.rs:1767
↓ 1 callers
Method
get_transactions
(&self)
libproto/src/protos/blockchain.rs:2638
↓ 1 callers
Method
get_value
(&self)
libproto/src/protos/auth.rs:266
↓ 1 callers
Method
has_BlackList
(&self)
libproto/src/protos/communication.rs:1135
↓ 1 callers
Method
has_Block
(&self)
libproto/src/protos/communication.rs:498
↓ 1 callers
Method
has_BlockHeader
(&self)
libproto/src/protos/communication.rs:596
↓ 1 callers
Method
has_BlockTxHashes
(&self)
libproto/src/protos/communication.rs:694
← previous
next →
201–300 of 1,873, ranked by callers