elective-stereophonic
elective-stereophonic
Bounty request for Forkedchain's leased forging pool
singapore
Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Stable Nxt Client: Nxt 1.12.2

Author Topic: Bounty request for Forkedchain's leased forging pool  (Read 3194 times)

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Bounty request for Forkedchain's leased forging pool
« on: May 09, 2014, 10:28:13 pm »

1. Nxt account and userID/contact info for submitter
2319251
forkedchain@gmx.com

2. Submission date
Nao

3. A short description of the project with your goals very clearly specified(three sentences max.)
Leased forging system, see: http://pool.nxtcrypto.org

3b. Long description as needed
https://nxtforum.org/index.php?topic=1020.msg15459#msg15459

5. Budget
Hmm.  Im not sure, you tell me.  At first glance, Ill guess:  ONE HUNDRED BILLION DOLLARS (Come, Mr. Bigglesworth!)
But more seriously, the higher my bounty, the more Id be willing to release it all, and consult for others to run their own pools, which would be REALLY GOOD for NXT.

6. Specify deadlines
Its working now, see the URL I gave you for pool stats.  That is the front end that only processes live blockchain data.  The backend part that batch processes blocks older that 1440 has all its parts tested, they just need assembly to be live.  I should have that done within a week or 2.


« Last Edit: May 10, 2014, 02:15:05 am by forkedchain »
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #1 on: May 12, 2014, 02:00:39 pm »

crickets?
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

anon136

  • Hero Member
  • *****
  • Karma: +86/-19
  • Offline Offline
  • Posts: 1015
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #2 on: May 16, 2014, 07:33:48 pm »

we need some clarification here. are you building a platform that will allow anyone to lease their forging power to anyone else who wants to provide that service. or are you trying to build your own pool? or both? also is this going to require a change to the core?
Logged

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #3 on: May 16, 2014, 07:37:19 pm »

well, both.  was hoping for some bounty for my own pool.  depending on its size id be willing to release my code and DB schemas so that others can use it
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #4 on: May 16, 2014, 07:40:27 pm »

I think forkedchain has the only functioning leasing pool
the question is if we want more than one such pool
I think it is in NXT interest to have more than one pool, otherwise too big stake in one pool

James
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

nCtrl

  • Sr. Member
  • ****
  • Karma: +31/-0
  • Offline Offline
  • Posts: 254
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #5 on: May 16, 2014, 08:02:36 pm »

I see a problem here, by giving a bounty to you then anybody else that has a pool would (rightfully) ask for the same treatment. To my knowledge there are already 4. Nothing would prevent them (or anybody else) from building a pool, claim the bounty and disappear. This solution helps no one (other than the owner of the pool of course), more importantly it does not help the NXT to expand.
The best way of action here in my opinion is to set up a bounty for a open source tool set allowing anybody to set up their own forging pool (basic functionality is the minimum). That way, even if the winner disappears, the tool is still in the hands of the community.

All I am saying is that we should avoid the multi pool fiasco, 2 bounties were given out and after not long we did not have any. The situation got partially solved, but you get my point.
Not to take anything away from forkedchain, but it seems to me to be the best course of action for NXT.
« Last Edit: May 16, 2014, 08:10:14 pm by nCtrl »
Logged

jl777

  • Hero Member
  • *****
  • Karma: +718/-123
  • Offline Offline
  • Posts: 6170
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #6 on: May 16, 2014, 08:09:55 pm »

I see a problem here, by giving a bounty to you then anybody else that has a pool would (rightfully) ask for the same treatment. To my knowledge there are already 4. Nothing would prevent them (or anybody else) from building a pool, claim the bounty and disappear. This solution helps no one (other than the owner of the pool of course), more importantly it does not help the NXT to expand.
The best way of action here in my opinion is to set up a bounty for a open source tool set allowing anybody to set up their own forging pool (basic functionality is the minimum). That way, even if the winner disappears, the tool is still in the hands of the community.

All I am saying is that we should avoid the multi pool fiasco, 2 bounties were given out and after not long we did not have any. The situation got partially solved, but you get my point.
I am assuming the bounty was for source code and instructions on how to setup a leasing pool. Payment would be made when independently verifying that it all works for somebody else

what am i missing?

James

P.S. also the multipool bounties were paid out to relative newcomers to NXT, while forkedchain is a long time NXTer and he has the shortest NXT acct# I know of. That should count for something
Logged
There are over 1000 people in SuperNET slack! http://slackinvite.supernet.org/ automatically sends you an invite

I am just a simple C programmer

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #7 on: May 19, 2014, 08:15:26 pm »

any traction on this?
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

