SHOWING: First 60
#70,197,896textsource = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "form_urlencoded"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456"
dependencies = [
"percent-encoding",
]
[[package]]
name = "futures"
version = "0.3.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335"
dependencies = [
"futures-channel",
"futures-core",
"futures-executor",
"futures-io",
"futures-sink",
"futures-task",
"futures-util",
]
[[package]]
name = "futures-channel"
version = "0.3.29"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb"
dependencies = [
"futures-core",
"futures-sink",
]
[[package]]
name = "futures-core"
version = "0.3.29"
#44,975,836text Ok(
self
.state()
.hashes
.len()
.saturating_sub(1)
.try_into()
.unwrap(),
)
}
fn get_wallet_info(&self) -> Result<GetWalletInfoResult, jsonrpc_core::Error> {
if let Some(wallet_name) = self.state().loaded_wallets.first().cloned() {
Ok(GetWalletInfoResult {
avoid_reuse: None,
balance: Amount::from_sat(0),
hd_seed_id: None,
immature_balance: Amount::from_sat(0),
keypool_oldest: None,
keypool_size: 0,
keypool_size_hd_internal: 0,
pay_tx_fee: Amount::from_sat(0),
private_keys_enabled: false,
scanning: None,
tx_count: 0,
unconfirmed_balance: Amount::from_sat(0),
unlocked_until: None,
wallet_name,
wallet_version: 0,
})
} else {
Err(Self::not_found())
}
}
fn create_raw_transaction(
&self,
utxos: Vec<CreateRawTransactionInput>,
outs: HashMap<String, f64>,
locktime: Option<i64>,
replaceable: Option<bool>,
#44,975,831text@Astrodawg#18,529,739text