Giter VIP home page Giter VIP logo

bailbloc's Introduction

bailbloc's People

Contributors

antiboredom avatar artoria2e5 avatar dependabot[bot] avatar dmehrotra avatar frnsys avatar joncinque avatar niftynei avatar prismspecs avatar rachelrosenfelt avatar rubinovitz avatar ternus avatar varner avatar wgwz avatar wwahammy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bailbloc's Issues

Flagged as a virus by AVG on macbook

Hi!
This is not really a 'bug' that you can fix, but something i thought u should be aware of, and maybe make a note of in the documentation.

When i went to install, AVG automatically quarantined the miner binary, breaking the install. For less technical users, this could freak them out or be an issue.

screen shot 2017-11-16 at 14 29 49

Macbook Pro
AVG info:
Version 17.4 (9cf9975e9ca8)
Virus databases: 171116-10
Last update: November 16, 2017

add info for macOS installation process

indicate to users on the 'drag to applications folder' page that they'll actually have to open the app for it to start working, and/or indicate that it's in their toolbar upon opening (maybe you do? I re-installed and didn't see this).

More aggressive CPU usage caps

After #34/#32 is done, it should be possible to allow users to provide a higher CPU usage without much impact. Perhaps an option for 75% or even 100% should be added. Or even better, turn the usage setting into a 10%โ€“100% range slider <input> with snapping (listening to change and setting the value?) to current predefined levels (10, 20, 50) for value ยฑ 5%.

uninstall process?

The only thing that was a little creepy: tried to deinstall but couldn't because it was running, but didn't know how to turn it off without deinstalling it

Continuous Integration

Would love love love for someone to write CircleCI continuous integration to test on Linux, Mac, and Windows.

Firefox blocks the WebMiner

I had a WebMiner tab open for more than a week before I realized that Firefox on Windows had blocked the CryptoMiner on the page. I had to click the shield on the left side of the URL bar and turn Enhanced Tracking Protection OFF so it would allow the CryptoMiner to run.

image

Maybe the webminer page should be updated with a message that users may need to make sure their browser doesn't block it.

Error auto updating to 1.1.3 on Mac

Installed from source on Yosemite (10.10.5 maybe this is my fault) and on npm start got the following:

Checking for update
Generated new staging user ID: 245d4d5f-5b1a-5cae-8539-f274cf0976f3
Found version 1.1.3 (url: )
Downloading update from 
Error: Could not get code signature for running application
    at Server.<anonymous> (/Users/gjoshi/dev/bailbloc/desktop/node_modules/electron-updater/src/MacUpdater.ts:85:28)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:86:13)
    at Server.emit (events.js:188:7)
    at emitListeningNT (net.js:1290:10)
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
Error: Error: Could not get code signature for running application
    at Server.<anonymous> (/Users/gjoshi/dev/bailbloc/desktop/node_modules/electron-updater/src/MacUpdater.ts:85:28)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:86:13)
    at Server.emit (events.js:188:7)
    at emitListeningNT (net.js:1290:10)
    at _combinedTickCallback (internal/process/next_tick.js:77:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)
[12:18:23.142] [warn] Error in auto-updater.
[12:18:23.146] [error] undefined

Seems to be running fine regardless, I'm guessing still 1.1.2 though.

"Run Bail Bloc" toggle option does not work

Thank you for your work. As titled, the toggle option "Run Bail Bloc" in the context menu would turn off the miner for 3 seconds, before turning it on again. A quick look at main.js seems to suggest that the issue is due to checkCharging() calling startMining() again after 3 seconds. Maybe set another variable in toggleMiner and check it in the else if clause of checkCharging?

seemingly mistaken "unsupported platform" error during `npm install` step

๐Ÿ‘‹๐Ÿป Hi, everyone. New here, looking to help out. I'm trying to get things running from the repo locally and I ran into this during the npm install step. It seems like I'm getting the wrong dependency, 7zip-bin-linux.

$ npm install
npm WARN [email protected] No repository field.

npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"linux","arch":"any"} (current: {"os":"darwin","arch":"x64"})
npm ERR! notsup Valid OS:    linux
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   darwin
npm ERR! notsup Actual Arch: x64

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/wizdre/.npm/_logs/2018-01-21T19_16_48_807Z-debug.log