anon136

  • Hero Member
  • *****
  • Karma: +86/-19
  • Offline Offline
  • Posts: 1015
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #8 on: May 20, 2014, 02:55:08 am »

well have to talk about it at the next meeting. at the last meeting we werent sure exactly what the specifics of the proposal are. now that we have more information we will actually be able to talk about whether or not to fund it.
Logged

mczarnek

  • Hero Member
  • *****
  • Karma: +68/-4
  • Offline Offline
  • Posts: 898
    • View Profile
    • Nxt Place - Craigslist for Nxt
Re: Bounty request for Forkedchain's leased forging pool
« Reply #9 on: May 24, 2014, 05:39:27 am »

I think forkedchain has the only functioning leasing pool
the question is if we want more than one such pool
I think it is in NXT interest to have more than one pool, otherwise too big stake in one pool

James

Nxtio has one too and ChuckOne is trying to set one up.

Also personally I'd vote that we fund something along the lines of this instead:
https://nxtforum.org/nxt-improvement-proposals/smart-leasing/

Nothing against Forkedchain's proposal but I've never been a fan of the idea that a mining operation has had to have the involvement of a trusted human when the point of cryptos is largely to be as trustless as possible.

In Nxt's case we could automate this and make it trustless, which is yet another advantage over POW.
Logged
NXT Organization: Tech
Donations greatly appreciated: NXT-DWVJ-G89C-RHNL-6QW6Q

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #10 on: May 27, 2014, 09:30:52 pm »

anything yet?  there are some people asking me to release my stuff so they can run their own pools and keep track of things

I think forkedchain has the only functioning leasing pool
the question is if we want more than one such pool
I think it is in NXT interest to have more than one pool, otherwise too big stake in one pool

James

Nxtio has one too and ChuckOne is trying to set one up.

Also personally I'd vote that we fund something along the lines of this instead:
https://nxtforum.org/nxt-improvement-proposals/smart-leasing/

Nothing against Forkedchain's proposal but I've never been a fan of the idea that a mining operation has had to have the involvement of a trusted human when the point of cryptos is largely to be as trustless as possible.

In Nxt's case we could automate this and make it trustless, which is yet another advantage over POW.

well i dont really have the only pool.  I do have the only one that reports stats of any kind (though I do have quite a bit of data that is quickly and automatically updated) or who offers automated payout upon receipt of an AM.

what you are talking about as far as building this leasing payout into the protocol will take a long time, and I dont think it has any priority.  i think if they were going to to it this way, it would have been done this way from the start.
« Last Edit: May 27, 2014, 09:33:38 pm by forkedchain »
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

mczarnek

  • Hero Member
  • *****
  • Karma: +68/-4
  • Offline Offline
  • Posts: 898
    • View Profile
    • Nxt Place - Craigslist for Nxt
Re: Bounty request for Forkedchain's leased forging pool
« Reply #11 on: May 29, 2014, 12:28:16 am »

I mean leased forging was only just released,  I agree it would take time but I think it's the superior way to go in the long run.  If CfB is just sitting around waiting for leasing pools to form, maybe we could convince him to implement this..  and if this bounty were given to someone willing to do this rather than release software.. it might be worth at least asking the community first if anyone would be willing to implement this for the same bounty.  Depending upon the bounty and whether this or instant transaction confirmations are deemed more important.. I'd at least be willing to think about it.  It'd wouldn't be nearly as hard to implement as IT will be but still a very nice feature for Nxt.

Wouldn't it be nice not to have to trust a human operator to pay you your Nxt for forging?  I've never liked that about 'trustless' Bitcoin.

Maybe people would be willing to pay you for this software?  And hey, you guys want to give a bounty for this now and then later we can work on the trustless approach, fine by me.
Logged
NXT Organization: Tech
Donations greatly appreciated: NXT-DWVJ-G89C-RHNL-6QW6Q

antanst

  • Full Member
  • ***
  • Karma: +36/-0
  • Offline Offline
  • Posts: 216
    • View Profile
    • nxtblocks.info
Re: Bounty request for Forkedchain's leased forging pool
« Reply #12 on: June 07, 2014, 09:08:33 am »

Me, anon136, l8orre and abuelau have approved this project for a bounty of 50'000 NXT, given the following conditions:

A) Both the web UI code and the server side code needed for the pool to function will be released.
B) This is released as an (A)GPL'ed or BSD-licensed open source software project.
C) The funds will be allocated when it's verified that the code is functional and can be installed and set up by following the given instructions.

Logged

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Re: Bounty request for Forkedchain's leased forging pool
« Reply #13 on: June 07, 2014, 05:05:23 pm »

Im sorry but Im extremely hesitant to release everything under conditions that depend on other people doing things. 

