Author Topic: 2 x 800 PTS - Generate Unspent Output Set every day at midnight GMT [PAID]  (Read 28248 times)

0 Members and 1 Guest are viewing this topic.

drekrob

  • Guest
I managed to do it in nodejs
https://github.com/DerKorb/ParseProto/
Just moving this from my localhost to my web server right now.
Requires a local instance of protosharesd running.

Offline vertoe

  • Jr. Member
  • **
  • Posts: 30
  • i'm here
    • View Profile
I've written two PHP scripts to accomplish that.

JSON file honoring the defined form: http://q30.protoshar.es/pts/pts_unspent.json
Source code published on github: https://github.com/vertoe/pts-unspent
HOWTO set up a similar service: https://github.com/vertoe/pts-unspent/wiki

Note, the database is currently being filled as the blockchain is being parsed.

PuCPcTzHDpsWrVEdBrC5F53qrxfdiUXk62
« Last Edit: February 12, 2014, 02:51:15 am by vertoe »

Offline bytemaster

I am looking for someone to setup and maintain a web service that will generate the unspent output set from BitShares PTS as a .json file of the following form

{ "blocknum" : N, "blocktime" : timestamp, "moneysupply" : supply, "balances" :
[ {"PTSADDRESS1":TOTAL_BALANCE}, {"PTSADDRESS2":TOTAL_BALANCE}...] }

I will pay this bounty twice for two people that produce independent implementations hosted on independent servers and publish their source code and a HOWTO set up a similar service on a brand new server.

I will pay $3 per day in PTS that the service has 100% uptime AND produces accurate data, this will be paid monthly for the next year.

I will pay a 120 PTS sub-bounty for someone to replicate the work of the two independent implementations and host a mirror for 1 year paid out at 10 PTS per month. 

The .json file should be made available for any day as of the last block found before midnight GMT
The .json file must be available by noon the next day. 
Multiple outputs payable to the same address should be summed to result in a single entry

The purpose of this bounty is to make it easy for anyone to create a snapshot and launch a new DAC honoring PTS and also to provide an independent audit of PTS balances in our genesis blocks.

I would also like this service to capture the cumulative master book for AGS donations each day and generate a .json file of the same format.   

Lastly I would like the service to produce a genesis block every day based upon a web-form that specifies the percentage of the money supply that should be allocated to AGS and PTS.    It should be in the same format as the AGS and PTS balances.

We will allow for several days of operation to verify the services are indeed producing the same results.   Until two independent implementations produce identical results no one gets paid.   This applies to the AGS data as well.  A mistake I made last time was not having a means to validate / compare results.   So if you pull your data from agsexplorer or angelshares.info then I suggest you find a way to produce identical results.  Two services that both use the same AGS source are not fully independent.
« Last Edit: February 27, 2014, 03:37:40 am by bytemaster »
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.