Pos Miner Portal

Discussion in 'User Projects' started by Fsig, Feb 15, 2016.

Tags:
  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Fsig

    Fsig Member
    Developer

    Dec 28, 2015
    71
    77
    Male
    Australia
    #1 Fsig, Feb 15, 2016
    Last edited: Mar 5, 2016
    woot, karamble, brencelj and 6 others like this.
  2. rohit pawar

    rohit pawar Member
    Advocate (Reddit)

    Dec 26, 2015
    166
    87
    Male
    India
    Great work . May be i can get some ideas for windows
     
  3. drunkenmugsy

    drunkenmugsy Sr. Member
    Advocate (Reddit)

    Dec 28, 2015
    405
    218
    Male
    I may have to set this up on my RPi2 PoS.
     
  4. Kandiru

    Kandiru Member

    Feb 21, 2016
    206
    87
    Interesting! I Might set this up on my AWS PoS machine. I'll try to read your code and understand what it's doing first. A PoS miner is very vulnerable to maliciousness, due to having the wallet unlocked (unless you have separate wallets buying tickets for a separate hot wallet.) People probably shouldn't install tools like this without checking the code first! :) (Not that I think you have done anything malicious, but the precedent could be dangerous!)

    This looks like a very useful tool :)
     
  5. Fsig

    Fsig Member
    Developer

    Dec 28, 2015
    71
    77
    Male
    Australia
    You are correct.
    This is simply a interface, all the commands are executed via PHP's shell_exec and can be seen here: https://github.com/Fsig/pos-miner-portal/blob/master/functions/api.php
     
    Kandiru likes this.
  6. Kandiru

    Kandiru Member

    Feb 21, 2016
    206
    87
    That all looks above board :) I guess if you were being super-paranoid you could set up a publickey only wallet specially for this sort of thing, that should work, right?
     
  7. Fsig

    Fsig Member
    Developer

    Dec 28, 2015
    71
    77
    Male
    Australia
    #7 Fsig, Feb 22, 2016
    Last edited: Feb 22, 2016
    I would assume so. Personally I have separate wallets for main, POW and POS.

    I would recommend locking down port 80 to your IP address only though and also securing the includes folder.

    Edit: Updated github with a .htaccess file to secure the includes folder, also added instructions on configuring Apache to allow .htaccess files.
     
  8. Fsig

    Fsig Member
    Developer

    Dec 28, 2015
    71
    77
    Male
    Australia
    Updated with more information and slight GUI changes.
     
  9. theMsquared

    theMsquared New Member

    Mar 15, 2016
    3
    6
    Male
    Nice work man.
     
    Fsig likes this.
  10. Fsig

    Fsig Member
    Developer

    Dec 28, 2015
    71
    77
    Male
    Australia
    Updated to work with new version.
     

Share This Page