forked from WikiDeck/wikideck
- scripts/build-randomx-android.sh: NDK cross-build of the pinned native/ engine (light mode) for arm64-v8a and x86_64, packaged as jniLibs/<abi>/libwikideck_randomx.so - MinerPlugin.java (Capacitor "WikiDeckMiner"): runs engine processes over the line protocol, on-device self-test, and halts on background, battery saver, thermal, hot or low battery. Never receives wallet keys. - src/mobile-miner.ts: template -> mine -> sign -> submit loop in the WebView, byte-identical to consensus miningBlob/mintId (tests/mobile-mining-miner.test.ts) - src/MobileMiningPanel.tsx: consent, intensity (1 thread default; Max = 4 only while charging), live hashrate/status; testnet-only (disabled on mainnet builds) - docs/night2/MOBILE_MINING.md: how it works, safeguards, measured hashrate, store policies (sideload APK only), options for Eric No protocol, consensus or server changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
35 lines
443 B
Plaintext
35 lines
443 B
Plaintext
node_modules/
|
|
dist/
|
|
data/
|
|
native/build/
|
|
*.wallet.json
|
|
.env
|
|
*.log# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
pnpm-debug.log*
|
|
lerna-debug.log*
|
|
|
|
node_modules
|
|
dist
|
|
dist-ssr
|
|
*.local
|
|
|
|
# Editor directories and files
|
|
.vscode/*
|
|
!.vscode/extensions.json
|
|
.idea
|
|
.DS_Store
|
|
*.suo
|
|
*.ntvs*
|
|
*.njsproj
|
|
*.sln
|
|
*.sw?
|
|
|
|
# Native RandomX engine for the app (scripts/build-randomx-android.sh)
|
|
native/build-android-*/
|
|
android/app/src/main/jniLibs/
|