Search/Replace for dragonx
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "silentdragonlitelib"
|
||||
name = "silentdragonxlitelib"
|
||||
version = "0.1.0"
|
||||
edition = "2018"
|
||||
edition = "2024"
|
||||
|
||||
[features]
|
||||
default = ["embed_params"]
|
||||
|
||||
@@ -42,9 +42,9 @@ use crate::ANCHOR_OFFSET;
|
||||
|
||||
mod checkpoints;
|
||||
|
||||
pub const DEFAULT_SERVER: &str = "https://lite.hush.land";
|
||||
pub const WALLET_NAME: &str = "silentdragonlite-wallet.dat";
|
||||
pub const LOGFILE_NAME: &str = "silentdragonlite-wallet.debug.log";
|
||||
pub const DEFAULT_SERVER: &str = "https://lite.dragonx.is";
|
||||
pub const WALLET_NAME: &str = "silentdragonxlite-wallet.dat";
|
||||
pub const LOGFILE_NAME: &str = "silentdragonxlite-wallet.debug.log";
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct WalletStatus {
|
||||
@@ -153,10 +153,10 @@ impl LightClientConfig {
|
||||
} else {
|
||||
if cfg!(target_os="macos") || cfg!(target_os="windows") {
|
||||
zcash_data_location = dirs::data_dir().expect("Couldn't determine app data directory!");
|
||||
zcash_data_location.push("silentdragonlite");
|
||||
zcash_data_location.push("silentdragonxlite");
|
||||
} else {
|
||||
zcash_data_location = dirs::home_dir().expect("Couldn't determine home directory!");
|
||||
zcash_data_location.push(".silentdragonlite");
|
||||
zcash_data_location.push(".silentdragonxlite");
|
||||
};
|
||||
|
||||
match &self.chain_name[..] {
|
||||
|
||||
@@ -2281,10 +2281,10 @@ pub fn scan_full_mempool_tx(&self, tx: &Transaction, height: i32, _datetime: u64
|
||||
let mut builder = Builder::new(height);
|
||||
|
||||
// A note on t addresses
|
||||
// Funds received by t-addresses can't be explicitly spent in silentdragonlite.
|
||||
// silentdragonlite will lazily consolidate all t address funds into your shielded addresses.
|
||||
// Funds received by t-addresses can't be explicitly spent in silentdragonxlite.
|
||||
// silentdragonxlite will lazily consolidate all t address funds into your shielded addresses.
|
||||
// Specifically, if you send an outgoing transaction that is sent to a shielded address,
|
||||
// silentdragonlite will add all your t-address funds into that transaction, and send them to your shielded
|
||||
// silentdragonxlite will add all your t-address funds into that transaction, and send them to your shielded
|
||||
// address as change.
|
||||
let tinputs: Vec<_> = self.get_utxos().iter()
|
||||
.filter(|utxo| utxo.unconfirmed_spent.is_none()) // Remove any unconfirmed spends
|
||||
|
||||
Reference in New Issue
Block a user