Now! BitShares Music Note pre-sale tracker on Linux, Mac OS X, Windows

Started by trytinysmart, October 11, 2014, 10:15:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

Quote from: cube on October 13, 2014, 12:02:19 PM
Quote from: boombastic on October 12, 2014, 01:10:18 PM
Yes.  Only the block time matters.  Transaction sent at time x and is included in block at time y.  Time y is used as the time of donation.

One more question. When you say "block time", how many BTC confirmations do you mean?
that block that has that particular transaction included ... so basically a single confirmation is sufficient

cube

Quote from: boombastic on October 12, 2014, 01:10:18 PM
Yes.  Only the block time matters.  Transaction sent at time x and is included in block at time y.  Time y is used as the time of donation.

One more question. When you say "block time", how many BTC confirmations do you mean?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

boombastic

Quote from: cass on October 12, 2014, 10:45:10 PM
@boombastic: just noticed via osx and FF 32



hope this helps ...

Thanks for letting me know.  It's fixed now.
[url="http://bitshares.dacplay.org/r/boombastic"]http://bitshares.dacplay.org/r/boombastic[/url]
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

cube

Quote from: boombastic on October 12, 2014, 01:10:18 PM
Yes.  Only the block time matters.  Transaction sent at time x and is included in block at time y.  Time y is used as the time of donation.


Ahh.. then I have missed the inclusion for that good day.   :(
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

cass

@boombastic: just noticed via osx and FF 32



hope this helps ...
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

boombastic

Yes.  Only the block time matters.  Transaction sent at time x and is included in block at time y.  Time y is used as the time of donation.


Sent from my iPhone using Tapatalk
[url="http://bitshares.dacplay.org/r/boombastic"]http://bitshares.dacplay.org/r/boombastic[/url]
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

cube

Quote from: boombastic on October 11, 2014, 03:18:47 PM
Good stuff @trytinysmart. 

I noticed that the data source is from blockchain.info's history data API.  The timestamp it uses is the time transaction is made instead of the time the block is produced which includes the transactions.  For those transactions made close to the end of the day may be included in the block that is produced the next day.  Therefore the totals and the ratio could be slightly different from the official calculation.  But as for a quick ticker to know what the progress is, this is good enough.  I think you might want to add this to your README to prevent confusion.

If you need, I can provide you a data source from agsexplorer.com which corrects that tx timestamp vs block timestamp issue.


How is the official calculation?  Is it upon one confirmation?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

boombastic

http://www1.agsexplorer.com/ticker/music/btc.json

I twisted the API a bit and it should suit your need.
[url="http://bitshares.dacplay.org/r/boombastic"]http://bitshares.dacplay.org/r/boombastic[/url]
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

trytinysmart

Thank you for your reminding me. I need it.

Quote from: boombastic on October 11, 2014, 03:18:47 PM
Good stuff @trytinysmart. 

I noticed that the data source is from blockchain.info's history data API.  The timestamp it uses is the time transaction is made instead of the time the block is produced which includes the transactions.  For those transactions made close to the end of the day may be included in the block that is produced the next day.  Therefore the totals and the ratio could be slightly different from the official calculation.  But as for a quick ticker to know what the progress is, this is good enough.  I think you might want to add this to your README to prevent confusion.

If you need, I can provide you a data source from agsexplorer.com which corrects that tx timestamp vs block timestamp issue.


Sent from my iPhone using Tapatalk
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La

boombastic

Good stuff @trytinysmart. 

I noticed that the data source is from blockchain.info's history data API.  The timestamp it uses is the time transaction is made instead of the time the block is produced which includes the transactions.  For those transactions made close to the end of the day may be included in the block that is produced the next day.  Therefore the totals and the ratio could be slightly different from the official calculation.  But as for a quick ticker to know what the progress is, this is good enough.  I think you might want to add this to your README to prevent confusion.

If you need, I can provide you a data source from agsexplorer.com which corrects that tx timestamp vs block timestamp issue.


Sent from my iPhone using Tapatalk
[url="http://bitshares.dacplay.org/r/boombastic"]http://bitshares.dacplay.org/r/boombastic[/url]
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

trytinysmart

Yes, my btsx ID is "trytinysmart", key is BTSX5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmTGZJuT

Thanks, :)


Quote from: xeroc on October 11, 2014, 02:44:37 PM
very cool tool .. just checked it out .. works nice with linux too ..
never heard of textql .. but i REALLY love it .. awesome! +5%

can I tip you some btsx via "trytinysmart"?
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La

xeroc

very cool tool .. just checked it out .. works nice with linux too ..
never heard of textql .. but i REALLY love it .. awesome! +5%

can I tip you some btsx via "trytinysmart"?

trytinysmart

Next, I will use Go language to refactor it. Cross platform is very important!

;D
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La

xeroc

ui .. we can use more cool tools like this .. +5%

cass

█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

trytinysmart

Now, music-tracker supports Linux, Mac OS X windows binary.
https://bintray.com/bts-utils/music-tracker/music-tracker/view/files

music-tracker https://github.com/bts-utils/music-tracker
BitShares Music Note pre-sale tracker.


$ ./music-tracker fetch

Day   Date          BTC         Notes/BTC
1     2014-10-06    34.786598   143733.515422
2     2014-10-07    39.459149   126713.324696
3     2014-10-08    32.596869   153388.966563
4     2014-10-09    33.257446   150342.271546
5     2014-10-10    27.134661   184266.170015
6     2014-10-11    28.818317   173500.762096
7     2014-10-12    0.372000    13440860.215054

Total BTC     AVG BTC       AVG Notes
196.425040    28.060720     178185.021697

Sparkline:
██▇▇▆▆▁
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La