MCPcopy Create free account

hub / github.com/citahub/cita-common / functions

Functions1,873 in github.com/citahub/cita-common

↓ 4 callersFunctionfile_descriptor_proto
()
libproto/src/protos/snapshot.rs:865
↓ 4 callersMethodget_round
(&self)
libproto/src/protos/auth.rs:640
↓ 4 callersMethodget_unknown_fields
(&self)
libproto/src/protos/snapshot.rs:268
↓ 4 callersMethodget_unknown_fields
(&self)
libproto/src/protos/compact_block.rs:169
↓ 4 callersMethodget_unknown_fields
(&self)
libproto/src/protos/response.rs:243
↓ 4 callersMethodget_unknown_fields
(&self)
libproto/src/protos/sync.rs:133
↓ 4 callersMethodis_null
(&self)
rlp/src/untrusted_rlp.rs:230
↓ 4 callersMethoditem_count
Returns number of RLP items. ```rust extern crate rlp; use rlp::*; fn main () { let data = vec![0xc8, 0x83, b'c', b'a', b't', 0x83, b'd', b'o', b'g'
rlp/src/rlpin.rs:90
↓ 4 callersFunctionpubkey_to_address
(pubkey: &PubKey)
cita-sm2/src/keypair.rs:23
↓ 4 callersMethodset_block
Param is passed by value, moved
libproto/src/protos/auth.rs:667
↓ 4 callersMethodset_common_quota_limit
Param is passed by value, moved
libproto/src/protos/blockchain.rs:1013
↓ 4 callersMethodset_round
Param is passed by value, moved
libproto/src/protos/auth.rs:648
↓ 4 callersMethodset_signature
Param is passed by value, moved
libproto/src/protos/auth.rs:125
↓ 4 callersMethodset_specific_quota_limit
Param is passed by value, moved
libproto/src/protos/blockchain.rs:1028
↓ 4 callersMethodset_value
Param is passed by value, moved
libproto/src/protos/auth.rs:274
↓ 4 callersMethodtake_block
(&mut self)
libproto/src/autoimpl.rs:425
↓ 3 callersMethodappend_list
Appends list of values to the end of stream, chainable.
rlp/src/stream.rs:87
↓ 3 callersMethodappend_raw
Appends raw (pre-serialised) RLP data. Use with caution. Chainable.
rlp/src/stream.rs:184
↓ 3 callersMethodas_ref
(&self)
libproto/src/protos/response.rs:334
↓ 3 callersMethodas_val
(&self)
rlp/src/untrusted_rlp.rs:263
↓ 3 callersMethodat
(&'view self, index: usize)
rlp/src/untrusted_rlp.rs:199
↓ 3 callersFunctionblake2b_compress
blake2b/src/blake2b.c:151
↓ 3 callersFunctionblake2b_increment_counter
blake2b/src/blake2b.c:70
↓ 3 callersMethodclear
(&mut self)
libproto/src/protos/snapshot.rs:348
↓ 3 callersMethodclear
(&mut self)
libproto/src/protos/response.rs:318
↓ 3 callersMethodcrypt_hash
Calculate crypt HASH of this object.
hashable/src/lib.rs:80
↓ 3 callersFunctiondecode
Shortcut function to decode trusted rlp ```rust extern crate rlp; fn main () { let data = vec![0x83, b'c', b'a', b't']; let animal: String = rlp::de
rlp/src/lib.rs:84
↓ 3 callersMethodenqueue
(&mut self, tx: SignedTransaction)
tx_pool/src/pool.rs:106
↓ 3 callersMethodget_body
(&self)
libproto/src/protos/blockchain.rs:3032
↓ 3 callersMethodget_cached_size
(&self)
libproto/src/protos/auth.rs:458
↓ 3 callersMethodget_hash
(&self)
libproto/src/protos/auth.rs:91
↓ 3 callersMethodget_order
(&mut self)
tx_pool/src/pool.rs:91
↓ 3 callersMethodget_signature
(&self)
libproto/src/protos/auth.rs:117
↓ 3 callersMethodget_transactions_root
(&self)
libproto/src/protos/executor.rs:157
↓ 3 callersMethodis_data
String value ```rust extern crate rlp; use rlp::*; fn main () { let data = vec![0xc8, 0x83, b'c', b'a', b't', 0x83, b'd', b'o', b'g']; let rlp = Rlp
rlp/src/rlpin.rs:192
↓ 3 callersMethodis_list
(&self)
rlp/src/untrusted_rlp.rs:238
↓ 3 callersMethodis_raw_ok
(&self)
libproto/src/autoimpl.rs:286
↓ 3 callersMethodlet_raw_be_ok
(&mut self)
libproto/src/autoimpl.rs:291
↓ 3 callersFunctionmap_rlp
(rlp: &UntrustedRlp, f: F)
rlp/src/compression.rs:61
↓ 3 callersFunctionnew_dummy_signed_ptx
()
jsonrpc-proto/src/transaction.rs:95
↓ 3 callersFunctionpubkey_to_address
(pubkey: &PubKey)
cita-ed25519/src/keypair.rs:24
↓ 3 callersFunctionpubkey_to_address
(pubkey: &PubKey)
cita-secp256k1/src/keypair.rs:24
↓ 3 callersMethodr
(&self)
cita-sm2/src/signature.rs:31
↓ 3 callersFunctionrandom_bytes
(len: usize)
cita-common-benches/src/lib.rs:19
↓ 3 callersMethodrecover
(&self, message: &Message)
cita-sm2/src/signature.rs:232
↓ 3 callersMethodrlp_append
(&self, s: &mut RlpStream)
rlp/src/impls.rs:35
↓ 3 callersMethods
Get a slice into the 's' portion of the data.
cita-secp256k1/src/signature.rs:44
↓ 3 callersMethods
(&self)
cita-sm2/src/signature.rs:36
↓ 3 callersMethodset_chain_id_v1
Param is passed by value, moved
libproto/src/protos/auth.rs:300
↓ 3 callersMethodset_transaction
Param is passed by value, moved
libproto/src/protos/request.rs:1068
↓ 3 callersMethodset_tx_hash
Param is passed by value, moved
libproto/src/protos/auth.rs:166
↓ 3 callersMethodtake_header
Take field
libproto/src/protos/executor.rs:1826
↓ 3 callersMethodtake_proposal
Take field
libproto/src/protos/consensus.rs:859
↓ 2 callersFunctionblake2b_final
blake2b/src/blake2b.c:249
↓ 2 callersFunctionblake2b_init_key
blake2b/src/blake2b.c:117
↓ 2 callersFunctionblake2b_init_param
init xors IV with input parameter block */
blake2b/src/blake2b.c:77
↓ 2 callersFunctioncalculate_payload_info
( header_bytes: &[u8], len_of_len: usize, )
rlp/src/untrusted_rlp.rs:47
↓ 2 callersMethodclear
(&mut self)
libproto/src/protos/sync.rs:193
↓ 2 callersMethodclone
(&self)
cita-sm2/src/signature.rs:148
↓ 2 callersMethodcmp
(&self, b: &TxOrder)
tx_pool/src/pool.rs:56
↓ 2 callersFunctionconstruct_rpcname_from_params_name
Get JSON-RPC name from params name. The params name should be `format!("{}Params", capitalize_first(method_name))`.
jsonrpc-types/internals/src/lib.rs:57
↓ 2 callersFunctiondecode_usize
(bytes: &[u8])
rlp/src/impls.rs:16
↓ 2 callersMethoddescriptor
(&self)
libproto/src/protos/snapshot.rs:286
↓ 2 callersMethoddescriptor
(&self)
libproto/src/protos/blockchain.rs:177
↓ 2 callersFunctionencode
Shortcut function to encode structure into rlp. ```rust extern crate rlp; fn main () { let animal = "cat"; let out = rlp::encode(&animal).into_vec()
rlp/src/lib.rs:111
↓ 2 callersMethodestimate_size
Calculate total RLP size for appended payload.
rlp/src/stream.rs:210
↓ 2 callersFunctionfile_descriptor_proto
()
libproto/src/protos/compact_block.rs:505
↓ 2 callersFunctionfile_descriptor_proto
()
libproto/src/protos/response.rs:2328
↓ 2 callersFunctionfile_descriptor_proto
()
libproto/src/protos/sync.rs:413
↓ 2 callersMethodfrom
(err: serde_json::Error)
jsonrpc-types/src/error.rs:189
↓ 2 callersFunctiongenerate_attrs_list
(attrs_vec: &[syn::Attribute])
jsonrpc-types/internals/src/lib.rs:79
↓ 2 callersMethodget_cached_size
(&self)
libproto/src/protos/snapshot.rs:264
↓ 2 callersMethodget_cached_size
(&self)
libproto/src/protos/response.rs:239
↓ 2 callersMethodget_content
(&self)
libproto/src/protos/blockchain.rs:67
↓ 2 callersMethodget_crypto
(&self)
libproto/src/protos/auth.rs:143
↓ 2 callersMethodget_field_type
(&self)
libproto/src/protos/blockchain.rs:93
↓ 2 callersMethodget_islock
(&self)
libproto/src/protos/consensus.rs:104
↓ 2 callersMethodget_lock_round
(&self)
libproto/src/protos/consensus.rs:119
↓ 2 callersMethodget_signer
(&self)
libproto/src/protos/auth.rs:184
↓ 2 callersMethodget_tx_hashes
(&self)
libproto/src/protos/auth.rs:1187
↓ 2 callersMethodget_unknown_fields
(&self)
libproto/src/protos/communication.rs:1923
↓ 2 callersMethodget_valid
Get a valid RLP corresponding to an invalid one
rlp/src/compression.rs:38
↓ 2 callersMethodget_valid_until_block
(&self)
libproto/src/protos/auth.rs:76
↓ 2 callersMethodinsert_list_payload
Inserts list prefix at given position
rlp/src/stream.rs:365
↓ 2 callersMethodinsert_size
(&mut self, size: usize, position: usize)
rlp/src/stream.rs:353
↓ 2 callersMethodinto
(self)
proof/src/bft_proof.rs:139
↓ 2 callersMethodinto
(self)
cita-sm2/src/signature.rs:160
↓ 2 callersMethodis_data
(&self)
rlp/src/untrusted_rlp.rs:242
↓ 2 callersMethodis_finished
Returns true if stream doesnt expect any more items. ```rust extern crate rlp; use rlp::*; fn main () { let mut stream = RlpStream::new_list(2); str
rlp/src/stream.rs:266
↓ 2 callersMethoditer
(&'view self)
rlp/src/untrusted_rlp.rs:259
↓ 2 callersMethodlower_hex_with_0x
(&self)
cita-types/src/traits.rs:53
↓ 2 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/snapshot.rs:272
↓ 2 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/compact_block.rs:173
↓ 2 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/response.rs:247
↓ 2 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/sync.rs:137
↓ 2 callersMethodpackage
( &mut self, height: u64, block_quota_limit: u64, account_quota_limit: Account
tx_pool/src/pool.rs:153
↓ 2 callersMethodpk
(&self)
cita-ed25519/src/signature.rs:37
↓ 2 callersMethodpubkey
(&self)
cita-ed25519/src/keypair.rs:64
↓ 2 callersMethodr
Get a slice into the 'r' portion of the data.
cita-secp256k1/src/signature.rs:39
↓ 2 callersMethodrecover
(&self, message: &Message)
cita-secp256k1/src/signature.rs:333
← previousnext →101–200 of 1,873, ranked by callers