Author

Topic: Bicoin Core Node, why is it app based and not service based?? (Read 1944 times)

full member
Activity: 144
Merit: 102
you sure your relatives will appreciate you slowing down their computer with your dumbass internet money?

  Undecided
hero member
Activity: 663
Merit: 501
quarkchain.io
you sure your relatives will appreciate you slowing down their computer with your dumbass internet money?
full member
Activity: 144
Merit: 102
 I'm not trying to hide it from the user

I didn't mean that, the process is clearly visible in the task manager, you just don't have a popping window and an extra item in taskbar/tray. The basic command goes along the lines of

start-process D:\bitcoin-0.11.2-win64\bitcoind.exe -ArgumentList '-datadir=D:\bitcoin-DATA -rpcuser=someuser -rpcpassword=somepassword -testnet' -PassThru -NoNewWindow

the above in the powershell console, ofc.

It needs to be wrapped in a proper "cmdlet", smth like https://ghostbin.com/paste/jp2ac plus the "scheduled job" that starts the bitcoind, checks if it's still alive and restarts it when needed

I saw 'hehe' and I think of an evil genious laugh lol

Awesome script, I'm planning on running this on my work computer at the office.  I'm an IT guy but my boss is a bit skeptic on bitcoin so im playing it safe.

Thanks
newbie
Activity: 28
Merit: 0
 I'm not trying to hide it from the user

I didn't mean that, the process is clearly visible in the task manager, you just don't have a popping window and an extra item in taskbar/tray. The basic command goes along the lines of

start-process D:\bitcoin-0.11.2-win64\bitcoind.exe -ArgumentList '-datadir=D:\bitcoin-DATA -rpcuser=someuser -rpcpassword=somepassword -testnet' -PassThru -NoNewWindow

the above in the powershell console, ofc.

It needs to be wrapped in a proper "cmdlet", smth like https://ghostbin.com/paste/jp2ac plus the "scheduled job" that starts the bitcoind, checks if it's still alive and restarts it when needed
full member
Activity: 144
Merit: 102
hehe  Roll Eyes

how about a PowerShell script that creates a PowerShell "Scheduled Job" which starts bitcoind.exe in a hidden window at logon/startup, monitors the process and re-starts it if it crashes?

I (re)discovered bitcoin a few days ago -- sadly a few years later and too late  Embarrassed --, also I'm learning some PowerShell atm, and I'm planning on making such a script the next few days.

If you're interested and I manage to pull it, I might post it

Yes that would be cool.  I'm not trying to hide it from the user but its too easy to just close out of the app and then you have to restart it.

I know there is a startup setting for the app, but my question/statement was to make the app a service.

open up command and type in services.msc

thats what I am saying
sr. member
Activity: 412
Merit: 287
AFAIK there is a setting in Core to launch it on startup in windows
newbie
Activity: 28
Merit: 0
hehe  Roll Eyes

how about a PowerShell script that creates a PowerShell "Scheduled Job" which starts bitcoind.exe in a hidden window at logon/startup, monitors the process and re-starts it if it crashes?

I (re)discovered bitcoin a few days ago -- sadly a few years later and too late  Embarrassed --, also I'm learning some PowerShell atm, and I'm planning on making such a script the next few days.

If you're interested and I manage to pull it, I might post it
staff
Activity: 3458
Merit: 6793
Just writing some code
It can be. You can have the daemon (bitcoind) run as a service and on startup. You just need to a little bit of configuring in Windows startup stuff. Same thing can be done in linux. Bitcoin Core (the GUI app) can also be configured to automatically start at startup. It should be somewhere in the options.
full member
Activity: 144
Merit: 102
Why not make the Bitcoin Core running strictly as a node for users a service in Windows rather than an app?

Not sure if Linux is like this?  It's not a huge big deal but I plan here in the next week installing nodes on family's computers and it'd be nice to have the core running as a service vs an app that has to be open.

Jump to: