From 94005c10cad0250862005e435a0e41d5cf785882 Mon Sep 17 00:00:00 2001 From: Awin Huang Date: Fri, 23 Feb 2024 14:24:25 +0800 Subject: [PATCH] vault backup: 2024-02-23 14:24:25 --- .../Build xmrig with Visual Studio 2022.md | 13 +++++++++++++ 00. Inbox/挖礦.canvas | 19 +++++++------------ 2 files changed, 20 insertions(+), 12 deletions(-) create mode 100644 00. Inbox/Build xmrig with Visual Studio 2022.md diff --git a/00. Inbox/Build xmrig with Visual Studio 2022.md b/00. Inbox/Build xmrig with Visual Studio 2022.md new file mode 100644 index 0000000..75e835c --- /dev/null +++ b/00. Inbox/Build xmrig with Visual Studio 2022.md @@ -0,0 +1,13 @@ +# Set donation to 0 +Open `xmrig/src/donate.h`, set `kDefaultDonateLevel` to 0, and set `kMinimumDonateLevel` to 0. + +# Build +```bash +git clone https://github.com/xmrig/xmrig.git +mkdir xmrig\build && cd xmrig\build +cmake .. -G "Visual Studio 17 2022" -A x64 -DXMRIG_DEPS=c:\xmrig-deps\msvc2019\x64 +cmake --build . --config Release +``` + +# 參考 +- [Windows build - XMRig](https://xmrig.com/docs/miner/build/windows) \ No newline at end of file diff --git a/00. Inbox/挖礦.canvas b/00. Inbox/挖礦.canvas index 208d6a9..eaf3f34 100644 --- a/00. Inbox/挖礦.canvas +++ b/00. Inbox/挖礦.canvas @@ -1,20 +1,15 @@ { "nodes":[ - {"id":"4b0e0bcd013d210d","x":-101,"y":-147,"width":250,"height":60,"type":"text","text":"Ledger 沒辦法建立錢包"}, - {"id":"9bb4b7969d5cf3e8","x":-198,"y":-289,"width":278,"height":89,"type":"text","text":"Windows 11 算力最大化\nhttps://www.youtube.com/watch?v=vUbjxpBc9N8"}, - {"id":"9d207efca8e39cd4","x":-407,"y":58,"width":250,"height":60,"type":"text","text":"Zeph"}, - {"id":"df16bdf6fcca04d8","x":-422,"y":210,"width":321,"height":90,"type":"text","text":"選礦池\nhttps://miningpoolstats.stream/zephyr#"}, - {"id":"906eb929c7a56779","x":-59,"y":210,"width":299,"height":90,"type":"text","text":"查CPU/GPU 算力\nhttps://www.hashrate.no/cpus"}, - {"id":"cbead737c83840bd","x":-580,"y":-117,"width":250,"height":90,"type":"text","text":"錢包\nhttps://wallet.zephyrprotocol.com/"}, - {"id":"c06fb876aad6755a","x":-89,"y":23,"width":250,"height":60,"type":"text","text":"挖礦"}, - {"id":"5fcb7bf001e9d60d","x":240,"y":28,"width":250,"height":60,"type":"text","text":"https://github.com/xmrig/xmrig"}, - {"id":"e96c80e8aad5e6bc","x":-532,"y":360,"width":250,"height":60,"type":"text","text":"教學\nhttps://www.youtube.com/watch?v=Ro8XNMlAtrM"} + {"id":"9d207efca8e39cd4","type":"text","text":"Zephyr","x":-407,"y":58,"width":125,"height":60}, + {"id":"9bb4b7969d5cf3e8","type":"text","text":"Windows 11 算力最大化\nhttps://www.youtube.com/watch?v=vUbjxpBc9N8","x":-858,"y":44,"width":278,"height":89}, + {"id":"c06fb876aad6755a","type":"text","text":"## 挖礦工具\n- [xmrig](https://github.com/xmrig/xmrig)","x":0,"y":-90,"width":180,"height":110}, + {"id":"fa19a71efffddcb1","x":0,"y":58,"width":355,"height":250,"type":"text","text":"## 輔助工具\n### 選礦池\n[zephyr.miningocean.org](https://zephyr.miningocean.org/worker_stats)\n\n### 查CPU/GPU 算力\nhttps://www.hashrate.no/cpus\n"}, + {"id":"cbead737c83840bd","type":"text","text":"## 錢包\n[zephyrprotocol](https://wallet.zephyrprotocol.com/)","x":-441,"y":-180,"width":194,"height":90}, + {"id":"e96c80e8aad5e6bc","type":"text","text":"## 教學\n[# ZEPH挖矿教程 CPU挖矿 全流程讲解 算力低解决方法](https://www.youtube.com/watch?v=Ro8XNMlAtrM)","x":-929,"y":-180,"width":421,"height":92} ], "edges":[ {"id":"fda9bf543a8846de","fromNode":"9d207efca8e39cd4","fromSide":"top","toNode":"cbead737c83840bd","toSide":"bottom"}, {"id":"dea21c3da2418bf6","fromNode":"9d207efca8e39cd4","fromSide":"right","toNode":"c06fb876aad6755a","toSide":"left"}, - {"id":"64891e9a5b751b62","fromNode":"c06fb876aad6755a","fromSide":"right","toNode":"5fcb7bf001e9d60d","toSide":"left"}, - {"id":"187c69a4df06f470","fromNode":"9d207efca8e39cd4","fromSide":"bottom","toNode":"df16bdf6fcca04d8","toSide":"top"}, - {"id":"e235151c8c7d44e8","fromNode":"9d207efca8e39cd4","fromSide":"left","toNode":"e96c80e8aad5e6bc","toSide":"left"} + {"id":"108524e502ec98a1","fromNode":"9d207efca8e39cd4","fromSide":"right","toNode":"fa19a71efffddcb1","toSide":"left"} ] } \ No newline at end of file