Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Rust-for-Blockchain-Application-Development
/ functions
Functions
381 in github.com/PacktPublishing/Rust-for-Blockchain-Application-Development
⨍
Functions
381
◇
Types & classes
84
↓ 1 callers
Method
is_miner
(&self)
chapter 5/config.rs:56
↓ 1 callers
Method
load_from_file
(&mut self)
complete_blockchain/src/wallets.rs:131
↓ 1 callers
Method
load_from_file
(&mut self)
chapter 5/wallets.rs:131
↓ 1 callers
Method
lock
(&mut self, address: &str)
complete_blockchain/src/transactions.rs:75
↓ 1 callers
Method
lock
(&mut self, address: &str)
chapter 5/transactions.rs:75
↓ 1 callers
Method
node_is_known
(&self, addr: &str)
chapter 4/node.rs:64
↓ 1 callers
Method
node_is_known
(&self, addr: &str)
complete_blockchain/src/node.rs:64
↓ 1 callers
Function
plus_ten
(a: i32)
chapter 2/code.rs:178
↓ 1 callers
Method
prepare_data
(&self, nonce: i64)
chapter 3/block.rs:123
↓ 1 callers
Method
prepare_data
(&self, nonce: i64)
complete_blockchain/src/block.rs:123
↓ 1 callers
Method
remove
(&self, txid_hex: &str)
chapter 3/req_functions.rs:602
↓ 1 callers
Method
remove
(&self, txid_hex: &str)
complete_blockchain/src/req_functions.rs:602
↓ 1 callers
Function
ripemd160_digest
(data: &[u8])
complete_blockchain/src/utils.rs:25
↓ 1 callers
Function
ripemd160_digest
(data: &[u8])
chapter 5/utilits.rs:25
↓ 1 callers
Method
run
(&self, addr: &str)
chapter 3/req_functions.rs:311
↓ 1 callers
Method
run
(&self, addr: &str)
complete_blockchain/src/req_functions.rs:311
↓ 1 callers
Method
save_to_file
(&self)
complete_blockchain/src/wallets.rs:145
↓ 1 callers
Method
save_to_file
(&self)
chapter 5/wallets.rs:145
↓ 1 callers
Function
send_block
(addr: &str, block: &Block)
chapter 4/server.rs:131
↓ 1 callers
Function
send_block
(addr: &str, block: &Block)
complete_blockchain/src/server.rs:131
↓ 1 callers
Function
send_get_blocks
(addr: &str)
chapter 4/server.rs:168
↓ 1 callers
Function
send_get_blocks
(addr: &str)
complete_blockchain/src/server.rs:168
↓ 1 callers
Method
serialize
(&self)
complete_blockchain/src/transactions.rs:260
↓ 1 callers
Method
serialize
(&self)
chapter 5/transactions.rs:260
↓ 1 callers
Method
set_mining_addr
(&self, addr: String)
complete_blockchain/src/config.rs:41
↓ 1 callers
Method
set_mining_addr
(&self, addr: String)
chapter 5/config.rs:41
↓ 1 callers
Function
test_changes_message
( user: &Account, contract: &Contract, )
chapter 8/NEAR_complete_app/sandbox-rs/src/tests.rs:45
↓ 1 callers
Function
test_default_message
( user: &Account, contract: &Contract, )
chapter 8/NEAR_complete_app/sandbox-rs/src/tests.rs:29
↓ 1 callers
Method
verify
(&self, blockchain: &Blockchain)
chapter 3/req_functions.rs:372
↓ 1 callers
Method
verify
(&self, blockchain: &Blockchain)
complete_blockchain/src/req_functions.rs:372
Method
add
(&self, tx: Transaction)
chapter 3/req_functions.rs:590
Method
add
(&self, tx: Transaction)
complete_blockchain/src/req_functions.rs:590
Method
add_block
(&self, block: &Block)
chapter 3/req_functions.rs:233
Method
add_block
(&self, block: &Block)
complete_blockchain/src/req_functions.rs:233
Method
add_item
The constructor function new() initializes the contract, including the vector of items.
chapter 8/NEAR blockchain.rs:21
Method
add_item
(&mut self, item: String)
chapter 8/foundational elements of NEAR.rs:54
Method
call_contract_b
(&self, account_id: String, amount: u128)
chapter 8/Cross contract calls.rs:7
Method
contains
(&self, txid_hex: &str)
chapter 3/req_functions.rs:586
Method
contains
(&self, txid_hex: &str)
complete_blockchain/src/req_functions.rs:586
Method
contract_metadata
(&self)
chapter 8/NEAR blockchain.rs:30
Method
count_transactions
(&self)
chapter 3/req_functions.rs:519
Method
count_transactions
(&self)
complete_blockchain/src/req_functions.rs:519
Method
create_blockchain
(genesis_address: &str)
chapter 4/blockchain.rs:23
Method
create_blockchain
(genesis_address: &str)
chapter 3/req_functions.rs:78
Method
create_blockchain
(genesis_address: &str)
complete_blockchain/src/req_functions.rs:78
Method
create_blockchain
(genesis_address: &str)
complete_blockchain/src/blockchain.rs:23
Function
create_full_access_key
(&mut self, public_key: PublicKey)
chapter 8/foundational elements of NEAR.rs:14
Function
create_function_call_key
(&mut self, public_key: PublicKey)
chapter 8/foundational elements of NEAR.rs:26
Method
create_game
(&mut self, title: String, grid: Vec<Vec<Option<char>>>)
chapter 8/NEAR project Crossword.rs:29
Function
create_implicit_account
(&mut self, account_id: String)
chapter 8/foundational elements of NEAR.rs:4
Method
deserialize
(bytes: &[u8])
chapter 3/req_functions.rs:27
Method
deserialize
(bytes: &[u8])
chapter 3/block.rs:40
Method
deserialize
(bytes: &[u8])
complete_blockchain/src/transactions.rs:264
Method
deserialize
(bytes: &[u8])
complete_blockchain/src/req_functions.rs:27
Method
deserialize
(bytes: &[u8])
complete_blockchain/src/block.rs:40
Method
deserialize
(bytes: &[u8])
chapter 5/transactions.rs:264
Method
dispatch_bypass_filter
( origin: T::Origin, _call: T::Call, )
chapter 9/parachain transaction type.rs:34
Method
do_something
(&self)
chapter 8/Cross contract calls.rs:19
Method
find_spendable_outputs
( &self, pub_key_hash: &[u8], amount: i32, )
chapter 3/req_functions.rs:469
Method
find_spendable_outputs
( &self, pub_key_hash: &[u8], amount: i32, )
complete_blockchain/src/req_functions.rs:469
Method
find_utxo
( K -> txid_hex, V -> Vec<TXOutput )
chapter 4/blockchain.rs:111
Method
find_utxo
( K -> txid_hex, V -> Vec<TXOutput )
complete_blockchain/src/blockchain.rs:111
Method
first
(&self)
complete_blockchain/src/memory_pool.rs:72
Method
first
(&self)
chapter 5/memory_pool.rs:72
Method
from
(b: Block)
chapter 3/block.rs:89
Method
from
(b: Block)
complete_blockchain/src/block.rs:89
Method
generate_genesis_block
(transaction: &Transaction)
chapter 3/req_functions.rs:37
Method
generate_genesis_block
(transaction: &Transaction)
chapter 3/block.rs:50
Method
generate_genesis_block
(transaction: &Transaction)
complete_blockchain/src/req_functions.rs:37
Method
generate_genesis_block
(transaction: &Transaction)
complete_blockchain/src/block.rs:50
Method
get_account_metadata
Method to retrieve account metadata
chapter 8/foundational elements of NEAR.rs:85
Method
get_addr
(&self)
chapter 3/req_functions.rs:296
Method
get_addr
(&self)
complete_blockchain/src/req_functions.rs:296
Method
get_address
(&self)
chapter 3/req_functions.rs:437
Method
get_address
(&self)
complete_blockchain/src/req_functions.rs:437
Method
get_all
(&self)
chapter 3/req_functions.rs:607
Method
get_all
(&self)
complete_blockchain/src/req_functions.rs:607
Method
get_block
(&self, block_hash: &[u8])
chapter 3/req_functions.rs:266
Method
get_block
(&self, block_hash: &[u8])
complete_blockchain/src/req_functions.rs:266
Method
get_block_hashes
(&self)
chapter 3/req_functions.rs:276
Method
get_block_hashes
(&self)
complete_blockchain/src/req_functions.rs:276
Method
get_blockchain
(&self)
chapter 3/req_functions.rs:464
Method
get_blockchain
(&self)
complete_blockchain/src/req_functions.rs:464
Method
get_counter
(&self)
chapter 8/foundational elements of NEAR.rs:106
Method
get_id_bytes
(&self)
chapter 3/req_functions.rs:404
Method
get_id_bytes
(&self)
complete_blockchain/src/req_functions.rs:404
Method
get_items
(&self)
chapter 8/NEAR blockchain.rs:24
Method
get_items
(&self)
chapter 8/foundational elements of NEAR.rs:58
Method
get_pkcs8
(&self)
chapter 3/req_functions.rs:452
Method
get_pkcs8
(&self)
complete_blockchain/src/req_functions.rs:452
Method
get_pre_block_hash
(&self)
chapter 3/req_functions.rs:54
Method
get_pre_block_hash
(&self)
complete_blockchain/src/req_functions.rs:54
Method
get_public_key
(&self)
chapter 3/req_functions.rs:448
Method
get_public_key
(&self)
complete_blockchain/src/req_functions.rs:448
Method
get_timestamp
(&self)
chapter 3/req_functions.rs:66
Method
get_timestamp
(&self)
complete_blockchain/src/req_functions.rs:66
Method
get_user
(&self, user_id: AccountId)
chapter 8/State and data structures.rs:32
Method
hash
(&mut self)
chapter 3/req_functions.rs:395
Method
hash
(&mut self)
complete_blockchain/src/req_functions.rs:395
Method
hash_transactions
(&self)
chapter 3/req_functions.rs:42
← previous
next →
201–300 of 381, ranked by callers