0 Members and 1 Guest are viewing this topic.
Cool stuff. Merged it into master. Thanks!
Quote from: vertoe on February 02, 2014, 03:32:06 pmQuote from: testz on February 02, 2014, 01:14:01 pmQuote from: donschoe on January 20, 2014, 08:36:05 amAs a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.jsonUpdate: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser dataNot sure but could it be the http://cryptoseed.cloudapp.net:81/agsbalances.json is using the wrong API version? donSchoe's API looks different: http://q39.protoshar.es/ags/3/balances.jsonYes, it's little bit modified version of donSchoe's ags_balance.rb which still using csv files hosted by donSchoe:https://github.com/testzcrypto/ags-parser/blob/master/ags_balance_brief.rb
Quote from: testz on February 02, 2014, 01:14:01 pmQuote from: donschoe on January 20, 2014, 08:36:05 amAs a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.jsonUpdate: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser dataNot sure but could it be the http://cryptoseed.cloudapp.net:81/agsbalances.json is using the wrong API version? donSchoe's API looks different: http://q39.protoshar.es/ags/3/balances.json
Quote from: donschoe on January 20, 2014, 08:36:05 amAs a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.jsonUpdate: protoshares-0.4.2 based on http://cryptoseed.cloudapp.net:81/agsbalances.json (updates every hour) which is based on donschoe https://github.com/donSchoe/ags-parser data
As a backup, there is also my API available. http://q39.protoshar.es/ags/3/balances.json
Sure everything possible and I already think about this, the main problem as I can see that if http://angelshares.info will be offline or something goes wrong with API we need somehow to notify user about problems, and for now I doesn't see the elegant solution for this but I will keep thinking and looking into client code, maybe I will manage to show such kind of notifications as bitcoin style client alerts.
Quote from: bytemaster on January 19, 2014, 09:12:34 pmIn theory every client could calculate AGS balances with its own SCAN of the blockchain?Yes, it's right way to do this, it's more complicated to do but I will try to look for this as well.
In theory every client could calculate AGS balances with its own SCAN of the blockchain?
Quote from: testz on January 19, 2014, 09:11:04 pmQuote from: bytemaster on January 19, 2014, 08:41:56 pmAmazing work testz! Send me a PTS address and I will send you a tip. Any chance you could display the AGS balance in the GUI next to the PTS balance?Thanks! Sure everything possible and I already think about this, the main problem as I can see that if http://angelshares.info will be offline or something goes wrong with API we need somehow to notify user about problems, and for now I doesn't see the elegant solution for this but I will keep thinking and looking into client code, maybe I will manage to show such kind of notifications as bitcoin style client alerts.In theory every client could calculate AGS balances with its own SCAN of the blockchain?
Quote from: bytemaster on January 19, 2014, 08:41:56 pmAmazing work testz! Send me a PTS address and I will send you a tip. Any chance you could display the AGS balance in the GUI next to the PTS balance?Thanks! Sure everything possible and I already think about this, the main problem as I can see that if http://angelshares.info will be offline or something goes wrong with API we need somehow to notify user about problems, and for now I doesn't see the elegant solution for this but I will keep thinking and looking into client code, maybe I will manage to show such kind of notifications as bitcoin style client alerts.
Amazing work testz! Send me a PTS address and I will send you a tip. Any chance you could display the AGS balance in the GUI next to the PTS balance?
How do I import the log on a mac?
getagsbalance command shows your wallet total AGS balance based on information from http://angelshares.info/json/?allAddresses. If you just sent PTS to AGS donation address, they will be count only at the next day (after GMT 00:10)To run the command in the ProtoShares client go to Help -> Debug window -> Console and type:Code: [Select]getagsbalanceor for verbose outputCode: [Select]getagsbalance *Command usage: getagsbalance [account] If * is specified, returns the verbose AGS balance of all addresses. If [address] is not specified, returns the total AGS balance of all addresses. If [address] is specified, returns the AGS balance of the address. Note: Result based on data gathered from http://angelshares.info/json/?allAddressesI already submit these changes to official ProtoShares repository:https://github.com/InvictusInnovations/ProtoShares/pullsPrecompiled ProtoShares client for Windows you can download from: https://www.dropbox.com/s/44nsvz1qbifp4r6/protoshares-0.4.1.zipMD5 of zip is 7dbb8aec109c9eeab6547e992403e0aaIf you find this information useful any donate will be greatly appreciatedPTS: PeDsn5rpjYkuixKcM81f86GE469HMf7QgN
getagsbalance
getagsbalance *