I will release the code and the database schemas, but only the basic PHP files.  This is the personalization and customization of the pool and how it presents itself to the users anyway.  I paid someone for my customization part anyways so will not release the colorful stuff I have presently, but only the basic stuff you saw at the beginning.  pool owners can then customize their own HTML to be an fancy as they want.

Heck I will even release an .sql dump file and will sanitize it and tell where in there to put accounts, secrets, usernames, and passwords, so all that is required is an import of the .sql file then addition of 1 sql user.  But you cant truly expect me to walk someone through DBD/DBI dependencies between perl/php/mysql.  Not to mention how to set up apache for the web presentation.  Apache and the front end web pages arent even required for the system to run and pay out anyways.

I will be available to answer some questions (dont ask how to run apache, etc, etc or basic beginner stuff) via IM, and Of course I will write up the steps required to get it all working assuming you have a LAMP stack (not just a generic VPS, but a "LAMP" system ready for business:

1. use text editor on the .sql file and search for <POOLACCOUNT> and <POOLSECRET> and replace these with your pool's info

2. import this .sql file into mysql

3. in mysql, create an additional user granting select access to all tables EXCEPT nxtAcct table

4. modify both perl files at the very top to use your root/fullaccess mysql account

5. modify all .php files at the very top to use your account you created in step 3.

6. edit nxt.properties to trace your pools account, and to use a comma as field separator, and to put the file in the same location as the perl scripts.

7. restart nxt, wait until it syncs the chain

8. update lastProcessedBlock and lastProcessedHeight in nxtInfo where entry = 0 to make them be 1 block before your pool's first forged block.

9. make sure your pool's account has NXT in it, because the next step will start processing blocks up to 1440 blocks before the last block on the chain, and will payout if an inbound AM comes in (remember an inbound AM will trigger a payout to the sender, if there is a balance).  If you dont want this, then in step 8 use a later block/height such that there are no inbound AM requests after that.

10. run the confirmedBlocks.pl script.  this may take a looong time, depending on how far back your first forged block was.  open another terminal and you can select on the nxtInfo table to see how far you have to go to reach 1440 before last block.

11.  when this is done run it again and again until it completes as soon as you hit enter.

12.  then run recentBlocks.pl  this script always takes awhile as it always processes 1440 blocks past whatever block confirmedBlocks finished on.

13.  cron both of these for once per minute
« Last Edit: June 07, 2014, 05:09:19 pm by forkedchain »
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222

antanst

  • Full Member
  • ***
  • Karma: +36/-0
  • Offline Offline
  • Posts: 216
    • View Profile
    • nxtblocks.info
Re: Bounty request for Forkedchain's leased forging pool
« Reply #14 on: June 07, 2014, 10:30:14 pm »

Im sorry but Im extremely hesitant to release everything under conditions that depend on other people doing things. 

Don't you find it a reasonable prerequisite that someone should install and test your software when it's released?

I will release the code and the database schemas, but only the basic PHP files.  This is the personalization and customization of the pool and how it presents itself to the users anyway.  I paid someone for my customization part anyways so will not release the colorful stuff I have presently, but only the basic stuff you saw at the beginning.  pool owners can then customize their own HTML to be an fancy as they want.

Sounds reasonable, of course it's your right not to release your aesthetic customizations. They are yours after all.

Quote
Heck I will even release an .sql dump file and will sanitize it and tell where in there to put accounts, secrets, usernames, and passwords, so all that is required is an import of the .sql file then addition of 1 sql user.

Sounds right as well.

Quote
But you cant truly expect me to walk someone through DBD/DBI dependencies between perl/php/mysql.  Not to mention how to set up apache for the web presentation.

No, of course not. We're not expecting you to write a tutorial on how to set up each and every service that your software depends on.

Quote
<snip> Of course I will write up the steps required to get it all working assuming you have a LAMP stack (not just a generic VPS, but a "LAMP" system ready for business:

That's what we meant by mentioning "given instructions", instructions that list your software's dependencies, and are specific to how your software should be set up given it's dependencies are installed. Sorry if I didn't make this clear.

Quote
1. use text editor on the .sql file and search for <POOLACCOUNT> and <POOLSECRET> and replace these with your pool's info
...
<snip>
...
13.  cron both of these for once per minute

Great.
Logged

forkedchain

  • Ex-Staff Member
  • Hero Member
  • *****
  • Karma: +74/-10
  • Offline Offline
  • Posts: 1190
  • bite me
    • View Profile
Logged
NXT tips: 2319251 or NXT-8SWM-2224-YKWW-22222
 

elective-stereophonic
elective-stereophonic
assembly
assembly