MCPcopy Create free account

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

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

↓ 178 callersMethodget
(&self, hash: &H256)
tx_pool/src/pool.rs:149
↓ 121 callersMethodis_empty
Contains a zero-length string or zero-length list. ```rust extern crate rlp; use rlp::*; fn main () { let data = vec![0xc0]; let rlp = Rlp::new(&dat
rlp/src/rlpin.rs:160
↓ 58 callersMethodlen
(&self)
tx_pool/src/pool.rs:285
↓ 51 callersMethodinto
(self)
jsonrpc-types/src/rpc_request/request.rs:77
↓ 48 callersMethodclone
(&self)
rlp/src/untrusted_rlp.rs:110
↓ 37 callersMethoditer
Get iterator over rlp-slices ```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:225
↓ 34 callersMethodclear
(&mut self)
libproto/src/protos/blockchain.rs:224
↓ 32 callersMethodas_ref
(&self)
libproto/src/protos/auth.rs:595
↓ 32 callersMethodget_unknown_fields
(&self)
libproto/src/protos/blockchain.rs:159
↓ 32 callersMethodtake_content
(&mut self)
libproto/src/autoimpl.rs:74
↓ 30 callersMethodas_ref
(&self)
libproto/src/protos/blockchain.rs:238
↓ 27 callersFunctioncreate_request
()
jsonrpc-proto/src/request/params.rs:30
↓ 26 callersMethodset_result
(mut self, reuslt: ResponseResult)
jsonrpc-types/src/rpc_response/response.rs:48
↓ 25 callersMethodclear
(&mut self)
libproto/src/protos/executor.rs:535
↓ 25 callersMethodget_cached_size
(&self)
libproto/src/protos/communication.rs:1919
↓ 25 callersMethodoutput
(self)
jsonrpc-types/src/rpc_response/response.rs:53
↓ 23 callersMethodinto
(self)
proof/src/lib.rs:47
↓ 23 callersMethodinto_iter
(self)
rlp/src/rlpin.rs:276
↓ 21 callersMethodas_ref
(&self)
libproto/src/protos/executor.rs:557
↓ 20 callersMethodcrypt_hash
(&self)
libproto/src/lib.rs:132
↓ 18 callersMethodat
Get view onto RLP-slice at index. Caches offset to given index, so access to successive slices is faster. ```rust extern crate rlp; use rlp::*; fn
rlp/src/rlpin.rs:128
↓ 18 callersFunctionfile_descriptor_proto
()
libproto/src/protos/blockchain.rs:4736
↓ 18 callersMethodget_unknown_fields
(&self)
libproto/src/protos/executor.rs:430
↓ 18 callersMethodinto
(self)
cita-secp256k1/src/signature.rs:197
↓ 16 callersMethodget_transaction
(&self)
libproto/src/protos/request.rs:1050
↓ 16 callersFunctionload64
blake2b/src/blake2-impl.h:48
↓ 16 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/blockchain.rs:163
↓ 16 callersFunctionsign
(privkey: &PrivKey, message: &Message)
cita-secp256k1/src/signature.rs:246
↓ 16 callersMethodtry_into
(self)
libproto/src/autoimpl.rs:571
↓ 15 callersMethodprivkey
(&self)
cita-sm2/src/keypair.rs:65
↓ 14 callersMethodencoder
(&mut self)
rlp/src/stream.rs:317
↓ 14 callersMethodget_unknown_fields
(&self)
libproto/src/protos/auth.rs:462
↓ 13 callersMethodappend
Appends value to the end of stream, chainable. ```rust extern crate rlp; use rlp::*; fn main () { let mut stream = RlpStream::new_list(2); stream.ap
rlp/src/stream.rs:74
↓ 13 callersMethodbegin_list
Declare appending the list of given size, chainable. ```rust extern crate rlp; use rlp::*; fn main () { let mut stream = RlpStream::new_list(2); str
rlp/src/stream.rs:123
↓ 13 callersMethodclear
(&mut self)
libproto/src/protos/auth.rs:572
↓ 13 callersMethodlen
(&self)
jsonrpc-types/src/rpc_types/specs/params.rs:47
↓ 12 callersMethodas_ref
(&self)
libproto/src/protos/consensus.rs:411
↓ 12 callersMethodclear
(&mut self)
libproto/src/protos/request.rs:317
↓ 12 callersFunctiondeserialize
()
jsonrpc-types/src/rpc_types/block_number.rs:75
↓ 12 callersMethodencode_value
Pushes encoded value to the end of buffer
rlp/src/stream.rs:379
↓ 12 callersMethodinto
(self)
jsonrpc-types/src/rpc_types/basic/boolean.rs:70
↓ 11 callersMethodclear
(&mut self)
libproto/src/protos/consensus.rs:393
↓ 11 callersMethodget_cached_size
(&self)
libproto/src/protos/blockchain.rs:155
↓ 10 callersMethodas_raw
The raw data of the RLP as slice. ```rust extern crate rlp; use rlp::*; fn main () { let data = vec![0xc8, 0x83, b'c', b'a', b't', 0x83, b'd', b'o',
rlp/src/rlpin.rs:57
↓ 10 callersFunctionfile_descriptor_proto
()
libproto/src/protos/executor.rs:3027
↓ 10 callersFunctiongenerate_tx
( data: Vec<u8>, valid_until_block: u64, privkey: &PrivKey, version: u32,
tx_pool/src/pool.rs:301
↓ 10 callersMethodget_unknown_fields
(&self)
libproto/src/protos/request.rs:242
↓ 10 callersMethodget_unknown_fields
(&self)
libproto/src/protos/consensus.rs:308
↓ 10 callersMethodset_data
Param is passed by value, moved
libproto/src/protos/request.rs:129
↓ 9 callersMethodas_val
Decode data into an object
rlp/src/rlpin.rs:230
↓ 9 callersMethodget_cached_size
(&self)
libproto/src/protos/executor.rs:426
↓ 9 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/executor.rs:434
↓ 9 callersMethodnext
(&mut self)
rlp/src/rlpin.rs:287
↓ 9 callersMethodset_height
Param is passed by value, moved
libproto/src/protos/auth.rs:633
↓ 8 callersMethodas_list
(&self)
rlp/src/rlpin.rs:237
↓ 8 callersMethoddecode_value
(&self, f: F)
rlp/src/untrusted_rlp.rs:375
↓ 8 callersMethoddecoder
(&self)
rlp/src/untrusted_rlp.rs:291
↓ 8 callersMethodget_height
(&self)
libproto/src/protos/auth.rs:625
↓ 8 callersMethodparse
Parse incoming `Params` into expected types.
jsonrpc-types/src/rpc_types/specs/params.rs:34
↓ 8 callersFunctionrun_decode_tests
(tests: Vec<DTestPair<T>>)
rlp/tests/tests.rs:238
↓ 8 callersMethodset_nonce
Param is passed by value, moved
libproto/src/protos/auth.rs:218
↓ 8 callersMethodset_quota
Param is passed by value, moved
libproto/src/protos/auth.rs:259
↓ 8 callersMethodset_valid_until_block
Param is passed by value, moved
libproto/src/protos/auth.rs:84
↓ 7 callersMethoddrain
Drain the object and return the underlying ElasticArray.
rlp/src/stream.rs:322
↓ 7 callersFunctionfile_descriptor_proto
()
libproto/src/protos/auth.rs:2185
↓ 7 callersFunctionfrom_privkey
()
cita-secp256k1/src/keypair.rs:95
↓ 7 callersMethodget_cached_size
(&self)
libproto/src/protos/request.rs:238
↓ 7 callersMethodget_transaction_with_sig
(&self)
libproto/src/protos/blockchain.rs:2372
↓ 7 callersMethodis_empty
(&self)
jsonrpc-types/src/rpc_types/specs/params.rs:55
↓ 7 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/auth.rs:466
↓ 7 callersFunctionrun_encode_tests
(tests: Vec<ETestPair<T>>)
rlp/tests/tests.rs:85
↓ 7 callersFunctionserialize
()
jsonrpc-types/src/rpc_types/block_number.rs:56
↓ 7 callersMethodset_to
Param is passed by value, moved
libproto/src/protos/request.rs:103
↓ 7 callersMethodsign
Signs the transaction by PrivKey.
libproto/src/lib.rs:76
↓ 6 callersMethodas_ref
(&self)
libproto/src/protos/snapshot.rs:365
↓ 6 callersFunctionconvert_u8_to_char
(u: u8)
cita-types/src/traits.rs:34
↓ 6 callersFunctionfile_descriptor_proto
()
libproto/src/protos/request.rs:3181
↓ 6 callersMethodget_cached_size
(&self)
libproto/src/protos/consensus.rs:304
↓ 6 callersMethodget_header
(&self)
libproto/src/protos/executor.rs:1800
↓ 6 callersMethodget_tx_hash
(&self)
libproto/src/protos/auth.rs:158
↓ 6 callersMethodprivkey
(&self)
cita-ed25519/src/keypair.rs:60
↓ 6 callersMethodset_content
Param is passed by value, moved
libproto/src/autoimpl.rs:70
↓ 6 callersMethodset_version
Param is passed by value, moved
libproto/src/protos/auth.rs:1309
↓ 6 callersFunctionstore32
blake2b/src/blake2-impl.h:91
↓ 6 callersMethodupdate
(&mut self, txs: &[SignedTransaction])
tx_pool/src/pool.rs:132
↓ 5 callersFunctionblake2b
blake2b/src/blake2b.c:267
↓ 5 callersFunctionfile_descriptor_proto
()
libproto/src/protos/consensus.rs:1597
↓ 5 callersMethodget_version
(&self)
libproto/src/protos/auth.rs:1301
↓ 5 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/request.rs:246
↓ 5 callersMethodmut_unknown_fields
(&mut self)
libproto/src/protos/consensus.rs:312
↓ 5 callersMethodnote_appended
Try to finish lists
rlp/src/stream.rs:288
↓ 5 callersMethodout
Streams out encoded bytes. panic! if stream is not finished.
rlp/src/stream.rs:279
↓ 5 callersMethodpk
(&self)
cita-sm2/src/signature.rs:41
↓ 5 callersMethodprivkey
(&self)
cita-secp256k1/src/keypair.rs:74
↓ 5 callersFunctionto_elastic
(slice: &[u8])
rlp/src/compression.rs:55
↓ 5 callersMethodval_at
Decode data at given list index into an object
rlp/src/rlpin.rs:245
↓ 4 callersFunctionblake2b_update
blake2b/src/blake2b.c:221
↓ 4 callersMethodclear
Clear the output stream so far. ```rust extern crate rlp; use rlp::*; fn main () { let mut stream = RlpStream::new_list(3); stream.append(&"cat"); s
rlp/src/stream.rs:243
↓ 4 callersMethodclear
(&mut self)
libproto/src/protos/compact_block.rs:234
↓ 4 callersMethodcompress
(&self, t: RlpType)
rlp/src/compression.rs:143
next →1–100 of 1,873, ranked by callers