- Fix Rust FFI panics with catch_unwind wrappers and safe CString handling - Handle poisoned mutex/RwLock from prior panics instead of crashing - Add stuck sync detection (10s stall threshold) and chain reorg user prompt - Add "Skip Verification" button to seed phrase wizard - Update payment URIs from hush: to drgx: - Update branding strings throughout UI - Add all 6 lite servers (lite, lite1-5.dragonx.is) with random selection - Add server connectivity probing to skip unreachable servers - Reuse Tokio runtime across block fetch batches to reduce sync overhead - Update Cargo.lock dependencies
28 lines
784 B
Makefile
28 lines
784 B
Makefile
ifeq ($(shell uname),Darwin)
|
|
EXT := dylib
|
|
CFLAGS := "-mmacosx-version-min=10.11"
|
|
else
|
|
EXT := a
|
|
CFLAGS := ""
|
|
endif
|
|
|
|
PWD := $(shell pwd)
|
|
|
|
all: release
|
|
|
|
winrelease: target/x86_64-pc-windows-gnu/release/silentdragonxlite.lib
|
|
|
|
target/x86_64-pc-windows-gnu/release/silentdragonxlite.lib: src/lib.rs Cargo.toml
|
|
SODIUM_LIB_DIR="$(PWD)/libsodium-mingw/" cargo build --lib --release --target x86_64-pc-windows-gnu
|
|
|
|
release: target/release/silentdragonxlite.$(EXT)
|
|
debug: target/debug/silentdragonxlite.$(EXT)
|
|
|
|
target/release/silentdragonxlite.$(EXT): src/lib.rs Cargo.toml
|
|
LIBS="" CFLAGS=$(CFLAGS) cargo build --lib --release
|
|
|
|
target/debug/silentdragonxlite.$(EXT): src/lib.rs Cargo.toml
|
|
LIBS="" CFLAGS=$(CFLAGS) cargo build --lib
|
|
|
|
clean:
|
|
rm -rf target
|