Commit Graph

223 Commits

Author SHA1 Message Date
6a178c8d08 add optional height param to clear command for rescan-from-height
Some checks failed
Rust / Build on macOS-latest (push) Has been cancelled
Rust / Build on ubuntu-16.04 (push) Has been cancelled
Rust / Build on windows-latest (push) Has been cancelled
Rust / Linux ARMv7 (push) Has been cancelled
Rust / Linux ARM64 (push) Has been cancelled
Rust / Build on ubuntu-latest (push) Has been cancelled
2026-03-22 11:23:40 -05:00
b780587d26 Fix change detection: handle empty memo correctly
Some checks failed
Rust / Build on macOS-latest (push) Has been cancelled
Rust / Build on ubuntu-16.04 (push) Has been cancelled
Rust / Build on windows-latest (push) Has been cancelled
Rust / Linux ARMv7 (push) Has been cancelled
Rust / Linux ARM64 (push) Has been cancelled
Rust / Build on ubuntu-latest (push) Has been cancelled
memo.to_utf8() returns Some(Ok("")) for change outputs with all-zero
bytes, not None. The previous check (memo.to_utf8().is_none()) never
filtered change outputs because 0x00 < 0xF5 makes to_utf8() treat it
as valid text. Now properly checks for empty string as well.
2026-03-22 10:30:04 -05:00
ae059a7238 Fix change output detection using IVK instead of static address list
Some checks failed
Rust / Build on macOS-latest (push) Has been cancelled
Rust / Build on ubuntu-16.04 (push) Has been cancelled
Rust / Build on windows-latest (push) Has been cancelled
Rust / Linux ARMv7 (push) Has been cancelled
Rust / Linux ARM64 (push) Has been cancelled
Rust / Build on ubuntu-latest (push) Has been cancelled
- Use try_sapling_note_decryption with IVKs to detect wallet-owned outputs
- Correctly identifies change sent to diversified addresses
- Prevents change outputs from appearing as external recipients in tx history
2026-03-22 09:14:08 -05:00
43966f6aae Add clean shutdown, atomic wallet save, and backup recovery
Some checks failed
Rust / Build on macOS-latest (push) Has been cancelled
Rust / Build on ubuntu-16.04 (push) Has been cancelled
Rust / Build on windows-latest (push) Has been cancelled
Rust / Linux ARMv7 (push) Has been cancelled
Rust / Linux ARM64 (push) Has been cancelled
Rust / Build on ubuntu-latest (push) Has been cancelled
- Add shutdown_flag (AtomicBool) to LightClient for clean thread termination
- Mempool monitor threads check shutdown flag and exit gracefully
- Add pub fn shutdown() method to set the flag
- Atomic wallet save: write to .dat.tmp then rename, preventing corruption on crash
- Create .dat.bak backup before each save
- Auto-recovery on startup: if wallet file missing/corrupted, restore from .bak
2026-03-21 05:38:57 -05:00
a6a80dc224 Crash fixes, reorg handling, and sync performance improvements
Some checks failed
Rust / Build on macOS-latest (push) Has been cancelled
Rust / Build on ubuntu-16.04 (push) Has been cancelled
Rust / Build on windows-latest (push) Has been cancelled
Rust / Linux ARMv7 (push) Has been cancelled
Rust / Linux ARM64 (push) Has been cancelled
Rust / Build on ubuntu-latest (push) Has been cancelled
- Fix FFI panics with catch_unwind and safe CString construction
- Handle poisoned mutex/RwLock after prior panics instead of crashing
- Fix empty block list panics in clear_blocks and invalidate_block
- Reuse Tokio runtime across block fetch batches to reduce overhead
- Add fetch_blocks_with_runtime for caller-managed runtime lifecycle
- Update branding, dependencies, and checkpoints for DragonX
2026-03-21 03:55:18 -05:00
fekt
505fac6b6e Update checkpoints 2024-11-17 22:04:44 -05:00
dan_s
3eaa2fcf93 added checkpoints 2024-11-05 15:43:49 -06:00
dan_s
1906daafbb updated checkpoints 2024-11-05 15:27:30 -06:00
fekt
f9104df308 Update Cargo.toml 2024-04-10 21:34:44 -04:00
fekt
74c901a945 Search/Replace for dragonx 2024-04-10 20:06:11 -04:00
fekt
2425b2b361 Add DRGX checkpoints 2024-04-10 19:52:08 -04:00
fekt
834d569aed Remove HUSH checkpoints 2024-04-10 19:20:36 -04:00
onryo
6476e438d0 Update checkpoints 2024-03-25 02:35:14 +01:00
onryo
5157fe82e8 Change default server 2024-03-24 11:26:39 +00:00
onryo
3acd0ad853 Add new checkpoint 2024-02-10 13:55:33 +01:00
lucretius
efe6727208 merge pr conflict 2024-01-31 18:39:31 +01:00
Duke
97318ca3a4 Do not log birthday to STDOUT 2024-01-29 09:18:49 -08:00
lucretius
00a1af525f hide sensitive data in STDOUT 2024-01-29 18:07:42 +01:00
onryo
767929a59f Update checkpoints 2024-01-27 21:58:40 +01:00
lucretius
81449bcfcd copy pasta is bad, fixed superfluous , 2024-01-24 07:07:39 +01:00
lucretius
1137ccd9a3 fix typo 2024-01-24 07:05:55 +01:00
lucretius
4a954645f1 fix typo 2024-01-24 07:05:09 +01:00
lucretius
c085c16328 rename total_fee to selected_fee, to better reflect the purpose 2024-01-24 07:04:12 +01:00
lucretius
b0740177f3 clean up 2024-01-23 17:10:14 +01:00
lucretius
8be65b967a get the position for incoming mempool txids 2024-01-23 17:04:35 +01:00
lucretius
3634a6bcdd add custom fee 2024-01-23 16:59:54 +01:00
lucretius
d8994eec8e less debug 2024-01-20 19:47:40 +01:00
lucretius
b3e4162f8a add error warning 2024-01-20 16:05:35 +01:00
lucretius
e4658582cb check for version 5 2024-01-20 15:59:30 +01:00
lucretius
8076ee1426 add check for wallet version 2024-01-20 15:43:43 +01:00
lucretius
f97cd7d041 Merge pull request 'pull from hush/dev' (#5) from hush/silentdragonlite-cli:dev into dev
Reviewed-on: https://git.hush.is/lucretius/silentdragonlite-cli/pulls/5
2024-01-20 14:25:49 +00:00
lucretius
568d7b7860 update proto files 2024-01-15 17:46:10 +01:00
Deniod
1f184f55d4 less debug 2024-01-13 22:43:49 +01:00
Deniod
a307f828c9 less debug, handle error if channel is closed 2024-01-13 22:41:02 +01:00
Deniod
60550982e0 less debug 2024-01-13 22:15:31 +01:00
Deniod
c8948af2fc prevent unwrap in get_block_range 2024-01-13 22:12:32 +01:00
Deniod
feb26dbdfb prevent unwrap in scan_taddress_txids 2024-01-13 21:55:47 +01:00
onryo
4ec78a01b4 Add checkpoints for blocks 1270000 to 1620000 2024-01-06 15:15:23 +01:00
Deniod
35ce90eec9 prevent unwrap(), poisoned data 2023-12-01 08:57:19 +01:00
Duke
2abc091f0f Merge remote-tracking branch 'lucretius/mempool-new' into dev 2023-11-27 09:40:49 -08:00
Deniod
eff5dd7b6d mempool integration 2023-11-27 17:10:14 +01:00
onryo
0181b16fd0 Add checkpoints for blocks 1130000 to 1260000 2023-02-18 00:27:15 +00:00
jahway603
2df336c206 addressing Issue #15 about build warnings 2022-12-08 21:12:12 -05:00
fekt
f48967342b Update checkpoints 2022-11-03 17:02:00 -04:00
Duke Leto
0961725d75 Do not log zaddrs or txids to reduce metadata leakage on disk 2022-02-22 09:46:43 -05:00
Duke Leto
ef477f152e Add checkpoints for blocks 300k to 840k 2022-02-16 11:03:38 -05:00
Duke Leto
36d5734f9b Merge branch 'master' of https://git.hush.is/hush/silentdragonlite-cli 2021-05-01 11:43:07 -04:00
Duke Leto
408a2ad423 Update server 2021-05-01 11:41:42 -04:00
jahway603
43108f7f80 updated links to git.hush.is 2021-02-18 22:11:53 -05:00
DenioD
8535a11e37 fix command 2020-10-01 20:40:16 +02:00