Bitcoin Forum

Local => 中文 (Chinese) => Topic started by: davis_as on February 13, 2018, 03:15:17 AM



Title: 我在建一个矿池,有大佬能看一眼指点一下吗
Post by: davis_as on February 13, 2018, 03:15:17 AM
我想给 JimCoin 建个矿池,有些代码出错。有大佬能指点一下吗
多谢,

/Desktop/project02/pool$ node init.js
2018-02-10 17:48:30 [master] Pool spawned on 4 thread(s)
2018-02-10 17:48:30 [api] API started & listening on port 8117
2018-02-10 17:48:30 [payments] Started
2018-02-10 17:48:30 [unlocker] Started
2018-02-10 17:48:30 [api] Error getting daemon data {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2018-02-10 17:48:30 [api] Stat collection finished: NaN ms redis, 69 ms daemon
2018-02-10 17:48:30 [api] Error collecting all stats
2018-02-10 17:48:30 [payments] No workers' balances reached the minimum payment threshold
2018-02-10 17:48:30 [unlocker] No blocks candidates in redis
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
2018-02-10 17:48:31 [master] Pool fork 1 died, spawning replacement worker...
2018-02-10 17:48:31 [master] Pool fork 3 died, spawning replacement worker...
2018-02-10 17:48:31 [master] Pool fork 4 died, spawning replacement worker...
2018-02-10 17:48:31 [master] Pool fork 2 died, spawning replacement worker...
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
2018-02-10 17:48:33 [master] Pool fork 4 died, spawning replacement worker...
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
2018-02-10 17:48:33 [master] Pool fork 2 died, spawning replacement worker...
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
2018-02-10 17:48:33 [master] Pool fork 1 died, spawning replacement worker...
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
2018-02-10 17:48:33 [master] Pool fork 3 died, spawning replacement worker...
2018-02-10 17:48:35 [api] Error getting daemon data {"code":"ECONNRESET","errno":"ECONNRESET","syscall":"read"}
2018-02-10 17:48:35 [api] Stat collection finished: NaN ms redis, 6 ms daemon
2018-02-10 17:48:35 [api] Error collecting all stats
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
2018-02-10 17:48:35 [master] Pool fork 4 died, spawning replacement worker...
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Debug/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/out/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/Release/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/build/default/multihashing.node
 → /home/tony/Desktop/project02/pool/node_modules/multi-hashing/compiled/4.2.6/linux/x64/multihashing.node
    at bindings (/home/tony/Desktop/project02/pool/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/node_modules/multi-hashing/index.js:1:99)
    at Module._compile (module.js:410:26)
    at Object.Module._extensions..js (module.js:417:10)
    at Module.load (module.js:344:32)
    at Function.Module._load (module.js:301:12)
    at Module.require (module.js:354:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (/home/tony/Desktop/project02/pool/lib/pool.js:7:20)
    at Module._compile (module.js:410:26)
2018-02-10 17:48:35 [master] Pool fork 2 died, spawning replacement worker...
2018-02-10 17:48:35 [master] Pool fork 1 died, spawning replacement worker...
^Z
[1]+  Stopped                 node init.js


Title: Re: 我在建一个矿池,有大佬能看一眼指点一下吗
Post by: enpz on February 13, 2018, 03:34:58 AM
建矿池还是有些技术含量的,这里估计找不到答案,看到英文专门的版块看看。