Thinking maybe this is a non-issue, when I go to next step:

$ npm start

> [email protected] start /Users/wizdre/code/bailbloc/desktop
> electron .

sh: electron: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] start: `electron .`
npm ERR! spawn ENOENT
npm ERR! 
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/wizdre/.npm/_logs/2018-01-21T19_35_28_029Z-debug.log

Any help appreciated, glad to add to the docs once I figure out how to fix this.

Pause while on battery [not only "low on battery"]?

Dear BailBloc team

BailBloc is a brilliant idea! I've noticed the setting to "Pause when low on battery". Is there a way to either, from the most lenient to the more stringent:

  1. set the "low" level to other than the current 50%.
  2. "pause when on battery, regardless of the load charge"
  3. "pause when not fully charged, even if plugged in" (my personal preference, and the easiest to implement: set the level to 100%)

I suspect many laptop users might not be able to run BailBlock it if it halves their battery life, and will forget to fire it when plugging in. Some might also want to only mine when fully charged, to not slow down the charging time.

way to show that it is working

i wonder if an animated icon could be good? a few people have asked "how do i know it's working?" or maybe in the dropdown below Run Bail Bloc a little text anim like

working
working.
working..
working... (loop)

know what I mean?

Errors running on Linux (some fatal)

When trying to start the app from the command line on Linux, it blows up on desktop/main.js:219 because no activeTrayImage is assigned unless the platform is darwin or win32:

Uncaught Exception:
TypeError: Error processing argument at index 0, conversion failure from undefined
    at App.app.on (/home/trevor/oss/bailbloc/desktop/main.js:219:10)
    at emitTwo (events.js:111:20)
    at App.emit (events.js:194:7)

This assignment happens in an if statement on line 43 of the same file. Changing either branch of the if statement to evaluate to true (so, using either the Mac or Windows tray images) seems to get things up and running, although an error is still thrown when checking for updates:
z

