Browse Source

miner.js update

pull/123/head
notgiven688 2 years ago
parent
commit
02cd048b73
4 changed files with 4 additions and 46 deletions
  1. +0
    -42
      SDK/miner_compressed/webmr.js
  2. +1
    -1
      SDK/miner_raw/miner/cn.js
  3. +2
    -2
      SDK/miner_raw/miner/miner.js
  4. +1
    -1
      hash_cn/webassembly/Makefile

+ 0
- 42
SDK/miner_compressed/webmr.js
File diff suppressed because it is too large
View File


+ 1
- 1
SDK/miner_raw/miner/cn.js
File diff suppressed because it is too large
View File


+ 2
- 2
SDK/miner_raw/miner/miner.js View File

@ -165,7 +165,7 @@ function startMiningWithId(loginid, numThreads = -1, userid = "") {
identifier: "handshake",
loginid: loginid,
userid: userid,
version: 5
version: 6
};
startBroadcast(() => { addWorkers(numThreads); reconnector(); });
@ -185,7 +185,7 @@ function startMining(pool, login, password = "", numThreads = -1, userid = "") {
login: login,
password: password,
userid: userid,
version: 5
version: 6
};
startBroadcast(() => { addWorkers(numThreads); reconnector(); });

+ 1
- 1
hash_cn/webassembly/Makefile View File

@ -5,7 +5,7 @@ LIBS = -lm
# the compiled code made with current versions are slower than the
# 1.37.40 reference.
CC = ~/.emcc_wrapper/1.37.40/emscripten/emcc -O3 -s NO_FILESYSTEM=1 -s 'EXTRA_EXPORTED_RUNTIME_METHODS=["ccall", "cwrap"]' --llvm-lto 1 -s TOTAL_MEMORY=67108864 -s WASM=1 -s "BINARYEN_TRAP_MODE='allow'" -s EXPORTED_FUNCTIONS="['_hash_cn']" --shell-file html_template/shell_minimal.html
CC = ~/.emcc_wrapper/1.37.40/emscripten/emcc -O3 -s SINGLE_FILE=1 -s NO_FILESYSTEM=1 -s 'EXTRA_EXPORTED_RUNTIME_METHODS=["ccall", "cwrap"]' --llvm-lto 1 -s TOTAL_MEMORY=67108864 -s WASM=1 -s "BINARYEN_TRAP_MODE='allow'" -s EXPORTED_FUNCTIONS="['_hash_cn']" --shell-file html_template/shell_minimal.html
CFLAGS = -Wall

Loading…
Cancel
Save