The Koinos Miner (CLI) provides a functional command line interface that allows users to mine the KOIN ERC-20 which will be used to deliver an equitable initial token distribution on the Koinos blockchain.
[JS] maxOffset: 0x00000000000000000000000000000000fffffffffffffffffffffffffa0a1f00
[JS] rdata: <Buffer f6 1f 6b e1 37 d6 7a 7c 5a b9 b7 ba 0e 5e d2 cf>
[JS] x: f61f6be137d67a7c5ab9b7ba0e5ed2cf
[JS] Ethereum Block Number: 11060087
[JS] Ethereum Block Hash: 0xbb6239b994e0812e4e446370a4cded5a88f420d7e7d480838ee4d9bd4cf4d49c
[JS] Target Difficulty: 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff
[JS] uncaughtException: spawn /root/koinos-miner/bin/koinos_miner ENOENT
Error: spawn /root/koinos-miner/bin/koinos_miner ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21)
[JS] Stopping miner
[JS] Stopping blockchain update loop
JS Error: {
kMessage: 'An uncaught exception was thrown.',
exception: Error: spawn /root/koinos-miner/bin/koinos_miner ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19)
at onErrorNT (internal/child_process.js:469:16)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn /root/koinos-miner/bin/koinos_miner',
path: '/root/koinos-miner/bin/koinos_miner',
spawnargs: [ 'redacted', undefined ]
}
}
(node:31184) UnhandledPromiseRejectionWarning: Error: write EPIPE
at afterWriteDispatched (internal/stream_base_commons.js:156:25)
at writeGeneric (internal/stream_base_commons.js:147:3)
at Socket._writeGeneric (net.js:788:11)
at Socket._write (net.js:800:8)
at doWrite (_stream_writable.js:403:12)
at writeOrBuffer (_stream_writable.js:387:5)
at Socket.Writable.write (_stream_writable.js:318:11)
at MiningRequestQueue.sendRequest (/root/koinos-miner/index.js:42:22)
at KoinosMiner.sendMiningRequest (/root/koinos-miner/index.js:552:24)
at KoinosMiner.runMiner (/root/koinos-miner/index.js:380:12)
at KoinosMiner.start (/root/koinos-miner/index.js:415:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:31184) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:31184) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
running on node 12.19.0
[JS] maxOffset: 0x00000000000000000000000000000000fffffffffffffffffffffffffa0a1f00 [JS] rdata: <Buffer f6 1f 6b e1 37 d6 7a 7c 5a b9 b7 ba 0e 5e d2 cf> [JS] x: f61f6be137d67a7c5ab9b7ba0e5ed2cf [JS] Ethereum Block Number: 11060087 [JS] Ethereum Block Hash: 0xbb6239b994e0812e4e446370a4cded5a88f420d7e7d480838ee4d9bd4cf4d49c [JS] Target Difficulty: 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff [JS] uncaughtException: spawn /root/koinos-miner/bin/koinos_miner ENOENT Error: spawn /root/koinos-miner/bin/koinos_miner ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) [JS] Stopping miner [JS] Stopping blockchain update loop JS Error: { kMessage: 'An uncaught exception was thrown.', exception: Error: spawn /root/koinos-miner/bin/koinos_miner ENOENT at Process.ChildProcess._handle.onexit (internal/child_process.js:267:19) at onErrorNT (internal/child_process.js:469:16) at processTicksAndRejections (internal/process/task_queues.js:84:21) { errno: 'ENOENT', code: 'ENOENT', syscall: 'spawn /root/koinos-miner/bin/koinos_miner', path: '/root/koinos-miner/bin/koinos_miner', spawnargs: [ 'redacted', undefined ] } } (node:31184) UnhandledPromiseRejectionWarning: Error: write EPIPE at afterWriteDispatched (internal/stream_base_commons.js:156:25) at writeGeneric (internal/stream_base_commons.js:147:3) at Socket._writeGeneric (net.js:788:11) at Socket._write (net.js:800:8) at doWrite (_stream_writable.js:403:12) at writeOrBuffer (_stream_writable.js:387:5) at Socket.Writable.write (_stream_writable.js:318:11) at MiningRequestQueue.sendRequest (/root/koinos-miner/index.js:42:22) at KoinosMiner.sendMiningRequest (/root/koinos-miner/index.js:552:24) at KoinosMiner.runMiner (/root/koinos-miner/index.js:380:12) at KoinosMiner.start (/root/koinos-miner/index.js:415:15) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:31184) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag
--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:31184) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.