[12:23:35.518] [error] Cannot check for updates: Error: Cannot find latest-linux.yml in the latest release artifacts (https://github.com/thenewinquiry/bailbloc/releases/download/v1.1.2/latest-linux.yml): HttpError: 404 Not Found

I'm happy to help try and fix this, but I don't really know what I'm doing when it comes to Electron ๐Ÿ‘€

Update XMRig binaries

The currently shipped version of macos (2.2.1) and linux (2.1.0) binaries is too old for features like #34 (2.3.0+) to work properly. There are also some minor bugfixes like donate level available in the new versions. Please consider updating these binaries, either from https://github.com/xmrig/xmrig/releases or by building from source. (The official macOS binary only works on 10.12+.)

$ strings bailbloc_worker_linux | grep XMRig
XMRig 2.1.0
XMRig/%s
 * VERSIONS:     XMRig/%s libuv/%s%s
XMRig

$ strings bailbloc_worker | grep XMRig
XMRig 2.2.1
XMRig/%s
 * VERSIONS:     XMRig/%s libuv/%s%s
XMRig

.

.

Add latest-linux.yml to release

I tried following the docs to install, but after running npm start I got the following error:

Cannot check for updates: Error: Cannot find latest-linux.yml in the latest release artifacts
(https://github.com/thenewinquiry/bailbloc/releases/download/v1.1.4/latest-linux.yml): 
HttpError: 404 Not Found

It seems like it's trying to get 'latest-linux.yml' but all I see listed on the release are 'latest.yml' and 'latest-mac.yml'

Linux Mint 17.3, Node 8.0.0, NPM 5.4.2

Low priority miners (--cpu-priority=0)

Bailbloc can add a control for the miner processes' CPU priority, so these low priority processes can safely go to a very high CPU usage while being able to let other programs use the processors if they need to.

(If you introduce GPU mining later, make sure the GPU processes get a slightly higher prio than the CPU ones so they do get time to think about making the GPUs busy.)

Alternative miner for non-admin Windows users

Windows users with non-admin privileges get the following error:

image001

when miner.js tried to spawn the process because the user doesn't have permission to run the executable.

I think a good solution would be to listen for this error, and if it happens, running a different miner. One option would be to use an external worker like coinhive, which would take a percentage but still be better than nothing. Another option would be to write a worker that could run not as an executable.

What do people think?

indicate if it is paused

I like that it defaults to paused while on battery but it would be nice if the icon indicated if it was paused (or running)

Failed at the [email protected] postinstall script 'electron-builder install-app-deps'

i was trying to compile this on my linux server and getting the error below. It is Debian Wheezy which is oldoldstable but i hope we could get it working.

~/src/bailbloc/desktop$ npm install
npm WARN package.json [email protected] No repository field.
npm WARN engine [email protected]: wanted: {"node":">=6.11.4"} (current: {"node":"4.8.7","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":">=6.0.0"} (current: {"node":"4.8.7","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":">=6.11.4"} (current: {"node":"4.8.7","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":">=6.0.0"} (current: {"node":"4.8.7","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"4.8.7","npm":"2.15.11"})
npm WARN engine [email protected]: wanted: {"node":"0.8.x || 0.10.x"} (current: {"node":"4.8.7","npm":"2.15.11"})
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
npm WARN deprecated [email protected]: This package is discontinued. Use lodash@^4.0.0.
/
> [email protected] postinstall /home/scar/src/bailbloc/desktop/node_modules/electron
> node install.js

npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]
npm WARN engine [email protected]: wanted: {"node":">=6.0.0"} (current: {"node":"4.8.7","npm":"2.15.11"})

> [email protected] install /home/scar/src/bailbloc/desktop/node_modules/electron-builder/node_modules/electron-builder-lib/node_modules/app-package-builder/node_modules/rabin-bindings
> prebuild-install || node-gyp rebuild

prebuild-install info begin Prebuild-install version 2.4.1
prebuild-install info looking for local prebuild @ prebuilds/rabin-bindings-v1.7.4-node-v46-linux-x64.tar.gz
prebuild-install info found local prebuild 
prebuild-install info unpacking @ prebuilds/rabin-bindings-v1.7.4-node-v46-linux-x64.tar.gz
prebuild-install info unpack resolved to /home/scar/src/bailbloc/desktop/node_modules/electron-builder/node_modules/electron-builder-lib/node_modules/app-package-builder/node_modules/rabin-bindings/build/Release/rabin-bindings.node
prebuild-install info unpack required /home/scar/src/bailbloc/desktop/node_modules/electron-builder/node_modules/electron-builder-lib/node_modules/app-package-builder/node_modules/rabin-bindings/build/Release/rabin-bindings.node successfully
prebuild-install info install Successfully installed prebuilt binary!

> [email protected] postinstall /home/scar/src/bailbloc/desktop
> electron-builder install-app-deps

/home/scar/src/bailbloc/desktop/node_modules/electron-builder/out/builder.js:21
    var _ref = (0, (_bluebirdLst || _load_bluebirdLst()).coroutine)(function* (options, cancellationToken = new (_builderUtilRuntime || _load_builderUtilRuntime()).CancellationToken()) {
                                                                                                          ^

SyntaxError: Unexpected token =
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at _load_builder (/home/scar/src/bailbloc/desktop/node_modules/electron-builder/out/cli/cli.js:80:23)
    at Object.<anonymous> (/home/scar/src/bailbloc/desktop/node_modules/electron-builder/out/cli/cli.js:118:81)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:140:18)
    at node.js:1043:3

npm ERR! Linux 3.2.0-4-amd64
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! node v4.8.7
npm ERR! npm  v2.15.11
npm ERR! code ELIFECYCLE
npm ERR! [email protected] postinstall: `electron-builder install-app-deps`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script 'electron-builder install-app-deps'.
npm ERR! This is most likely a problem with the bailbloc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     electron-builder install-app-deps
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bailbloc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! 
npm ERR!     npm owner ls bailbloc
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/scar/src/bailbloc/desktop/npm-debug.log


~/src/bailbloc/desktop$ cat /home/scar/src/bailbloc/desktop/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install' ]
2 info using [email protected]
3 info using [email protected]
4 verbose readDependencies loading dependencies from /home/scar/src/bailbloc/desktop/package.json
5 warn package.json [email protected] No repository field.
6 verbose install where, deps [ '/home/scar/src/bailbloc/desktop',
6 verbose install   [ 'battery-level',
6 verbose install     'electron-log',
6 verbose install     'electron-positioner',
6 verbose install     'electron-settings',
6 verbose install     'electron-updater',
6 verbose install     'is-charging',
6 verbose install     'strip-ansi',
6 verbose install     'uuid',
6 verbose install     'electron',
6 verbose install     'electron-builder',
6 verbose install     'node-icns',
6 verbose install     '7zip-bin-linux' ] ]
7 verbose install where, peers [ '/home/scar/src/bailbloc/desktop', [] ]
8 verbose installManyTop reading for lifecycle /home/scar/src/bailbloc/desktop/package.json
9 info preinstall [email protected]
10 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/7zip-bin-linux/package.json
11 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/battery-level/package.json
12 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/electron/package.json
13 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/electron-builder/package.json
14 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/electron-log/package.json
15 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/electron-positioner/package.json
16 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/electron-settings/package.json
17 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/electron-updater/package.json
18 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/is-charging/package.json
19 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/node-icns/package.json
20 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/strip-ansi/package.json
21 verbose installManyTop reading scoped package data from /home/scar/src/bailbloc/desktop/node_modules/uuid/package.json
22 info package.json [email protected] No README data
23 verbose readDependencies loading dependencies from /home/scar/src/bailbloc/desktop/package.json
24 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/7zip-bin-linux/package.json
25 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/battery-level/package.json
26 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/electron/package.json
27 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/electron-builder/package.json
28 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/electron-log/package.json
29 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/electron-positioner/package.json
30 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/electron-settings/package.json
31 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/electron-updater/package.json
32 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/is-charging/package.json
33 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/node-icns/package.json
34 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/strip-ansi/package.json
35 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/uuid/package.json
36 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/.bin/battery-level/package.json
37 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/.bin/build/package.json
38 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/.bin/electron/package.json
39 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/.bin/electron-builder/package.json
40 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/.bin/install-app-deps/package.json
41 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/.bin/nicns/package.json
42 verbose targetResolver reading package data from /home/scar/src/bailbloc/desktop/node_modules/.bin/uuid/package.json
43 verbose already installed skipping electron@^1.6.11 /home/scar/src/bailbloc/desktop
44 verbose already installed skipping electron-builder@^19.22.1 /home/scar/src/bailbloc/desktop
45 verbose already installed skipping [email protected] /home/scar/src/bailbloc/desktop
46 verbose already installed skipping 7zip-bin-linux@^1.2.0 /home/scar/src/bailbloc/desktop
47 verbose already installed skipping battery-level@^2.0.1 /home/scar/src/bailbloc/desktop
48 verbose already installed skipping electron-log@^2.2.7 /home/scar/src/bailbloc/desktop
49 verbose already installed skipping electron-positioner@^3.0.0 /home/scar/src/bailbloc/desktop
50 verbose already installed skipping electron-settings@^3.1.1 /home/scar/src/bailbloc/desktop
51 verbose already installed skipping electron-updater@^2.8.7 /home/scar/src/bailbloc/desktop
52 verbose already installed skipping is-charging@^1.2.0 /home/scar/src/bailbloc/desktop
53 verbose already installed skipping strip-ansi@^4.0.0 /home/scar/src/bailbloc/desktop
54 verbose already installed skipping uuid@^3.1.0 /home/scar/src/bailbloc/desktop
55 silly install resolved []
56 info build /home/scar/src/bailbloc/desktop
57 info linkStuff [email protected]
58 silly linkStuff [email protected] has /home/scar/src/bailbloc as its parent node_modules
59 verbose linkBins [email protected]
60 verbose linkMans [email protected]
61 verbose rebuildBundles [email protected]
62 verbose rebuildBundles [ '.bin',
62 verbose rebuildBundles   '7zip-bin-linux',
62 verbose rebuildBundles   'battery-level',
62 verbose rebuildBundles   'electron',
62 verbose rebuildBundles   'electron-builder',
62 verbose rebuildBundles   'electron-log',
62 verbose rebuildBundles   'electron-positioner',
62 verbose rebuildBundles   'electron-settings',
62 verbose rebuildBundles   'electron-updater',
62 verbose rebuildBundles   'is-charging',
62 verbose rebuildBundles   'node-icns',
62 verbose rebuildBundles   'strip-ansi',
62 verbose rebuildBundles   'uuid' ]
63 info install [email protected]
64 info postinstall [email protected]
65 verbose unsafe-perm in lifecycle true
66 info [email protected] Failed to exec postinstall script
67 verbose stack Error: [email protected] postinstall: `electron-builder install-app-deps`
67 verbose stack Exit status 1
67 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
67 verbose stack     at emitTwo (events.js:87:13)
67 verbose stack     at EventEmitter.emit (events.js:172:7)
67 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
67 verbose stack     at emitTwo (events.js:87:13)
67 verbose stack     at ChildProcess.emit (events.js:172:7)
67 verbose stack     at maybeClose (internal/child_process.js:862:16)
67 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
68 verbose pkgid [email protected]
69 verbose cwd /home/scar/src/bailbloc/desktop
70 error Linux 3.2.0-4-amd64
71 error argv "/usr/bin/node" "/usr/bin/npm" "install"
72 error node v4.8.7
73 error npm  v2.15.11
74 error code ELIFECYCLE
75 error [email protected] postinstall: `electron-builder install-app-deps`
75 error Exit status 1
76 error Failed at the [email protected] postinstall script 'electron-builder install-app-deps'.
76 error This is most likely a problem with the bailbloc package,
76 error not with npm itself.
76 error Tell the author that this fails on your system:
76 error     electron-builder install-app-deps
76 error You can get information on how to open an issue for this project with:
76 error     npm bugs bailbloc
76 error Or if that isn't available, you can get their info via:
76 error
76 error     npm owner ls bailbloc
76 error There is likely additional logging output above.
77 verbose exit [ 1, true ]


Mining code update needed before the march monero update

Monero will be tweaking its PoW algorithm in the next fork, in order to strengthen its ASIC resistance and keep CPU miners competitive.

I notice you're using xmrig internally, and I made a patch for this here: xmrig/xmrig-nvidia#105

You will need to update xmrig once they've merged this in order to be able to continue mining monero after the march update. This should be the only thing that needs to change for you.

Please specify an open source license

The Bail Bloc website refers to the code as open source, but no open source license is specified. Please consider adding a LICENSE or COPYING file to the root directory containing the text of the applicable open source license.

indicate that it is running in tray

related to another issue,

Install was easy, but it would be nice to have some sort of indication that it only runs in your tray rather than opening any windows. I tried opening it 3 times before realizing it was already running as a tiny icon in the corner of the screen.

Control thread count (--threads)

Despite a "high" system impact target which should allow for 50% cpu usage, bailbloc's worker is only using around 25% of CPU resources on my 2C4T machine. As mentioned in #32, editing miner.js manually to allow for more threads allows me to see a higher usage.

A naive fix is to ask for '--threads': ''+os.cpus().length() in Miner's arguments. A better fix should involve coupling it to the impact setting so that the usage limit is approximately proportional to the number of threads allowed.


Since XMR takes a shitton of CPU cache to mine, the thread count should also take into account of L3 cache space available. Perhaps that choice should just be handed to XMRig. https://github.com/xmrig/xmrig/wiki/Threads

feedback for first run

there could be a "You're now actively bailing people out of jail" success message or something the first time you run it. If I hadn't thought to look at the status bar I could've easily thought that it had just crashed or not worked somehow.

CPU usage is bonkers high

Hi! Not sure if this is still being maintained, but I just got a new 2019 Macbook Pro and installed it. Every time it starts up, the CPU usage goes waaaay high even after I messed with the settings. If I have time I might take a look at the code and see if there's some new Mac OS update that's causing this, but also wanted to flag it in case the codebase is still being maintained.

FWIW:
Screen Shot 2019-11-08 at 11 39 40 AM

Thanks for building this y'all!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.