BitShares Forum

Main => Stakeholder Proposals => Topic started by: svk on November 12, 2014, 01:46:01 pm

Title: Developer delegate: dev.bitsharesblocks
Post by: svk on November 12, 2014, 01:46:01 pm
We live in exciting times! As I write this we are only hours from the BTSX -> BTS hardfork that will usher in a new era for Bitshares. As we all know this brings about a change in the delegate pay structure, and it will now be possible to properly reward delegates for their hard work which should help push BTS to the next level! I hope to be one of those delegates!

As discussed in this thread: https://bitsharestalk.org/index.php?topic=10949.0 (https://bitsharestalk.org/index.php?topic=10949.0) , I will be launching a new delegate to support my work on BitsharesBlocks.com as well as future projects in the Bitshares universe. The payrate will be set to 100% as this was the general consensus in the above-mentioned post. The new delegate will be a sub-account of the bitsharesblocks account:
I will also provide a free 0% payrate delegate that will be hosted on a separate server and reliably provide feeds and stay up to date. It will be called:
I’ve been running delegates since launch, so by now I have plenty of experience doing so and aim to remain one of the most reliable delegates out there.

My mission
If I am elected I commit to making the BitsharesBlocks front-end code open-source by the end of the year. This will allow you to help me improve the code and add features, and also importantly it will allow you to track the work being done.

If you want a feature added you simply create an issue on github, and track its progress there. This has the added benefit of providing another “in” for aspiring delegates to prove their worth, as they will be able to propose commits to the site and you can easily judge the quality of their submissions.

I also commit to keeping BitsharesBlocks always up to date, and to do my best to make it as awesome as possible!

Short-term Development Plans
I’ve recently updated the site for the BTS hardfork. Below is a list of things/features that I want to work on next:
Long-term Development Plans
I plan to work with Cass on a delegate presentation site, where delegates will be able to create accounts to easily present their work and make the case of why you should vote for them. I would like to make this open-source as well. More info will be available on this project when we get started for real.

I also want to make an Android version of BitsharesBlocks. The easy way out for this is to simply provide a web viewer wrapped in an app, something I’ve already done and could be launched once I have the necessary icons. Ideally though the app would be a native implementation with it’s own feature set. I could do this myself, or if we see the rise in market-cap we’re all hoping for I could even hire someone to do this for me.

Finally, if I ever find myself short of work (not likely!), I would like to port RippleCharts to Bitshares.

Conclusion
I’ve been delighted with all the support I’ve gotten so far from the community and hope you will keep believing in me! If you like what I’ve been doing and would like to see more, please vote for me!

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on November 12, 2014, 01:51:34 pm
+5% !!!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Riverhead on November 12, 2014, 01:51:49 pm
Awesome!!

You have my vote for sure.

Sent from my SM-G900T using Tapatalk

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: btswildpig on November 12, 2014, 02:40:58 pm
Thank you for your great work on bitsharesblocks .

I think you worth more than 100% pay rate by your skills .

But from a share holder point of view , 100% pay rate is a rare position , maybe only 20% of the developers can get that amount , so my personal feeling would be if you can use these incomes to do something more economical benefits for Bitshares ?

bitsharesblocks is a very practical tool for the tech users . But to most outsiders , they might not want to get into that deep .

For example , if I'm a writer , I wrote some stuff and want to sell it for BitUSD automatically . I suppose these will be such system provided by you , that I can set it up easily on a 10 USD / Month VPS , once someone send me 1 BitUSD , your system automatically send out the article through a e-Mail address(even register code for shareware , redeem code for BTC-e , every "send-able" resource you can think of ) .  That would help BitUSD get wider adoption , so it has great economical benefits .

Another example , people are finding a hard time getting the 0.1 BTS fee to register , if you can provide such a system that allow people easily set up a "give away" website that let ordinary users input their public key then send them 0.1 BTSX automatically .(input with CAPTCHA) .  This would also help promotion of BTS . Many people hate begging people around just for 0.1 BTS .

The big marketing campaign is coming on December , there will be more people who want to learn about BTS but not care about any "block" or "delegate election" ,  so the pressing issue would be how to help those ordinary users to gain useful value from the system with your excellent skills .
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 12, 2014, 03:13:50 pm
Thank you for your great work on bitsharesblocks .

I think you worth more than 100% pay rate by your skills .

But from a share holder point of view , 100% pay rate is a rare position , maybe only 20% of the developers can get that amount , so my personal feeling would be if you can use these incomes to do something more economical benefits for Bitshares ?

bitsharesblocks is a very practical tool for the tech users . But to most outsiders , they might not want to get into that deep .

For example , if I'm a writer , I wrote some stuff and want to sell it for BitUSD automatically . I suppose these will be such system provided by you , that I can set it up easily on a 10 USD / Month VPS , once someone send me 1 BitUSD , your system automatically send out the article through a e-Mail address(even register code for shareware , redeem code for BTC-e , every "send-able" resource you can think of ) .  That would help BitUSD get wider adoption , so it has great economical benefits .

Another example , people are finding a hard time getting the 0.1 BTS fee to register , if you can provide such a system that allow people easily set up a "give away" website that let ordinary users input their public key then send them 0.1 BTSX automatically .(input with CAPTCHA) .  This would also help promotion of BTS . Many people hate begging people around just for 0.1 BTS .

The big marketing campaign is coming on December , there will be more people who want to learn about BTS but not care about any "block" or "delegate election" ,  so the pressing issue would be how to help those ordinary users to gain useful value from the system with your excellent skills .

Thanks for the input. I agree that the economic benefits from bitsharesblocks are not easy to measure, but I do think it is an important service even for less technical users. With an influx of new users I think it will be even more important to have an external tool users can rely on to verify that their transactions happened and especially to check delegate information. As competition for delegates heat up, I suspect more and more people will be interested in the information provided by the site.

The registration site you're describing is basically a faucet, I believe there's already a template available for this that was used with DNS. If noone else launches one I could definitely look into doing so. Your writer's content distribution service is an interesting idea that I'll have to think about some more and maybe deserves its own topic!

For now though the projects I listed will take all of my time, but I will of course take into account community feedback on what's important and what's not. Maybe the VOTE implementation will allow shareholders to vote on the importance of different projects in order to guide developers!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on November 12, 2014, 03:26:13 pm
 +5% you'll get me vote
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on November 12, 2014, 11:17:21 pm
 +5% me2
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: emski on November 13, 2014, 08:14:07 am
This is definitely a good delegate to place your votes on.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cube on November 13, 2014, 03:12:34 pm
You have taken a big step forward.  Congratulations!

I saw your short-term plan for open-sourcing front-end.  Do you plan to open-source the back-end too?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 13, 2014, 03:15:09 pm
You have taken a big step forward.  Congratulations!

I saw your short-term plan for open-sourcing front-end.  Do you plan to open-source the back-end too?

Thank you. Yea I think I probably will, I'll start with the front-end though and then the back-end will follow if everything works out well.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 13, 2014, 07:43:54 pm
And we are go! I've just registered my delegate and it is live and kicking, ready to publish feeds. It's not the first delegate under the new system because Toast beat me to it, but it was close :)

As promised the name is: dev.bitsharesblocks, your votes are much appreciated!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on November 13, 2014, 07:56:24 pm
You have my vote. I will do it tonight.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ripplexiaoshan on November 13, 2014, 09:40:13 pm
 +5% +5% +5% I check your website everyday, for sure you will get my vote!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: arhag on November 13, 2014, 10:07:58 pm
I will be voting for your paid delegate svk. But I would like to see a IMHO very important feature on bitsharesblocks.com in the short-term:

I want bitsharesblocks.com to calculate the total pay collected by each of the delegates both in BTS and more importantly in USD (and with the option of viewing the USD value converted to other national currencies). I would like for the website to track the BTS that the delegate has publicly burned on the blockchain and factor that into the calculations. I would like the website to calculate rough estimates on how much BitUSD the delegate could have collected if they followed a policy of taking all of the BTS they collected and did not burn within a week of producing blocks and converted all of it into BitUSD over the following week on the BTS/BitUSD internal exchange (likely assuming that the distribution of their trades throughout the week are modeled as some fraction of the volume distribution in the BTS/BitUSD market during that week which gives an accumulated volume equal to the claimed BTS amount, and calculating the BTS to USD price conversion using the BTS/BitUSD prices over that week weighted by the volume distribution over that week). I want to be able to go to the delegate tab on the bitsharesblocks.com website and see each active delegate's actual BTS salary over the past week and the estimated weekly average salary in USD (along with links to show the history of these values for any given delegate).

These tools are going to be critical in allowing stakeholders to check that the delegates are burning the necessary amount of BTS to collect the salary that stakeholders think is fair for them. If they are consistently collecting higher salaries than what they promised to stakeholders, the stakeholders could easily track this on bitsharesblocks.com and vote the delegate out in response.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: starspirit on November 13, 2014, 10:53:39 pm

I plan to work with Cass on a delegate presentation site, where delegates will be able to create accounts to easily present their work and make the case of why you should vote for them. I would like to make this open-source as well. More info will be available on this project when we get started for real.


This would be very helpful. Trying to understand what delegates are doing what, how delegate names connect to the profiles we know in the forum etc, is a nightmare to work through. Making this easy for people will encourage greater voter participation.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 13, 2014, 11:12:04 pm
I will be voting for your paid delegate svk. But I would like to see a IMHO very important feature on bitsharesblocks.com in the short-term:

I want bitsharesblocks.com to calculate the total pay collected by each of the delegates both in BTS and more importantly in USD (and with the option of viewing the USD value converted to other national currencies). I would like for the website to track the BTS that the delegate has publicly burned on the blockchain and factor that into the calculations. I would like the website to calculate rough estimates on how much BitUSD the delegate could have collected if they followed a policy of taking all of the BTS they collected and did not burn within a week of producing blocks and converted all of it into BitUSD over the following week on the BTS/BitUSD internal exchange (likely assuming that the distribution of their trades throughout the week are modeled as some fraction of the volume distribution in the BTS/BitUSD market during that week which gives an accumulated volume equal to the claimed BTS amount, and calculating the BTS to USD price conversion using the BTS/BitUSD prices over that week weighted by the volume distribution over that week). I want to be able to go to the delegate tab on the bitsharesblocks.com website and see each active delegate's actual BTS salary over the past week and the estimated weekly average salary in USD (along with links to show the history of these values for any given delegate).

These tools are going to be critical in allowing stakeholders to check that the delegates are burning the necessary amount of BTS to collect the salary that stakeholders think is fair for them. If they are consistently collecting higher salaries than what they promised to stakeholders, the stakeholders could easily track this on bitsharesblocks.com and vote the delegate out in response.
Thank you. I looked up one of my previous pay withdrawals and it looks like they are flagged as such together with an account ID, so this should be feasible. The weighting by volume over a week might be a bit heavy but I'll try.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: alt on November 14, 2014, 07:52:11 am
 +5%  +5% +5%
you have my vote
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on November 14, 2014, 08:08:49 am
https://bitsharestalk.org/index.php?topic=11370.msg149705#msg149705

hope this helps a bit to simplify the voting process directly out of forum
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: wackou on November 14, 2014, 09:19:11 am
 +5% you definitely have my vote, too
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 14, 2014, 11:03:22 am
https://bitsharestalk.org/index.php?topic=11370.msg149705#msg149705

hope this helps a bit to simplify the voting process directly out of forum

This is great, thank you! Another thing I always wanted was a badge of some sort for the official developers so that newcomers can recognize them, think that's possible? I think a lot of people might not realize that someone like drltc or valzav are part of the development team for example.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: CLains on November 14, 2014, 11:35:39 am
Sounds good!  +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 15, 2014, 10:21:29 am
Thanks for all the support so far, I've got some votes already but I'm still only ranked nr 199 so keep 'em coming!

Yesterday I started looking into ways to familiarize myself with Github, and I figured a good way to do so was to contribute to the web wallet. After some back and forth with valzav I managed to make a pull request for two minor fixes: properly showing delegate ranks when filtering and nicer votes formatting.

https://github.com/BitShares/web_wallet/commit/18ee1cc3d73f614f18af359b12995977782b5bb5
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: toast on November 15, 2014, 03:28:08 pm
this is how you get a delegate seat!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Overthetop on November 15, 2014, 03:49:42 pm
Voted, and thanks for your work!   +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: CalabiYau on November 16, 2014, 08:27:05 am
Voted  +5% 
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 18, 2014, 08:51:07 am
I just want to clarify that I want to decommission my old *.svk31 delegates and only run one delegate, in case anyone was wondering about that.

I've added some tracking of earnings to the individual delegate pages, for now you'll see how much a delegate has earned, how much they've paid in fees, and a time plot of their earnings. The time plot can be deceiving because I don't have a way of telling how much a delegate was paid at a certain time, the pay per block isn't included anywhere. For those who don't know how delegate pay works, you don't get paid directly to your account but need to withdraw your earnings manually. So what I can do is find any withdrawals a delegate has made, and how much they're currently owed, and then I plot those values. For delegates who regularly make withdrawals this is then fairly accurate, for delegates who haven't yet made any withdrawals it becomes a straight line from their first block to the current date.

Up next is translations, I started working on it yesterday and just need to finish all the English strings then I'll offer it up as small bounties to add some major languages.

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on November 18, 2014, 04:29:25 pm
i just voted for you with my available BTS balance, but as discussed earlier it would be make sense to allow the bitasset and the short asset balance to vote as well. in my eyes this is total contra productive, because the most involved people (i assume anyone of you are doing some trading) will get punished with none votes. for the long run this makes no sense at all, because the BTS are just in collateral and not sold. i hope this will fixed or considered to be fixed.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: unimercio on November 18, 2014, 11:39:39 pm
Voted, Great work Thanks +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: vegolino on November 19, 2014, 02:31:20 pm
Good luck svk  +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 19, 2014, 02:47:41 pm
Thanks a lot to everyone who voted so far! I'm still working on translations but took some time out yesterday to contribute to the wallet by adding some standardized information and by defining some delegate roles. This will hopefully show up in the next version of the wallet. More info with screenshots here: https://github.com/BitShares/web_wallet/pull/464

I'm currently ranked 114th, just need a few more whales to vote now! ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: wasthatawolf on November 21, 2014, 03:09:26 am
Just gave you my vote.

Would you consider creating a simple API that I can use to populate the price and feed statistics for BitUSD here:

I put this together using Google Sheets, updates every 5 minutes using data from coinmarketcap and bitsharesblocks.com scraped via Kimonolabs API (script can easily be modified to use a more stable API).

https://docs.google.com/spreadsheets/d/1OqL3ysiSblO3PZgUX4vYcM78yUD4kt4tBF8rfQTpQLg/edit?usp=sharing

The Google Charts class is somewhat limited and won't allow creation of a Histogram chart via script.  I created two full sheet charts for histograms of the bid variance and ask variance from median feed price.  For up to date charts, you just need to modify the chart data to include the latest row.

I just need BTS/BitUSD median feed and current bid and ask prices.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 25, 2014, 08:41:50 am
I'm now in 113th place, thanks for all your support so far!

In case you missed it, I've started added translations to the site, French is currently available and Chinese will be added later today thanks to btswildpig.

I've also posted a bounty for more translations here:

https://bitsharestalk.org/index.php?topic=11695.0

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on November 25, 2014, 03:36:44 pm
Can you display the result of "blockchain_get_account_wall" for accounts?

You can view an example with the "angel" account.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on November 25, 2014, 04:28:30 pm
How much time would you commit to what you laid out in the OP per week (roughly)?

And would it be possible to get a USD/bitUSD chart on bitsharesblocks.com, respectively a feed bitusd chart?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 25, 2014, 05:28:35 pm
Can you display the result of "blockchain_get_account_wall" for accounts?

You can view an example with the "angel" account.

Definitely, the account page needs more info anyway but I hadn't noticed that command.

I'll add it tonight.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 25, 2014, 05:35:12 pm
How much time would you commit to what you laid out in the OP per week (roughly)?

And would it be possible to get a USD/bitUSD chart on bitsharesblocks.com, respectively a feed bitusd chart?

Good question! I mentioned in another post that I've arranged with my job to drop down to an 80% position, starting in January. That's in order to have more time to work on Bitshares related stuff. I'm also spending all my evenings working on this, as it happens my gf is having to live in another city for work for a while (3 years) so I'm free to do what I want on the evenings! I also tend to work quite a lot on the weekends, especially early mornings and Sunday evenings.

The rough calculation is about 4-5 hours per day Monday to Thursday, then at least 10 hours on Fridays starting in January, and another 4-5 hours per day on weekends.

That adds up to around 30-40 hours. That doesn't count all the time I spend on the forums during the day at work either ;)

I'll see about adding that chart, I'll add it to the issues on my new github page.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on November 25, 2014, 07:19:25 pm
Awesome .. +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 25, 2014, 08:02:52 pm
Can you display the result of "blockchain_get_account_wall" for accounts?

You can view an example with the "angel" account.

Done, it's live but flush your browser cache to see it:

http://bitsharesblocks.com/accounts/account?name=angel

I also took the opportunity to add whether an account is a delegate or not, both on the accounts overview and with a link on the individual page. It wasn't there before because that info is not available in the blockchain_get_account api call.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 25, 2014, 08:05:12 pm
My delegate is now LIVE, thanks everyone and especially BM for the support!! :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on November 25, 2014, 08:11:21 pm
 +5% good job! let's do some work :D
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on November 25, 2014, 08:16:38 pm
+5% good job! let's do some work :D

Looking forward to it! :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 02, 2014, 09:58:11 am
just wanted to say that your new logo is awesome !!!!
 +5% +5% +5%

(http://bitsharesblocks.com/img/bitsharesbocks-weblogo-medium.png)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 02, 2014, 10:04:06 am
just wanted to say that your new logo is awesome !!!!
 +5% +5% +5%

(http://bitsharesblocks.com/img/bitsharesbocks-weblogo-medium.png)

Thanks, I agree :) All credit to abelljefrry who made it!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on December 02, 2014, 06:27:33 pm
+5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: mike623317 on December 02, 2014, 06:33:56 pm

Thank you and i'll vote for you.

I like your - Add inflation tracking for BTS addition.

Keep up the good work and thank you.  +5% +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 02, 2014, 11:17:01 pm
I've just pushed a IMO awesome update to the delegates page of bitsharesblocks. What I've done is replaced angular with react.js for the rendering of the table, this speeds up the DOM creation immensely. While adding all 1000 delegates used to take 2-3 seconds to load at least, it's now on the order of 2-300 ms, which is faster than the time angular took to render the active delegates only. Using only the active delegates it now feels really snappy, sorting for instance is now instant! :) This means I can also add back in filtering similar to how the wallet does it, I'd removed it for being too slow with angular..

I'll be applying react wherever I think it might be beneficial in the site over the next couple days. I think this might have potential for the wallet too, I'll have to play around with to see the results.

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jamesc on December 03, 2014, 01:45:53 am
Thanks I've had my eye on reactjs.  In the web wallet, we are adding an observer pattern to reduce redundant RPC calls.   Once that is fixed, it will be great to see how it reactjs can help.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jamesc on December 03, 2014, 01:47:39 am
Congratulations on your delegate!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 04, 2014, 08:02:51 am
just wanted to say that your new logo is awesome !!!!
 +5% +5% +5%

(http://bitsharesblocks.com/img/bitsharesbocks-weblogo-medium.png)

Thanks, I agree :) All credit to abelljefrry who made it!

just to avoid potential confusion with newcomers, consider to use the original bitshares logo also (http://ts3.mm.bing.net/th?id=HN.608003241608742338&amppid=15.1),
for example on the bottom page in the left corner or where ever you think it looks better...  ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on December 04, 2014, 10:24:55 am
jsut use it like:

pwered by BitShares
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on December 04, 2014, 10:34:53 am
pwered by BitShares
:o

pwned by BitShares 8)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 04, 2014, 10:36:19 am
pwered by BitShares
:o

pwned by BitShares 8)

 :D
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: CLains on December 04, 2014, 12:55:20 pm
I've just pushed a IMO awesome update to the delegates page of bitsharesblocks. What I've done is replaced angular with react.js for the rendering of the table, this speeds up the DOM creation immensely. While adding all 1000 delegates used to take 2-3 seconds to load at least, it's now on the order of 2-300 ms, which is faster than the time angular took to render the active delegates only. Using only the active delegates it now feels really snappy, sorting for instance is now instant! :) This means I can also add back in filtering similar to how the wallet does it, I'd removed it for being too slow with angular..

I'll be applying react wherever I think it might be beneficial in the site over the next couple days. I think this might have potential for the wallet too, I'll have to play around with to see the results.

Awesome  +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on December 05, 2014, 05:55:20 am
powered by BitShares of course!

Yeah good job with react.js

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on December 05, 2014, 06:16:25 am
I've just pushed a IMO awesome update to the delegates page of bitsharesblocks. What I've done is replaced angular with react.js for the rendering of the table, this speeds up the DOM creation immensely. While adding all 1000 delegates used to take 2-3 seconds to load at least, it's now on the order of 2-300 ms, which is faster than the time angular took to render the active delegates only. Using only the active delegates it now feels really snappy, sorting for instance is now instant! :) This means I can also add back in filtering similar to how the wallet does it, I'd removed it for being too slow with angular..

I'll be applying react wherever I think it might be beneficial in the site over the next couple days. I think this might have potential for the wallet too, I'll have to play around with to see the results.
There is a reason for this... You should probably figure out the real bug... are u sure react.js will be a good path going fwd? Consider angular 2.0 think about mvc?

Its the watches that slow you down like i said before. So you must use less watches and have smarter refreshes. Angular should not be much slower at dom manipulation than anything else if done right.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 05, 2014, 05:32:11 pm
I've just pushed a IMO awesome update to the delegates page of bitsharesblocks. What I've done is replaced angular with react.js for the rendering of the table, this speeds up the DOM creation immensely. While adding all 1000 delegates used to take 2-3 seconds to load at least, it's now on the order of 2-300 ms, which is faster than the time angular took to render the active delegates only. Using only the active delegates it now feels really snappy, sorting for instance is now instant! :) This means I can also add back in filtering similar to how the wallet does it, I'd removed it for being too slow with angular..

I'll be applying react wherever I think it might be beneficial in the site over the next couple days. I think this might have potential for the wallet too, I'll have to play around with to see the results.
There is a reason for this... You should probably figure out the real bug... are u sure react.js will be a good path going fwd? Consider angular 2.0 think about mvc?

Its the watches that slow you down like i said before. So you must use less watches and have smarter refreshes. Angular should not be much slower at dom manipulation than anything else if done right.
I realize it's the watches but I've done a lot of investigation into angular performance and was never able to find a solution to this. Bindonce doesn't work for example since the order of the table can change and bindonce won't allow that.

From what I can tell this is a well-known limitation of angular when dealing with large tables of data, and using react was a very easy way to increase performance by a factor of 10.

If you have any ideas I'd be happy to try em out though, you've got a lot more experience with this kind of thing than me. I'm on Skype as svk31 if you use that!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 05, 2014, 05:45:09 pm
@svk
I have some questions:
1. User assets trading volumes doesn't show actual information. Bug or feature? Check - CSHARES have volume, but doesn't reflected.
2. Do you know where could be find comprehensive information about user issued assets? Do you have plans for expanding feature?
3. When are you going to opensource your awesome project?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 06, 2014, 02:49:34 pm
@svk
I have some questions:
1. User assets trading volumes doesn't show actual information. Bug or feature? Check - CSHARES have volume, but doesn't reflected.
2. Do you know where could be find comprehensive information about user issued assets? Do you have plans for expanding feature?
3. When are you going to opensource your awesome project?

I'm using "blockchain_market_price_history" to calculate the volume and it's not returning any transactions for CSHARES vs BTS. What's the base asset in which there's volume for CSHARES?

I think my site's the most comprehensive there is at the moment apart from the wallet itself. If you have any requests for things to add I'll be happy to hear it, I've not been focusing much on user assets I must admit.

Open-sourcing will come before the end of the month as promised in the OP, I hope to dedicate some time to preparing that once I'm home for Christmas holidays.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 06, 2014, 03:45:14 pm
@svk
I have some questions:
1. User assets trading volumes doesn't show actual information. Bug or feature? Check - CSHARES have volume, but doesn't reflected.
2. Do you know where could be find comprehensive information about user issued assets? Do you have plans for expanding feature?
3. When are you going to opensource your awesome project?

I just pushed some improvements to the user issued assets. On the overview page they're now sorted first by the ones that are initialized, I've added  a column in the table to show this.

Secondly I removed shorts from the individual asset pages since if I'm not mistaken you can't short user issued assets. Finally I fixed several small bugs that were preventing the order book from displaying properly, issuer accounts to be fetched and several other small things.

Should be more useful now!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 07, 2014, 01:18:29 pm
@svk
I have some questions:
1. User assets trading volumes doesn't show actual information. Bug or feature? Check - CSHARES have volume, but doesn't reflected.
2. Do you know where could be find comprehensive information about user issued assets? Do you have plans for expanding feature?
3. When are you going to opensource your awesome project?

I just pushed some improvements to the user issued assets. On the overview page they're now sorted first by the ones that are initialized, I've added  a column in the table to show this.

Secondly I removed shorts from the individual asset pages since if I'm not mistaken you can't short user issued assets. Finally I fixed several small bugs that were preventing the order book from displaying properly, issuer accounts to be fetched and several other small things.

Should be more useful now!

Thanks for your improvements! Open source is need to make collaboration on improvements easier. Waiting. I have a lot of ideas how to improve UIA. We are concentrating on UIA in different protocols so we've gather some real world cases. I'll post later.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 08, 2014, 12:04:17 am
First of all i propose to split Assets section into two section: bitAssets and Assets (or whatever you like) due to the different needs of information and its structure.
What i need as asset issuer:
1. Asset description - there is no data from "data" field.
2. Market info - its already comprehensive but lifetime trade volume is critical for due diligence of asset.
3. Shareholders info and analytics of asset. Nobody want to invest to asset if shareholders structure not discoverable. That is simple rich list as implemented in Next blocks. If you'll add distribution graph like you've implemented for Bitshares holders - awesome!
4. Transaction info and analytics of asset. Transaction analytics is the most critical part. No transactions - asset is dead. Number and volume for different periods (day, week, month, lifetime). List of transactions will allow to work as blockexplorer for particular asset.
That's just the most needed features! Thanks!

And by the way: Why you still didn't issue asset for you project? I would put some BTS into it! NXT dev boom happens only because every infrastructure project begin to use UIA... That is definitely best practise and i believe that it could work for opensource projects if you'll define social consensus for your repository. Any project build with your code could sharedrop to bitsharesblock holders for instance 20%, or less, or more. Just define, issue asset and put it to the market! If you'll want to appreciate me with some BTSBLCKS for an idea - thats cool and personally me will be more motivated and involved into project as far as other shareholders! I can subsidise 500 BTS for asset issuance from cyber•Fund (http://cyber.fund) team.

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on December 09, 2014, 03:59:46 am
I published price feeds but it is not reflected on the bitsharesblocks. Can you check it?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 09, 2014, 07:23:38 am
I published price feeds but it is not reflected on the bitsharesblocks. Can you check it?
Feeds only work for standby delegates starting in v0.4.25, you'll see them once we're upgraded.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on December 09, 2014, 07:40:39 am
I published price feeds but it is not reflected on the bitsharesblocks. Can you check it?
Feeds only work for standby delegates starting in v0.4.25, you'll see them once we're upgraded.

Yes I'm ready and waiting for your upgrade :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 10, 2014, 01:24:45 pm
I'm working hard behind the scenes on a rewrite of a lot of my angular controllers to improve the performance and structure of the website code. I hope to have a new version pushed to live this evening, if all goes well this will also include moving the client to v0.4.25 at which point I'll enable feed statistics for standby delegates.

In other news I've just negotiated with my boss that instead of working 80% starting January I will now do 50%, and I will also relinquish my responsibilities as team leader of a small team. My day job can be interesting enough but lately I've been far more interested in working on Bitsharesblocks and related projects, this change will give me more time to do what I love doing :)

Thanks to all of you for your support which is making this possible!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 10, 2014, 01:32:54 pm
I'm working hard behind the scenes on a rewrite of a lot of my angular controllers to improve the performance and structure of the website code. I hope to have a new version pushed to live this evening, if all goes well this will also include moving the client to v0.4.25 at which point I'll enable feed statistics for standby delegates.

In other news I've just negotiated with my boss that instead of working 80% starting January I will now do 50%, and I will also relinquish my responsibilities as team leader of a small team. My day job can be interesting enough but lately I've been far more interested in working on Bitsharesblocks and related projects, this change will give me more time to do what I love doing :)

Thanks to all of you for your support which is making this possible!

great initiative !!!
 +5% +5% +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on December 10, 2014, 01:53:18 pm
+5% ..
Maybe you can even add some brainwallet-like feature to it one day .. i push a new repo to githib.com/xeroc yesterday that creates privkey pubkey pairs in JS using btsJS .. please take a look .. would be awesome to have paperwallets.bitsharesblocks or brainwallet.bitsharesblocks ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 10, 2014, 02:14:30 pm
I'm working hard behind the scenes on a rewrite of a lot of my angular controllers to improve the performance and structure of the website code. I hope to have a new version pushed to live this evening, if all goes well this will also include moving the client to v0.4.25 at which point I'll enable feed statistics for standby delegates.

In other news I've just negotiated with my boss that instead of working 80% starting January I will now do 50%, and I will also relinquish my responsibilities as team leader of a small team. My day job can be interesting enough but lately I've been far more interested in working on Bitsharesblocks and related projects, this change will give me more time to do what I love doing :)

Thanks to all of you for your support which is making this possible!
Cool!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 10, 2014, 03:05:02 pm
+5% ..
Maybe you can even add some brainwallet-like feature to it one day .. i push a new repo to githib.com/xeroc yesterday that creates privkey pubkey pairs in JS using btsJS .. please take a look .. would be awesome to have paperwallets.bitsharesblocks or brainwallet.bitsharesblocks ;)

It's definitely something that I can imagine doing, adding functionality similar to blockchain.info. However I have a lot of learning to do about the security aspects before I'd feel comfortable doing so, and I'd probably need some help either way. Once the site is open-source it will be possible for people to propose additions like this of course.

Luckily starting in January I'll have a lot more time available to work on all this!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 10, 2014, 05:50:16 pm
@svk what about my proposals?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 10, 2014, 06:09:13 pm
First of all i propose to split Assets section into two section: bitAssets and Assets (or whatever you like) due to the different needs of information and its structure.
What i need as asset issuer:
1. Asset description - there is no data from "data" field.
2. Market info - its already comprehensive but lifetime trade volume is critical for due diligence of asset.
3. Shareholders info and analytics of asset. Nobody want to invest to asset if shareholders structure not discoverable. That is simple rich list as implemented in Next blocks. If you'll add distribution graph like you've implemented for Bitshares holders - awesome!
4. Transaction info and analytics of asset. Transaction analytics is the most critical part. No transactions - asset is dead. Number and volume for different periods (day, week, month, lifetime). List of transactions will allow to work as blockexplorer for particular asset.
That's just the most needed features! Thanks!

And by the way: Why you still didn't issue asset for you project? I would put some BTS into it! NXT dev boom happens only because every infrastructure project begin to use UIA... That is definitely best practise and i believe that it could work for opensource projects if you'll define social consensus for your repository. Any project build with your code could sharedrop to bitsharesblock holders for instance 20%, or less, or more. Just define, issue asset and put it to the market! If you'll want to appreciate me with some BTSBLCKS for an idea - thats cool and personally me will be more motivated and involved into project as far as other shareholders! I can subsidise 500 BTS for asset issuance from cyber•Fund (http://cyber.fund) team.

Thanks for the proposals!

I'm not sure all of that is feasible though.

1. Do you mean the "public_data" field? You'll have to tell me what to look for cause most assets don't have any data defined
2. Lifetime trade volume should be possible, I'll look into it.
3. Shareholders info: I don't think this is possible, given how TITAN works. Distribution could be tracked but for most assets I don't think it would be very interesting since it'll be constant at max supply from t0.
4. More transactions info should be possible, I'll keep it in mind!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 10, 2014, 06:44:04 pm
First of all i propose to split Assets section into two section: bitAssets and Assets (or whatever you like) due to the different needs of information and its structure.
What i need as asset issuer:
1. Asset description - there is no data from "data" field.
2. Market info - its already comprehensive but lifetime trade volume is critical for due diligence of asset.
3. Shareholders info and analytics of asset. Nobody want to invest to asset if shareholders structure not discoverable. That is simple rich list as implemented in Next blocks. If you'll add distribution graph like you've implemented for Bitshares holders - awesome!
4. Transaction info and analytics of asset. Transaction analytics is the most critical part. No transactions - asset is dead. Number and volume for different periods (day, week, month, lifetime). List of transactions will allow to work as blockexplorer for particular asset.
That's just the most needed features! Thanks!

And by the way: Why you still didn't issue asset for you project? I would put some BTS into it! NXT dev boom happens only because every infrastructure project begin to use UIA... That is definitely best practise and i believe that it could work for opensource projects if you'll define social consensus for your repository. Any project build with your code could sharedrop to bitsharesblock holders for instance 20%, or less, or more. Just define, issue asset and put it to the market! If you'll want to appreciate me with some BTSBLCKS for an idea - thats cool and personally me will be more motivated and involved into project as far as other shareholders! I can subsidise 500 BTS for asset issuance from cyber•Fund (http://cyber.fund) team.

Thanks for the proposals!

I'm not sure all of that is feasible though.

1. Do you mean the "public_data" field? You'll have to tell me what to look for cause most assets don't have any data defined
2. Lifetime trade volume should be possible, I'll look into it.
3. Shareholders info: I don't think this is possible, given how TITAN works. Distribution could be tracked but for most assets I don't think it would be very interesting since it'll be constant at max supply from t0.
4. More transactions info should be possible, I'll keep it in mind!
> it'll be constant at max supply from t0 - please explain.

Frankly without distribution assurance i don't believe in future of user issued assets inside BitShares platform.. As far as impossibility to distribute shares to asset holders.. Unfortunately i still don't understand how TITAN works so for me all this stuff is like a black hole.... I just can compare with usual blockchains approach...

I've had one more proposal  - to issue BTSBLCKS... What about it?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 10, 2014, 06:48:03 pm
First of all i propose to split Assets section into two section: bitAssets and Assets (or whatever you like) due to the different needs of information and its structure.
What i need as asset issuer:
1. Asset description - there is no data from "data" field.
2. Market info - its already comprehensive but lifetime trade volume is critical for due diligence of asset.
3. Shareholders info and analytics of asset. Nobody want to invest to asset if shareholders structure not discoverable. That is simple rich list as implemented in Next blocks. If you'll add distribution graph like you've implemented for Bitshares holders - awesome!
4. Transaction info and analytics of asset. Transaction analytics is the most critical part. No transactions - asset is dead. Number and volume for different periods (day, week, month, lifetime). List of transactions will allow to work as blockexplorer for particular asset.
That's just the most needed features! Thanks!

And by the way: Why you still didn't issue asset for you project? I would put some BTS into it! NXT dev boom happens only because every infrastructure project begin to use UIA... That is definitely best practise and i believe that it could work for opensource projects if you'll define social consensus for your repository. Any project build with your code could sharedrop to bitsharesblock holders for instance 20%, or less, or more. Just define, issue asset and put it to the market! If you'll want to appreciate me with some BTSBLCKS for an idea - thats cool and personally me will be more motivated and involved into project as far as other shareholders! I can subsidise 500 BTS for asset issuance from cyber•Fund (http://cyber.fund) team.

Thanks for the proposals!

I'm not sure all of that is feasible though.

1. Do you mean the "public_data" field? You'll have to tell me what to look for cause most assets don't have any data defined
2. Lifetime trade volume should be possible, I'll look into it.
3. Shareholders info: I don't think this is possible, given how TITAN works. Distribution could be tracked but for most assets I don't think it would be very interesting since it'll be constant at max supply from t0.
4. More transactions info should be possible, I'll keep it in mind!

1. Yes. I mean "public_data" field. Maybe the easiest solution to look for domain in description. But i sure that we should have asset description specification...I'll think of it.
2. Yeah.. Wait
3. Answered before.
4. The most needed!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 10, 2014, 07:03:26 pm
First of all i propose to split Assets section into two section: bitAssets and Assets (or whatever you like) due to the different needs of information and its structure.
What i need as asset issuer:
1. Asset description - there is no data from "data" field.
2. Market info - its already comprehensive but lifetime trade volume is critical for due diligence of asset.
3. Shareholders info and analytics of asset. Nobody want to invest to asset if shareholders structure not discoverable. That is simple rich list as implemented in Next blocks. If you'll add distribution graph like you've implemented for Bitshares holders - awesome!
4. Transaction info and analytics of asset. Transaction analytics is the most critical part. No transactions - asset is dead. Number and volume for different periods (day, week, month, lifetime). List of transactions will allow to work as blockexplorer for particular asset.
That's just the most needed features! Thanks!

And by the way: Why you still didn't issue asset for you project? I would put some BTS into it! NXT dev boom happens only because every infrastructure project begin to use UIA... That is definitely best practise and i believe that it could work for opensource projects if you'll define social consensus for your repository. Any project build with your code could sharedrop to bitsharesblock holders for instance 20%, or less, or more. Just define, issue asset and put it to the market! If you'll want to appreciate me with some BTSBLCKS for an idea - thats cool and personally me will be more motivated and involved into project as far as other shareholders! I can subsidise 500 BTS for asset issuance from cyber•Fund (http://cyber.fund) team.

Thanks for the proposals!

I'm not sure all of that is feasible though.

1. Do you mean the "public_data" field? You'll have to tell me what to look for cause most assets don't have any data defined
2. Lifetime trade volume should be possible, I'll look into it.
3. Shareholders info: I don't think this is possible, given how TITAN works. Distribution could be tracked but for most assets I don't think it would be very interesting since it'll be constant at max supply from t0.
4. More transactions info should be possible, I'll keep it in mind!
> it'll be constant at max supply from t0 - please explain.

Frankly without distribution assurance i don't believe in future of user issued assets inside BitShares platform.. As far as impossibility to distribute shares to asset holders.. Unfortunately i still don't understand how TITAN works so for me all this stuff is like a black hole.... I just can compare with usual blockchains approach...

I've had one more proposal  - to issue BTSBLCKS... What about it?

The way I understand it a user issued asset has it's supply decided by the issuer. In most cases it seems they just set the supply equal to the maximum from the start. Unless there's a burn of funds through transactions or deliberate action, that supply will then just stay constant.

I haven't really considering issuing an asset no, because as it stands I don't really see the utility. If they end up becoming useful I'll be happy to reconsider though.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 10, 2014, 11:49:59 pm

The way I understand it a user issued asset has it's supply decided by the issuer. In most cases it seems they just set the supply equal to the maximum from the start. Unless there's a burn of funds through transactions or deliberate action, that supply will then just stay constant.
I've catch. Yeah you right. No need to show in absolute. Only percentages that show the structure of shareholders.

I haven't really considering issuing an asset no, because as it stands I don't really see the utility. If they end up becoming useful I'll be happy to reconsider though.
Utility could be tremendous. I am looking how NXT ecosystem emerge. It happens only because participants accept build in assets as efficient way to manage domain level projects and products. If you domain project have asset so you can from day 1:
- Measure your effort through capitalization in addition to votes.
- Make deals with partners by simple exchanging assets (simple case - links to partnership sites without need to manage all this referral staff)
- Attract investments to your project. In case you build efficient funnel you'll have competitive advantage as delegate: you don't need low payoff rate.
- Motivate your teammates for result.
- Build bounty program almost for free.
And muuuch more.... The most excited thing that it is easy and cheap. And you'll be the first inside BitShares ecosystem who use UIA for infrastructure project. That is opportunity and experiment that cost nothing and has no risks at all. Common!!! I'll appreciate fucking 500 BTS for this experiment!!
For example we can exchange some BTSBLCKS for CSHARES and will have additional benefits from helping each other effectively creating value....



Title: Re: Developer delegate: dev.bitsharesblocks
Post by: toast on December 11, 2014, 12:37:26 am
It would be neat if you issued BTSBLOCK which was redeemable for a set fraction of your total ad bandwidth. With the coming asset ownership restriction option, you can do it legally.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 21xhipster on December 11, 2014, 03:12:44 am
With the coming asset ownership restriction option.
Could you clarify details of upcoming restriction?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on December 11, 2014, 03:15:46 am
With the coming asset ownership restriction option.
Could you clarify details of upcoming restriction?
The restrictions are optional can can be defined by the issuer .. one of the last hangouts has details
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: arhag on December 11, 2014, 06:45:38 am
Here are some additional features I would eventually love to see on bitsharesblock.com:
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 11, 2014, 10:00:06 am
Code: [Select]
>> blockchain_unclaimed_genesis

1,103,261,944.56647 BTS

On bitsharesblocks says that the unclaimed is:  604,259,426 BTS   
please fix  ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 11, 2014, 10:04:21 am
Code: [Select]
>> blockchain_unclaimed_genesis

1,103,261,944.56647 BTS

On bitsharesblocks says that the unclaimed is:  604,259,426 BTS   
please fix  ;)
Very strange, I'll check it out when I get home, thanks!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 11, 2014, 10:05:38 am


Here are some additional features I would eventually love to see on bitsharesblock.com:
  • Look up the details of a transaction by transaction ID. List all of the operations the transaction does (withdraw this amount from this balance, deposit this much to this balance, etc.).
  • Look up details and history of a given balance ID. See what conditions need to be satisfied to withdraw from that balance (signature for which address, multisig, etc.). Look at the history of transactions (with transaction ID links) that have deposited or withdrawn funds from that balance (similar to blockchain.info).
  • Look up history of JSON public data updates for any given BTS account.

Noted, will get to this eventually!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 11, 2014, 10:07:26 am


It would be neat if you issued BTSBLOCK which was redeemable for a set fraction of your total ad bandwidth. With the coming asset ownership restriction option, you can do it legally.

I don't have any ad revenue though ;) I might just issue an asset though and maybe someday it'll become useful..
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 11, 2014, 04:45:52 pm
When a stand by delegate has not produced a single block, reliability field should not show 0% and red but something like:

a) uknown,
b) n/a, 
c) ? , 
d) - ,
etc.

and.. green
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 11, 2014, 05:08:44 pm
When a stand by delegate has not produced a single block, reliability field should not show 0% and red but something like:

a) uknown,
b) n/a, 
c) ? , 
d) - ,
etc.

and.. green

Yea agreed, I'll add something like this.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 11, 2014, 05:09:47 pm
Code: [Select]
>> blockchain_unclaimed_genesis

1,103,261,944.56647 BTS

On bitsharesblocks says that the unclaimed is:  604,259,426 BTS   
please fix  ;)

My client actually returns this on v0.4.25-RC1:

Code: [Select]
(wallet closed) >>> blockchain_unclaimed_genesis
603,148,674.73703 BTS
(wallet closed) >>> blockchain_calculate_supply
asset: BTS
2,498,278,726.84378 BTS

Compiling RC2 now to see if that's better.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on December 11, 2014, 05:17:26 pm
Can you add a function that show availability of price feeds from marginal delegates, say rank 102~201?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 11, 2014, 05:35:52 pm
Can you add a function that show availability of price feeds from marginal delegates, say rank 102~201?

They're showing now in the overview table.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on December 11, 2014, 06:40:11 pm
Can you add a function that show availability of price feeds from marginal delegates, say rank 102~201?

They're showing now in the overview table.

Cool. Thanks  +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 11, 2014, 08:31:18 pm
Code: [Select]
>> blockchain_unclaimed_genesis

1,103,261,944.56647 BTS

On bitsharesblocks says that the unclaimed is:  604,259,426 BTS   
please fix  ;)

My client actually returns this on v0.4.25-RC1:

Code: [Select]
(wallet closed) >>> blockchain_unclaimed_genesis
603,148,674.73703 BTS
(wallet closed) >>> blockchain_calculate_supply
asset: BTS
2,498,278,726.84378 BTS

Compiling RC2 now to see if that's better.

on my v0.4.25-RC2 server:
Code: [Select]
(wallet closed) >>> blockchain_unclaimed_genesis
603,148,674.73703 BTS
[

on my v0.4.24.1 server:
Code: [Select]
>> blockchain_unclaimed_genesis

1,102,151,193.48926 BTS

that should not happen(!)....
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 11, 2014, 08:32:22 pm
Code: [Select]
>> blockchain_unclaimed_genesis

1,103,261,944.56647 BTS

On bitsharesblocks says that the unclaimed is:  604,259,426 BTS   
please fix  ;)

My client actually returns this on v0.4.25-RC1:

Code: [Select]
(wallet closed) >>> blockchain_unclaimed_genesis
603,148,674.73703 BTS
(wallet closed) >>> blockchain_calculate_supply
asset: BTS
2,498,278,726.84378 BTS

Compiling RC2 now to see if that's better.

on v0.4.25-RC2:
Code: [Select]
(wallet closed) >>> blockchain_unclaimed_genesis
603,148,674.73703 BTS
[

on v0.4.24.1:
Code: [Select]
>> blockchain_unclaimed_genesis

1,102,151,193.48926 BTS

that should not happen....

The reason is that the vested balances of 500 million BTS are no longer counted as unclaimed.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 11, 2014, 09:02:50 pm
current block should be easier to find...
(bold or/and other color maybe?)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 12, 2014, 09:40:41 am
I've shut down the client on the bitsharesblocks server to free up memory in order to try to upgrade to v0.4.25, the API is still running but there won't be any new data for a while!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 12, 2014, 10:42:11 am
Bitsharesblocks is now back up running on v0.4.25. I've also temporarily increased the number of missed blocks shown to 50 on the home page.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 12, 2014, 05:09:42 pm
I've shut down the client on the bitsharesblocks server in order to speed up the downgrade to v0.4.25-RC2. This means no updates until that downgrade is done.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 12, 2014, 06:37:53 pm
The downgrade is done for bitsharesblocks, it's back on the minority v0.4.25-RC2 fork!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on December 12, 2014, 07:59:22 pm
The downgrade is done for bitsharesblocks, it's back on the minority v0.4.25-RC2 fork!

Great now you can start the upgrade ;)   Not really required unless you are a delegate.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 12, 2014, 08:06:02 pm
The downgrade is done for bitsharesblocks, it's back on the minority v0.4.25-RC2 fork!

Great now you can start the upgrade ;)   Not really required unless you are a delegate.

Haha yea I'm on it, might as well do it straight away :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: theoretical on December 13, 2014, 05:42:06 pm

Just noticed https://bitsharesblocks.com/ is broken.  http://bitsharesblocks.com/ is fine though.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 13, 2014, 06:00:25 pm

Just noticed https://bitsharesblocks.com/ is broken.  http://bitsharesblocks.com/ is fine though.

Yea I haven't done anything to setup for https yet, will look into it. Is it necessary though?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on December 13, 2014, 07:33:00 pm
The valid feed number is incorrect; it includes non-101 delegate's feeds. Can you fix this problem?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 13, 2014, 07:49:57 pm
The valid feed number is incorrect; it includes non-101 delegate's feeds. Can you fix this problem?
Right you are, will fix it once I get home, thanks.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 16, 2014, 01:00:49 am
Quick update: like I said in an earlier post I'm currently I the process of refactoring large parts of the code for the website. I'm making good progress and am confident I'll have it ready for open sourcing before the end of the year.

I'm also fixing bugs and adding features as needed. Today I've reindexed parts of the database to make sure everything is correct after Friday's events, and I've also added a language selector so you can manually switch the language. It will remember your preferred language as well.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: onceuponatime on December 16, 2014, 01:23:19 am
@svk Would you kindly comment in this thread (to help out a new community member):

"Here is the transaction id:   Transaction #b72a5827

But I am unable to find information about this transaction in bitsharesblocks.com"

https://bitsharestalk.org/index.php?topic=12319.0
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on December 16, 2014, 02:40:12 pm
angular is broke on my iphone
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 16, 2014, 02:43:03 pm
angular is broke on my iphone

I don't have one but it works fine on my Android phone, did you try to refresh?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ripplexiaoshan on December 16, 2014, 03:15:27 pm
The delegates section of bitsharesblocks.com is not updated, while other sections are fine.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 16, 2014, 03:22:36 pm
The delegates section of bitsharesblocks.com is not updated, while other sections are fine.

Fixed now.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on December 17, 2014, 06:21:02 pm
angular is broke on my iphone

I don't have one but it works fine on my Android phone, did you try to refresh?
Yup its broken on my iphone 4...I dont think you defined react.js properly.. did you try to define it in angular somehow as a dependency? On my phone debug i gdt a react undefined and an angular dependency load error
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 17, 2014, 06:54:05 pm
angular is broke on my iphone

I don't have one but it works fine on my Android phone, did you try to refresh?
Yup its broken on my iphone 4...I dont think you defined react.js properly.. did you try to define it in angular somehow as a dependency? On my phone debug i gdt a react undefined and an angular dependency load error

Very strange, my react implementation is purely in javascript (no JSX) with the react source files loaded from cdn. Considering how it runs fine on all other browsers I'd say it's more likely an iOS/Safari quirk though, and I don't have access to an iPhone to debug this.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on December 17, 2014, 07:11:16 pm
angular is broke on my iphone

I don't have one but it works fine on my Android phone, did you try to refresh?
Yup its broken on my iphone 4...I dont think you defined react.js properly.. did you try to define it in angular somehow as a dependency? On my phone debug i gdt a react undefined and an angular dependency load error

Very strange, my react implementation is purely in javascript (no JSX) with the react source files loaded from cdn. Considering how it runs fine on all other browsers I'd say it's more likely an iOS/Safari quirk though, and I don't have access to an iPhone to debug this.
Theres gotta be a emulator out there to trst it.. infact I used this one:http://spoon.net/browsers/
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 17, 2014, 07:14:52 pm
angular is broke on my iphone

I don't have one but it works fine on my Android phone, did you try to refresh?
Yup its broken on my iphone 4...I dont think you defined react.js properly.. did you try to define it in angular somehow as a dependency? On my phone debug i gdt a react undefined and an angular dependency load error

Very strange, my react implementation is purely in javascript (no JSX) with the react source files loaded from cdn. Considering how it runs fine on all other browsers I'd say it's more likely an iOS/Safari quirk though, and I don't have access to an iPhone to debug this.
Theres gotta be a emulator out there to trst it.. infact I used this one:http://spoon.net/browsers/

Only works on windows unfortunately..
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 23, 2014, 03:07:00 pm
It may soon be Chistmas but I'm still working :)

I've been working on setting up two new api servers, one in the US for us westerners, one in Singapore for the easterners. As part of that process I've also rewritten parts of the backend code to improve various aspects. That process is now done and I've pushed an update to the frontend that now uses the new api servers. Those servers use port 80 so for those who had issues using the site because of blocked access to the api port, those issues should now be gone. I'll get around to adding https access after Christmas most likely.

I've also included a small update to the blocks overview: a new column showing what types of transactions were included in that block.

If you encounter any issues with the new api servers please let me know, if you're in Asia or Australia I'd also be interested in your feedback on the performance: is it better now than before?

Merry Christmas everyone!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on December 23, 2014, 04:50:32 pm
why dont you use a free CDN they do colocation for you and even optimize via sending diffs of code
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 23, 2014, 05:51:08 pm
why dont you use a free CDN they do colocation for you and even optimize via sending diffs of code

For the API? The website itself uses Cloudflare CDN.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on December 23, 2014, 07:02:53 pm
why dont you use a free CDN they do colocation for you and even optimize via sending diffs of code

For the API? The website itself uses Cloudflare CDN.
Can the servers not run thru cdn's for the apis?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 23, 2014, 07:39:01 pm
why dont you use a free CDN they do colocation for you and even optimize via sending diffs of code

For the API? The website itself uses Cloudflare CDN.
Can the servers not run thru cdn's for the apis?

CDNs are generally for static content though, I have dynamic content refreshing at 10s intervals so I'm not sure that could work. I did some more research and looks like some of the "next-gen" CDNs offer caching of dynamic content, I'll look into it some more to see if it's possible to use that instead.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on December 23, 2014, 09:17:16 pm
why dont you use a free CDN they do colocation for you and even optimize via sending diffs of code

For the API? The website itself uses Cloudflare CDN.
Can the servers not run thru cdn's for the apis?

CDNs are generally for static content though, I have dynamic content refreshing at 10s intervals so I'm not sure that could work. I did some more research and looks like some of the "next-gen" CDNs offer caching of dynamic content, I'll look into it some more to see if it's possible to use that instead.
Can use nginx with varnish cache to cache even dynamic content.. crowdflare has that code diff thing it will send only changes in output so might be something to look into,? Supposidly increases speed by 10x
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: islandking on December 24, 2014, 01:32:43 pm
I found an error on bitsharesblocks. When you go to "assets" and click on an asset it shows Buy BitBTS, Sell BitBTS, Short BitBTS instead of the actual asset.

http://bitsharesblocks.com/assets/asset?id=USD
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 24, 2014, 01:48:29 pm
I found an error on bitsharesblocks. When you go to "assets" and click on an asset it shows Buy BitBTS, Sell BitBTS, Short BitBTS instead of the actual asset.

http://bitsharesblocks.com/assets/asset?id=USD

Thanks, I actually literally just fixed that 5 minutes ago on my end, will push it sometime later today :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ripplexiaoshan on December 24, 2014, 09:43:16 pm
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: mdj on December 24, 2014, 11:43:11 pm
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.

Working fine with me
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 25, 2014, 09:09:36 am
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.

That is surprising, this is from inside China? Do you have any errors in your browser console? Can you give me the result of "tracert api.bitsharesblocks.com" under Windows or "traceroute api.bitsharesblocks.com" under Linux?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on December 25, 2014, 09:41:07 am
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.

on my workplace i have the same issue! i will try what you suggested for trace.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on December 25, 2014, 10:42:48 am
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.

on my workplace i have the same issue! i will try what you suggested for trace.

Guess this is a DNS problem! When i'm using VPN i got smae issue! Do you use VPN also!? If, pls check if you get same error if not!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: btswildpig on December 25, 2014, 11:14:29 am
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.

That is surprising, this is from inside China? Do you have any errors in your browser console? Can you give me the result of "tracert api.bitsharesblocks.com" under Windows or "traceroute api.bitsharesblocks.com" under Linux?

Xiaoshan is in Canada .
It works fine in China .
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 26, 2014, 03:48:25 pm
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.

on my workplace i have the same issue! i will try what you suggested for trace.

Guess this is a DNS problem! When i'm using VPN i got smae issue! Do you use VPN also!? If, pls check if you get same error if not!
Are you seeing any errors in the browser console?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on December 26, 2014, 04:45:09 pm
Many people are wanting to lookup transactions... but it seems that I cannot look them up using the short prefix. 

The links at the bottom of your website do not appear to be clickable.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 26, 2014, 07:30:24 pm
Many people are wanting to lookup transactions... but it seems that I cannot look them up using the short prefix. 

The links at the bottom of your website do not appear to be clickable.
Yea I only have the full transaction ids searchable, is the short form simply truncated from the full ids?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on December 26, 2014, 07:33:31 pm
Many people are wanting to lookup transactions... but it seems that I cannot look them up using the short prefix. 

The links at the bottom of your website do not appear to be clickable.
Yea I only have the full transaction ids searchable, is the short form simply truncated from the full ids?

Yes
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on December 26, 2014, 11:25:26 pm
why are active feeds displaying max value of 1 for all delegates that publish price-feeds right now?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ripplexiaoshan on December 26, 2014, 11:59:07 pm
It's weird that all the information on your website can not be displayed properly. Basically, only the title of each window can be displayed, but no data, no matter how many times refreshes.   
It has been like this for two days, and I know I am not alone.

That is surprising, this is from inside China? Do you have any errors in your browser console? Can you give me the result of "tracert api.bitsharesblocks.com" under Windows or "traceroute api.bitsharesblocks.com" under Linux?

Unable to resolve target system name api.bitsharesblocks.com
 :'(
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ripplexiaoshan on December 27, 2014, 07:06:47 pm
It's back to normal. Thanks. +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 27, 2014, 08:00:35 pm
It's back to normal. Thanks. +5%

That's good to hear, I'm still not sure what the problem was though..

Many people are wanting to lookup transactions... but it seems that I cannot look them up using the short prefix. 

The links at the bottom of your website do not appear to be clickable.
Yea I only have the full transaction ids searchable, is the short form simply truncated from the full ids?

Yes

I've enabled searches for short-form transaction ids.

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 31, 2014, 09:10:20 pm
As promised Bitsharesblocks is now open-source, you can find the front-end code at https://github.com/svk31/bitsharesblocks.

There's still a bit of tidying up to do and some things to change before I'm happy with it, but I wanted to get it out there as promised in my delegate proposal.  Expect more changes over the coming days.

Happy New Year everyone! :)

Oh and I'm going public with my identity on Github...
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on December 31, 2014, 09:26:49 pm
Cool!

Did you happen to check my pm and pull request?  ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on December 31, 2014, 09:28:45 pm
Cool!

Did you happen to check my pm and pull request?  ;)

Yes I just noticed, afraid I've been a bit too busy over the holidays to notice before. If it's ok with you I'll just add your modifications manually tomorrow, cause I can't merge them automatically now that the location of the files have changed.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on December 31, 2014, 10:40:55 pm
Cool!

Did you happen to check my pm and pull request?  ;)

Yes I just noticed, afraid I've been a bit too busy over the holidays to notice before. If it's ok with you I'll just add your modifications manually tomorrow, cause I can't merge them automatically now that the location of the files have changed.

If it bothersit you, just ignore my request. I will remerge your repo and commit all again.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ozvic on January 02, 2015, 11:39:28 am
Guess you're on your Chrissy holidays .. well deserved!

When you get back I assume you already know bitsharesblock.com is either on a fork or 8000+ blocks behind for some other reason. ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ozvic on January 02, 2015, 11:47:33 am
Ah, you're resyncing now. :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 02, 2015, 11:48:03 am
Guess you're on your Chrissy holidays .. well deserved!

When you get back I assume you already know bitsharesblock.com is either on a fork or 8000+ blocks behind for some other reason. ;)

Nope I'm back working! :) Didn't realize there was an issue though but you're  right, the bitshares client on the Asian api server somehow got stuck! The American server was fine which is why I didn't notice it.. I just restarted the client and it got synced back up correctly.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ozvic on January 02, 2015, 11:49:34 am
No worries. Think it's been like that for around 24 hours. Noticed it last night around this time. (Sydney GMT +11 time).
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: ozvic on January 02, 2015, 12:21:33 pm
BTW, your v0.4.27.2's are still coming up orange.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 02, 2015, 12:47:48 pm
BTW, your v0.4.27.2's are still coming up orange.

Indeed, I added an issue on github for it so I don't forget, will get to it later.

https://github.com/svk31/bitsharesblocks/issues/13
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 02, 2015, 01:04:29 pm
I've made a simple rpc client for nodejs to use with Bitshares that I've published to npm and github. It's basically what I've been using for my backend but slightly more formalized in a package that you can "npm install" and then "require". You can find it here:

https://github.com/svk31/bitshares-rpc

Installation through npm:

Code: [Select]
npm install bitshares-rpc
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Empirical1.1 on January 03, 2015, 03:36:37 am
Just want to say BitSharesblocks is looking great, love linking to it in topics, everything is well laid out, clear, it makes us look good. Thanks very much and keep up the great work!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 04, 2015, 09:36:55 am
Just want to say BitSharesblocks is looking great, love linking to it in topics, everything is well laid out, clear, it makes us look good. Thanks very much and keep up the great work!

Thank you! :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on January 04, 2015, 10:48:35 am
It would be great to have the line with all the category titles stay visible when scrolling down. For example on http://bitsharesblocks.com/delegates the first row with all the categories (rank, 24 hour change etc.) could stay on top of my screen when I scroll down so that I don't have to scroll up again and remember which column was which and then scroll down again to check what I wanted to check...  complicated explanation but I hope it became clear what I mean :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 04, 2015, 10:50:44 am
It would be great to have the line with all the category titles stay visible when scrolling down. For example on http://bitsharesblocks.com/delegates the first row with all the categories (rank, 24 hour change etc.) could stay on top of my screen when I scroll down so that I don't have to scroll up again and remember which column was which and then scroll down again to check what I wanted to check...  complicated explanation but I hope it became clear what I mean :)

I've been thinking the same actually, similar to how you can fix the upper row in Excel. Not sure it's possible with a standard table but I can look into it.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on January 04, 2015, 12:37:47 pm
It would be great to have the line with all the category titles stay visible when scrolling down. For example on http://bitsharesblocks.com/delegates the first row with all the categories (rank, 24 hour change etc.) could stay on top of my screen when I scroll down so that I don't have to scroll up again and remember which column was which and then scroll down again to check what I wanted to check...  complicated explanation but I hope it became clear what I mean :)

I've been thinking the same actually, similar to how you can fix the upper row in Excel. Not sure it's possible with a standard table but I can look into it.
I am glad you understood what I was saying :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 04, 2015, 08:45:15 pm
I've just pushed a pretty cool new feature (at least in my opinion), and it's something I've wanted to do for a while now!

On the blocks overview, instead of the checkbox that used to let you show only transactions you will now see a dropdown selection box on the right side. In that dropdown you can choose any type of transaction that you wish to see, and you can also combine different types. This lets you easily browse through for example all blocks containing an asset creation transaction, or a cover transaction etc. If you are on the "recent" page, ie the first page, you will automatically receive only new blocks containing the chosen transaction types.

To return to the default view of showing all blocks, simply deselect any transaction types in the dropdown.

There might be bugs so let me know if you find any, and although I've done my best to optimize the search operations on the backend they're still a little slow sometimes. I could also use some help with translations for some of the new terms, you can find them on github.

I've also temporarily disabled an api call that was fetching a list of delegate names that might've been the cause of some recent access issues people have been having, I'm gonna rewrite that part tomorrow but until then you won't see the name of the delegate who caused the previous fork and the typeahead in the delegates overview doesn't work.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 05, 2015, 11:40:11 am
Looks like I just broke the delegates overview with an update I just pushed, I know why but I'm at my day-job so I'll have to fix it once I get home in a few hours, everything else should work. Sorry about that.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on January 05, 2015, 02:23:41 pm
ok thx for sharing this info! Yes delegate overview is broken currently!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 05, 2015, 05:09:58 pm
ok thx for sharing this info! Yes delegate overview is broken currently!

It's fixed now, I also pushed some more minor fixes so everything should work well on Firefox and Chrome at least.

This means you can now use the new feature that I pushed this morning and that broke things: Selecting whether to display active, standby or both types of delegates in the overview. Similar to how you can filter for transaction types, you can now do the same for delegates. What's different from before is that you can now display only standby delegates by themselves which was not possible before.

I've also increased the threshold for standby delegates to be included in the list, they're only shown if they have more than 100k votes. It's a simple way of filtering out delegates that really aren't active at all.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 05, 2015, 10:25:19 pm
I've just pushed another new feature: the ability to manually select your API server. Some people have been encountering issues when being directed to the Asian server, this will let them override the geoDNS resolution. This will also serve as a failsave if ever one of the servers have an issue (stuck or on a fork for example). In that case you can try switching servers, as they're independent the other might be running ok.

You'll find the switch at the bottom on the footer, next to the language selector.

I've also just enabled Japanese translations, thanks to Clayop and his friend for that.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: matt608 on January 05, 2015, 10:51:28 pm
In Safari I get errors:

 (http://i.imgur.com/IFwyg71.png)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 05, 2015, 10:53:04 pm
In Safari I get errors:

 (http://i.imgur.com/IFwyg71.png)
I saw something like that too once but a refresh cleared it and I wasn't able to reproduce it. Can you see any errors in the console?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: matt608 on January 06, 2015, 12:04:36 pm
It's all working again now :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on January 06, 2015, 09:52:18 pm
Can you create an embeddable iframe that looks something like this:
(http://screenshots.en.sftcdn.net/en/scrn/70000/70374/3_istocks.jpg)

It should include the top BitAssets.   I would like to embed this in BitShares.org
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on January 06, 2015, 10:06:19 pm
I would also like to see a page that looks like this:

http://www.ripplecharts.com/#/

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on January 06, 2015, 10:17:49 pm
I would also like to see a page that looks like this:

http://www.ripplecharts.com/#/

I would like to see instead of  http://bitshares.org/ something like this also ....  https://ripple.com/
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on January 06, 2015, 10:37:32 pm
I would also like to see a page that looks like this:

http://www.ripplecharts.com/#/

I would like to see instead of  http://bitshares.org/ something like this also ....  https://ripple.com/

Working on it :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on January 06, 2015, 10:42:32 pm
I would also like to see a page that looks like this:

http://www.ripplecharts.com/#/

Adding on this, could you add "average APR(based on last month period?)" of each bitAssets? It would boost buying power toward bitAssets.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 07, 2015, 08:57:42 am
I would also like to see a page that looks like this:

http://www.ripplecharts.com/#/

Adding on this, could you add "average APR(based on last month period?)" of each bitAssets? It would boost buying power toward bitAssets.

Yes, I added an issue for this yesterday: https://github.com/svk31/bitsharesblocks/issues/21, I'll get to it tomorrow most likely.

Can you create an embeddable iframe that looks something like this:
(http://screenshots.en.sftcdn.net/en/scrn/70000/70374/3_istocks.jpg)

It should include the top BitAssets.   I would like to embed this in BitShares.org

I can try sure, but because of how angular apps work I think you'll be loading the entire app every time someone loads the iframe which is overkill. I'll see if I can host it differently and possibly pre-render it.

I would also like to see a page that looks like this:

http://www.ripplecharts.com/#/



I've been thinking of adding a "Markets" tab that would have functionality similar to ripplecharts, I just want to make sure everything is working as expected before adding more stuff. I think I'm just about there, so I'll start working on this pretty soon.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on January 07, 2015, 10:15:25 pm
you have everywhere the option to change to CNY, USD, BTC ... please add EUR also  ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on January 07, 2015, 10:36:52 pm
you have everywhere the option to change to CNY, USD, BTC ... please add EUR also  ;)

good one :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 08, 2015, 11:42:47 am
you have everywhere the option to change to CNY, USD, BTC ... please add EUR also  ;)

Can do.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 08, 2015, 11:47:03 am
I've added Devshares support! You can find the new site for Devshares at http://dvs.bitsharesblocks.com.

I'm currently just using BTS prices for all price info, you can ignore it until we get an actual price for DVS.

One thing I'm not quite sure about is the genesis distribution, the genesis json has two distributions "initial_distribution" and "sharedrop_balances". Using a precision of 10^5 for both I get a total supply of 2.457 billion which corresponds quite well with the actual current supply. However the sharedrop is only 457 million, what's the final percent allocations for DVS?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: islandking on January 08, 2015, 11:49:06 pm
What is the difference between the BTSX and the BTS genesis blocks?

http://bitsharesblocks.com/genesis-btsx
http://bitsharesblocks.com/genesis-bts
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 09, 2015, 07:55:43 am
What is the difference between the BTSX and the BTS genesis blocks?

http://bitsharesblocks.com/genesis-btsx
http://bitsharesblocks.com/genesis-bts

The BTSX genesis block is the original block used for the launch of BTSX. The BTS genesis block is the one used to launch BTS, and is a snapshot of of BTSX distribution at that time as well as the allocations to DNS/PTS/AGS/VOTE.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: bytemaster on January 09, 2015, 05:42:47 pm
Can you add the ability to fetch the BTC address for the BTS Public Key under an accounts Active Key History and then provide a JSON RPC API that will allow people to lookup Bitcoin addresses for people that have registered accounts on BTS?   Perhaps have an option to return the address in several of the top crypto currencies. 

This way people can use our ID system for all crypto platforms and easily share it with people. 
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 09, 2015, 07:06:11 pm
Can you add the ability to fetch the BTC address for the BTS Public Key under an accounts Active Key History and then provide a JSON RPC API that will allow people to lookup Bitcoin addresses for people that have registered accounts on BTS?   Perhaps have an option to return the address in several of the top crypto currencies. 

This way people can use our ID system for all crypto platforms and easily share it with people.

Sure, is there a way to generate those addresses with the client? Or as part of bitshares-js? If not I believe Xeroc wrote something like that in python.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on January 09, 2015, 07:27:31 pm
Can you add the ability to fetch the BTC address for the BTS Public Key under an accounts Active Key History and then provide a JSON RPC API that will allow people to lookup Bitcoin addresses for people that have registered accounts on BTS?   Perhaps have an option to return the address in several of the top crypto currencies. 

This way people can use our ID system for all crypto platforms and easily share it with people.

Sure, is there a way to generate those addresses with the client? Or as part of bitshares-js? If not I believe Xeroc wrote something like that in python.
You can take a look at the genbtskey.py script in pytshares .. its quite easy to do .. for altcoins you need a different version prefix instead of 0

:if you need assitance just send me a pm
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: theoretical on January 09, 2015, 11:27:29 pm
Can you add the ability to fetch the BTC address for the BTS Public Key under an accounts Active Key History and then provide a JSON RPC API that will allow people to lookup Bitcoin addresses for people that have registered accounts on BTS?   Perhaps have an option to return the address in several of the top crypto currencies. 

This way people can use our ID system for all crypto platforms and easily share it with people.

This is better accomplished by writing a standard spec for users to specify addresses for other cryptos in public data or object graph.

Importing the same private key into N different cryptocoin clients means that all of the different cryptos owned by that key will be lost if any of the clients that has that key is compromised.

My worry is that some of the more obscure altcoins may not have enough eyes on their source to avoid key stealing back doors.  And the more we encourage behaviors that require people to re-use the same keys in multiple clients, the more potentially lucrative the attack vector would become.

You might be able to use Diffie-Hellman to take a user's public key K and the name of the altcoin, say N = "DOGE", and determine some new pubkey K' = f(K, N), then K' is your Doge key.  Clearly you can get the private key for K' if you have the private key for K -- that's kind of the point of this whole construction.  But if you can "go backwards", i.e. get the private key for K from the private key for K', then it defeats the purpose (compromising your Doge private key gives the attacker enough to derive your BTS private key).  I'd have to study ECDH in detail for a while to figure out if "going backwards" is possible or not.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jshow5555 on January 10, 2015, 04:28:18 pm
First off - great site svk!!!

Several minor issues:

- Prices for Bid/Ask/Short are in BTSper asset (USD,CNY,BTC), but the feed price is in USD/BTS;
Example Bid 19500, Ask 20600 feed price 0.0005

- You display the average feed price now - not very useful info. Can you display the median feed price - the actual price used for shorting etc.

- At least when using the I explorer browser, if you leave the page for a while it reloads some old state of the database- I mean the order-book  -  bid ask and short orders. If you do not get what I mean I can probably post some snapshots.

Thanks.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on January 10, 2015, 04:32:29 pm
Can you add the ability to fetch the BTC address for the BTS Public Key under an accounts Active Key History and then provide a JSON RPC API that will allow people to lookup Bitcoin addresses for people that have registered accounts on BTS?   Perhaps have an option to return the address in several of the top crypto currencies. 

This way people can use our ID system for all crypto platforms and easily share it with people.

This is better accomplished by writing a standard spec for users to specify addresses for other cryptos in public data or object graph.

Importing the same private key into N different cryptocoin clients means that all of the different cryptos owned by that key will be lost if any of the clients that has that key is compromised.

My worry is that some of the more obscure altcoins may not have enough eyes on their source to avoid key stealing back doors.  And the more we encourage behaviors that require people to re-use the same keys in multiple clients, the more potentially lucrative the attack vector would become.

You might be able to use Diffie-Hellman to take a user's public key K and the name of the altcoin, say N = "DOGE", and determine some new pubkey K' = f(K, N), then K' is your Doge key.  Clearly you can get the private key for K' if you have the private key for K -- that's kind of the point of this whole construction.  But if you can "go backwards", i.e. get the private key for K from the private key for K', then it defeats the purpose (compromising your Doge private key gives the attacker enough to derive your BTS private key).  I'd have to study ECDH in detail for a while to figure out if "going backwards" is possible or not.
+5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 11, 2015, 12:30:16 pm
First off - great site svk!!!

Several minor issues:

- Prices for Bid/Ask/Short are in BTSper asset (USD,CNY,BTC), but the feed price is in USD/BTS;
Example Bid 19500, Ask 20600 feed price 0.0005

- You display the average feed price now - not very useful info. Can you display the median feed price - the actual price used for shorting etc.

- At least when using the I explorer browser, if you leave the page for a while it reloads some old state of the database- I mean the order-book  -  bid ask and short orders. If you do not get what I mean I can probably post some snapshots.

Thanks.

Thank you. I've kept the feed price like that because that's how we enter it in the client, but I suppose it might be more appropriate at least on the individual asset pages to have it in the same sense as the rest of the price data.

You're right about the average feed, good catch, I used to have the median but the source I was using got removed from the rpc output so I switched to the average and never fixed it. I believe they added a new RPC call for that so I'll see if i can just use that, if not I'll calculate it correctly.

TBH I've never done anything to account for IE bugs, I never use it myself and generally don't think people should. Is it on a recent version of IE you're seeing that bug?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on January 11, 2015, 01:06:32 pm
The BURN-BOX most times(?) don't appear at all at the bottom... only the first line... :(

Code: [Select]
Block number Account Name Amount Message
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 11, 2015, 01:08:23 pm
The BURN-BOX most times(?) don't appear at all at the bottom... only the first line... :(

Code: [Select]
Block number Account Name Amount Message

I just pushed a small update to the api server and that restarts the nodejs server, you may just have tried to load it at that time.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on January 11, 2015, 01:10:53 pm
The BURN-BOX most times(?) don't appear at all at the bottom... only the first line... :(

Code: [Select]
Block number Account Name Amount Message

I just pushed a small update to the api server and that restarts the nodejs server, you may just have tried to load it at that time.

seems ok now  ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on January 13, 2015, 12:48:42 pm
Can you add the "current inflation rate (year)" as a graphics ...
it should be something along the line of graphic "TOTAL SUPPLY OF BTS" .. just a derivative over time and normalized for 365 days ..

That would be a great figure for investors
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 13, 2015, 01:35:09 pm
Can you add the "current inflation rate (year)" as a graphics ...
it should be something along the line of graphic "TOTAL SUPPLY OF BTS" .. just a derivative over time and normalized for 365 days ..

That would be a great figure for investors
Good idea, I was actually planning to refactor the charts page later today, I'll see if I can add this while I'm at it.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on January 13, 2015, 01:45:20 pm
awesome!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: emski on January 13, 2015, 03:08:56 pm
Suggested feature:
Automatic checkpoints.json export from website.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: wackou on January 13, 2015, 04:55:14 pm
Suggested feature:
Automatic checkpoints.json export from website.

 +5% that would be really nice
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on January 13, 2015, 05:48:28 pm
What is this message all about? 

S_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 13, 2015, 06:05:06 pm
What is this message all about? 

S_ERROR_DOM_QUOTA_REACHED: Persistent storage maximum size reached

Ouch, looks like I'm storing too much data using local storage, did not think I would get there that fast! If you're on Chrome it's easy to clear it: right click anywhere then click on inspect element, then go to "resources" and "local storage". You can delete anything from bitsharesblocks, it's safe.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: islandking on January 14, 2015, 12:19:13 am
The website has been loading really slow for me lately. I am using firefox and it freezes up when I try to clicking on the navigation tabs.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 14, 2015, 08:26:33 am
The website has been loading really slow for me lately. I am using firefox and it freezes up when I try to clicking on the navigation tabs.

I'm using Firefox at work on a really slow machine and it works fine, except for the Transactions tab under Charts -> General. Looks like Firefox has some performance issues with highcharts, I've been looking into it but haven't found any magic pills yet.

Can you be a bit more specific please? Specs of your computer, OS, internet connection speed, and where exactly you see the issue? Is it all the tabs?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 15, 2015, 01:28:50 pm
Can you add the "current inflation rate (year)" as a graphics ...
it should be something along the line of graphic "TOTAL SUPPLY OF BTS" .. just a derivative over time and normalized for 365 days ..

That would be a great figure for investors

I've added this instead of the supply change chart, the scale on that chart was so big it was useless anyway. You can find it under Charts -> General -> SUPPLY CHARTS. I'm using a very simple formula of (supply_day_1-supply_day_0) / (time_day_1-time_day_0) * 1*year. It seems to give reasonable results, but I'm open to modifications.

I've also updated Bitsharesblocks to v0.5.0. As some of the fields in the transaction structure of the client have been changed I also needed to update some of my transaction handling on the front-end. If you're getting errors browsing through blocks or not seeing the total value in a block this is why, it means you need to refresh the site to get the new version.

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on January 15, 2015, 09:11:08 pm
I don't like the flipped output of pricefeeds, I preferred it like it was since that is the way we make the input.... for example  0.011 USD

Active feeds: 83
Average Feed Price: 92.73 BTS/USD
Median Feed Price: 91.24 BTS/USD

http://bitsharesblocks.com/assets/asset?id=USD
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 15, 2015, 09:22:54 pm
I don't like the flipped output of pricefeeds, I preferred it like it was since that is the way we make the input.... for example  0.011 USD

Active feeds: 83
Average Feed Price: 92.73 BTS/USD
Median Feed Price: 91.24 BTS/USD

http://bitsharesblocks.com/assets/asset?id=USD

You still have that on the overview page though, I preferred having all the prices consistent basically.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: matt608 on January 17, 2015, 06:53:36 pm
Woah just noticed the collateral is now viewable!
http://www.bitsharesblocks.com/assets/market

Nice!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: islandking on January 17, 2015, 08:57:28 pm
The website has been loading really slow for me lately. I am using firefox and it freezes up when I try to clicking on the navigation tabs.

I'm using Firefox at work on a really slow machine and it works fine, except for the Transactions tab under Charts -> General. Looks like Firefox has some performance issues with highcharts, I've been looking into it but haven't found any magic pills yet.

Can you be a bit more specific please? Specs of your computer, OS, internet connection speed, and where exactly you see the issue? Is it all the tabs?

Yeah its the charts. It seems to become slow/crash when it tries to load them on the "General" charts section.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 19, 2015, 08:37:04 am
The website has been loading really slow for me lately. I am using firefox and it freezes up when I try to clicking on the navigation tabs.

I'm using Firefox at work on a really slow machine and it works fine, except for the Transactions tab under Charts -> General. Looks like Firefox has some performance issues with highcharts, I've been looking into it but haven't found any magic pills yet.

Can you be a bit more specific please? Specs of your computer, OS, internet connection speed, and where exactly you see the issue? Is it all the tabs?

Yeah its the charts. It seems to become slow/crash when it tries to load them on the "General" charts section.

Can you try it again please? You'll need to refresh the site to get the latest updates. I rewrote the backend part that prepares the data for these charts yesterday so that you now need to load far less data for these charts. On my own computer it no longer freezes thanks to this.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: mint chocolate chip on January 19, 2015, 04:49:17 pm
svk,

You can improve your seo a lot (and increase organic traffic) by fixing this issue:

The title and description is identical on all of your pages. Unique titles (especially) and descriptions that match the content of each page are recommended.
  <title>BitsharesBlocks - Bitshares Blockchain Explorer and Delegates Info</title>
  <meta name="description" content="Bitshares Block Explorer, Delegates Listing, Assets Overview. Realtime updates, block search, asset information for the next-gen 2.0 crypto Bitshares"></head>
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 19, 2015, 05:36:51 pm
svk,

You can improve your seo a lot (and increase organic traffic) by fixing this issue:

The title and description is identical on all of your pages. Unique titles (especially) and descriptions that match the content of each page are recommended.
  <title>BitsharesBlocks - Bitshares Blockchain Explorer and Delegates Info</title>
  <meta name="description" content="Bitshares Block Explorer, Delegates Listing, Assets Overview. Realtime updates, block search, asset information for the next-gen 2.0 crypto Bitshares"></head>

Thanks for the tip, I'll see if I can add that later today!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: islandking on January 19, 2015, 06:22:12 pm
The website has been loading really slow for me lately. I am using firefox and it freezes up when I try to clicking on the navigation tabs.

I'm using Firefox at work on a really slow machine and it works fine, except for the Transactions tab under Charts -> General. Looks like Firefox has some performance issues with highcharts, I've been looking into it but haven't found any magic pills yet.

Can you be a bit more specific please? Specs of your computer, OS, internet connection speed, and where exactly you see the issue? Is it all the tabs?

Yeah its the charts. It seems to become slow/crash when it tries to load them on the "General" charts section.

Can you try it again please? You'll need to refresh the site to get the latest updates. I rewrote the backend part that prepares the data for these charts yesterday so that you now need to load far less data for these charts. On my own computer it no longer freezes thanks to this.

 +5% It loads fine now for me. Thanks!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on January 22, 2015, 06:17:34 am
market volume in Silver are not correct. I traded the last 24 Silver and the volume is 0.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 22, 2015, 03:12:43 pm
market volume in Silver are not correct. I traded the last 24 Silver and the volume is 0.

I'm having to rely on price history data to calculate the volume so there's a certain delay before it shows up. I think you can consider the 24 volume to be delayed by up to an hour in the worst case. I'll improve this eventually but I'm limited by the performance of the client atm.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 22, 2015, 03:22:15 pm
I've added two new features today. The first is that you can now see the block in which an account was registered in addition to the date, it's a small change but handy imo.

The second is a bigger feature: I'm now tracking feed prices over time as well as the 24 hour volume weighted average for all market assets. I'm also tracking the current price via the last completed trade, and I'm using all this to plot the deviation from the feed value of the actual trades within the system. You can check it out here:

http://bitsharesblocks.com/charts/feeds?asset=USD

A couple things to note: if there hasn't been any trades within the last hour, I'm setting the "Latest price" equal to the feed price. This is to mitigate the effect the feed moving without any trades happening would have on the deviation statistics. Secondly, if there's no volume in the last 24 hours, I do the same for the volume weighted average. Thirdly, the deviation is calculated with respect to the "Latest price", not the volume weighted average. As this is a single trade it might be further off from the feed price than the average price, please don't use that as an argument that the peg is failing, it isn't..

Fourth: there's only a couple hours of data so far so it's not that interesting yet, but it will hopefully grow in usefulness.

Enjoy :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: lzr1900 on January 22, 2015, 03:31:58 pm
Hello svk.
Can you fix this small display bug?(http://i.imgur.com/hpakw89.png)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 22, 2015, 03:44:28 pm
Hello svk.
Can you fix this small display bug?...

Yes I can! Try it now :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on January 22, 2015, 09:17:49 pm
market volume in Silver are not correct. I traded the last 24 Silver and the volume is 0.

I'm having to rely on price history data to calculate the volume so there's a certain delay before it shows up. I think you can consider the 24 volume to be delayed by up to an hour in the worst case. I'll improve this eventually but I'm limited by the performance of the client atm.

i am not sure if this is the case. the traded silver never shown as volumen.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 22, 2015, 10:52:17 pm
market volume in Silver are not correct. I traded the last 24 Silver and the volume is 0.

I'm having to rely on price history data to calculate the volume so there's a certain delay before it shows up. I think you can consider the 24 volume to be delayed by up to an hour in the worst case. I'll improve this eventually but I'm limited by the performance of the client atm.

i am not sure if this is the case. the traded silver never shown as volumen.

You appear to be right, I've made a Github issue for this: https://github.com/BitShares/bitshares/issues/1300

The discrepancy appears to be huge, I was using about 500 BTS of volume but the actual volume is >200k BTS
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 23, 2015, 04:31:56 pm
I've made some modifications to the asset pages, it is now split into two tabs: Orderbook and Asset Info. This means old links like assets/asset?id=USD no longer work, the new syntax is:

http://bitsharesblocks.com/asset/orderbook?asset=USD

http://bitsharesblocks.com/asset/info?asset=GOLD

I've also made lots of small fixes, notably I've corrected the sorting for shorts, they're now sorted by price limit first and interest second.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on January 23, 2015, 06:20:20 pm
I've made some modifications to the asset pages, it is now split into two tabs: Orderbook and Asset Info. This means old links like assets/asset?id=USD no longer work, the new syntax is:

http://bitsharesblocks.com/asset/orderbook?asset=USD

http://bitsharesblocks.com/asset/info?asset=GOLD

I've also made lots of small fixes, notably I've corrected the sorting for shorts, they're now sorted by price limit first and interest second.
That makes sense!  +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: nicocesar on January 24, 2015, 01:27:34 am
Great work!!! I'm just getting into the community and your webpage helped me a lot!! thanks! 

about SEO, there are some free tools that help to give a quick bullet list of things to improve: https://www.lipperhey.com/en/analysis/quick/ (https://www.lipperhey.com/en/analysis/quick/) most of them take 2 minutes to fix.



Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on January 31, 2015, 10:03:18 pm
I've just pushed a pretty huge update to Bitsharesblocks, especially on the backend. I've rewritten large parts of the backend to be more reactive and be able to handle tracking order books for all assets. Simply put it now only updates those assets which have seen action since the last time it updated, while before it was simply on a fixed interval. The order_history command is too heavy for a fixed update frequency but this way it works.

You'll see the following new on the assets pages:
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on February 01, 2015, 03:23:55 pm
I can't see any data the last hours from bitsharesblocks
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on February 01, 2015, 03:25:13 pm
yup same for me!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 01, 2015, 03:26:26 pm
I can't see any data the last hours from bitsharesblocks
Yea I just got a message about this, looks like the backend is down but for the first time in a long time I'm away for the day with no access to my computer. I'll see if I can get to it from my phone, but you can also switch the api server using the button in the footer.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on February 01, 2015, 04:09:54 pm
ok yes get some rest :) have published your post on skype also!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on February 05, 2015, 01:37:21 am
https://bitsharesblocks.com/
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cube on February 05, 2015, 07:30:17 am
I can't see any data the last hours from bitsharesblocks
Yea I just got a message about this, looks like the backend is down but for the first time in a long time I'm away for the day with no access to my computer. I'll see if I can get to it from my phone, but you can also switch the api server using the button in the footer.

You are doing an important service. Can we have someone to back you up while you are away/absent?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 05, 2015, 09:16:58 am
https://bitsharesblocks.com/

Should be working now :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on February 05, 2015, 09:23:19 am
https://bitsharesblocks.com/

Should be working now :)

yeah!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on February 06, 2015, 12:42:31 pm
I can't see "Delegates info" anymore...
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: davidpbrown on February 06, 2015, 02:26:32 pm
I see data but it looks like the feed is stalled [Last update:2/3/15 11:39 PM], which I suppose must be 3rd Feb - I do wish the US would use date format dd/mm/yy.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 06, 2015, 02:30:45 pm
I see data but it looks like the feed is stalled [Last update:2/3/15 11:39 PM], which I suppose must be 3rd Feb - I do wish the US would use date format dd/mm/yy.

The site is working fine from here, it might be related to the switch to https a few days back. Are you getting any errors in the console?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: matt608 on February 06, 2015, 04:25:06 pm
What's going on with the feeds chart?
https://bitsharesblocks.com/charts/feeds?asset=usd

http://i.imgur.com/6Fxdaku.png
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 06, 2015, 04:27:33 pm
What's going on with the feeds chart?
https://bitsharesblocks.com/charts/feeds?asset=usd

http://i.imgur.com/6Fxdaku.png

Haha wow looks like I broke it with some back-end changes a few days ago, will fix it.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 06, 2015, 05:45:16 pm
on my ipad the standby vs non standy filter is hidden aswell as the search delegate unless I click onthe filter input.. seems like you added a tab to the top that threw off the header.. theres a bunch of empty space and pushed everything down
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 06, 2015, 05:59:27 pm
What's going on with the feeds chart?
https://bitsharesblocks.com/charts/feeds?asset=usd

http://i.imgur.com/6Fxdaku.png

Fixed now, sorry about that.

on my ipad the standby vs non standy filter is hidden aswell as the search delegate unless I click onthe filter input.. seems like you added a tab to the top that threw off the header.. theres a bunch of empty space and pushed everything down

It was the navbar collapse not handling that sweet spot between phone and desktop, I pushed an update so it should be fine now!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 06, 2015, 06:29:32 pm
What's going on with the feeds chart?
https://bitsharesblocks.com/charts/feeds?asset=usd

http://i.imgur.com/6Fxdaku.png

Fixed now, sorry about that.

on my ipad the standby vs non standy filter is hidden aswell as the search delegate unless I click onthe filter input.. seems like you added a tab to the top that threw off the header.. theres a bunch of empty space and pushed everything down

It was the navbar collapse not handling that sweet spot between phone and desktop, I pushed an update so it should be fine now!

Shouldn't bootstrap handle that automagically?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: davidpbrown on February 06, 2015, 07:30:09 pm
I see data but it looks like the feed is stalled [Last update:2/3/15 11:39 PM], which I suppose must be 3rd Feb - I do wish the US would use date format dd/mm/yy.

The site is working fine from here, it might be related to the switch to https a few days back. Are you getting any errors in the console?

I didn't see error but list_forks does suggest a couple blocks not on the current chain.. but at 99% participation, so I can't make sense of whether there's an issue or not. Anyhow just restarted to see if it fixes itself.

See http://dvs.bitsharesblocks.com/delegates/delegate?name=devshares.warlock last block produced was 260968 not 243541 .. and pay balance has advanced. See the update time on that detail is 3rd Feb. Perhaps just needs a nudge.. as surely that should update the time, if not the detail?

:-\

Edit: I just noticed the DVS VOTES EVOLUTION is blank too.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: rgcrypto on February 08, 2015, 05:00:00 am
TOTAL NUMBER OF ACCOUNTS at 0 for the past week.

(I know 8 people registered through my links.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: btswildpig on February 08, 2015, 05:09:26 am
TOTAL NUMBER OF ACCOUNTS at 0 for the past week.

(I know 8 people registered through my links.

I wouldn't expect any thing different .
Esp. in this crypto winter .

Better than Bitcoin means nothing to normal people , because they don't even care about Bitcoin in the first place .

Promote business willing to accept BTA will be another viable approach , peopele will use BTA just like when they use Paypal . They don't even need to know Paypal is better than whom , just know Paypal can pay .
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 08, 2015, 08:19:23 am
TOTAL NUMBER OF ACCOUNTS at 0 for the past week.

(I know 8 people registered through my links.

Fixed
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: arhag on February 08, 2015, 06:34:36 pm
What's going on with the market page (for example https://bitsharesblocks.com/asset/orderbook?asset=USD)? I am watching the orders and transaction history, and it keeps oscillating between the present state and the state as of two days ago. Literally, the order history shows the last order as one that occurred on Feb 8 at one moment and then the last order suddenly becomes one that occurred at Feb 6. Debugging the page with web inspector shows that the network calls to https://bitsharesblocks.com/cdn-cgi/pe/bag2?r[]=https%3A%2F%2Fapi.bitsharesblocks.com%2Fv2%2Forderbook%2FUSD%3Fcallback%3Dangular.callbacks._1 gives these two different JSON results back (representing the two different states in time).

Also, I was wondering when you were planning on adding support to look at any arbitrary market on the BitShares decentralized exchange, such as the markets between BitAssets and UIAs.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 08, 2015, 06:44:02 pm
What's going on with the market page (for example https://bitsharesblocks.com/asset/orderbook?asset=USD)? I am watching the orders and transaction history, and it keeps oscillating between the present state and the state as of two days ago. Literally, the order history shows the last order as one that occurred on Feb 8 at one moment and then the last order suddenly becomes one that occurred at Feb 6. Debugging the page with web inspector shows that the network calls to https://bitsharesblocks.com/cdn-cgi/pe/bag2?r[]=https%3A%2F%2Fapi.bitsharesblocks.com%2Fv2%2Forderbook%2FUSD%3Fcallback%3Dangular.callbacks._1 gives these two different JSON results back (representing the two different states in time).

Also, I was wondering when you were planning on adding support to look at any arbitrary market on the BitShares decentralized exchange, such as the markets between BitAssets and UIAs.

Now that is strange! Are you seeing this in the order history only or for the bids/asks/shorts as well?

I've been concentrating on the web wallet recently, and if there are bugs like this in the existing market code I'll have to sort that out first. In a week or two best guesstimate..
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: arhag on February 08, 2015, 06:58:14 pm
Now that is strange! Are you seeing this in the order history only or for the bids/asks/shorts as well?

The whole thing: bids, asks, shorts, order history, and the graph.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 08, 2015, 07:01:07 pm
Now that is strange! Are you seeing this in the order history only or for the bids/asks/shorts as well?

The whole thing: bids, asks, shorts, order history, and the graph.

Wow, I have it open all the time and I've never seen that happen, and I struggle to see how that's even possible. Can you send me a copy of the api response if it happens again please?

The api call is cached for 15 seconds max and the database always contains only the latest data from the client, so I'm not sure it's really related to the api.

An idea: maybe it's a sorting issue, what browser are you using?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: arhag on February 08, 2015, 07:23:26 pm
Wow, I have it open all the time and I've never seen that happen, and I struggle to see how that's even possible. Can you send me a copy of the api response if it happens again please?

Well the returned JSONs are pretty large, so I'll just share small snippets of them. I can send you the whole thing through other means if you want. But the first one is the response one would normally expect and the second response seems like what one would normally expect if they were to go back in time 2 days.

First API request:
Code: [Select]
Remote Address:198.41.206.35:443
Request URL:https://bitsharesblocks.com/cdn-cgi/pe/bag2?r[]=https%3A%2F%2Fapi.bitsharesblocks.com%2Fv2%2Forderbook%2FUSD%3Fcallback%3Dangular.callbacks._1
Request Method:GET
Status Code:200 OK
Request Headers
:host:bitsharesblocks.com
:method:GET
:path:/cdn-cgi/pe/bag2?r[]=https%3A%2F%2Fapi.bitsharesblocks.com%2Fv2%2Forderbook%2FUSD%3Fcallback%3Dangular.callbacks._1
:scheme:https
:version:HTTP/1.1
accept:*/*
accept-encoding:gzip, deflate, sdch
accept-language:en-US,en;q=0.8
cookie:__cfduid=dbeffddf86d1196aef164e2274f838df01415915447; NG_TRANSLATE_LANG_KEY=%22en%22; _gat=1; _ga=GA1.2.1716180767.1406960962
pe-token:fd7f93c3e0d2cc743fdce7fd2df2ed30250dc3e7-1423422368-43200
referer:https://bitsharesblocks.com/asset/orderbook?asset=USD
user-agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36
Query String Parametersview sourceview URL encoded
r[]:https://api.bitsharesblocks.com/v2/orderbook/USD?callback=angular.callbacks._1
Response Headers
cf-ray:1b5a1a4f8add0ef1-EWR
content-encoding:gzip
content-type:multipart/mixed; boundary="xx:.cVCRARLQ"
date:Sun, 08 Feb 2015 19:06:09 GMT
server:cloudflare-nginx
status:200 OK
version:HTTP/1.1

And a snippet of its response:
Code: [Select]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="xx:.cVCRARLQ"

--xx:.cVCRARLQ
X-Cf-Url: https://api.bitsharesblocks.com/v2/orderbook/USD?callback=angular.callbacks._1
X-Cf-Status: 200
Content-Transfer-Encoding: binary
X-Cf-Max-Age: 7200
X-Cf-Cache-Status: HIT
Content-Type: text/javascript; charset=utf-8
X-Cf-Error: false

typeof angular.callbacks._1==='function'&&angular.callbacks._1(")]}',\n{\"_id\":22,\"symbol\":\"USD\",\"issuer_account_id\":-2,\"precision\":10000,\"medianFeed\":0.00932938159404307,\"dailyVolume\":23192618.96718,\"baseAsset\":\"BTS\",\"asks\":[{\"price\":104.50000000470251,\"amount\":8673.5},{\"price\":104.19790104033648,\"amount\":46235.89839},
...
[104.50000000470251,8673.5]]}}");
--xx:.cVCRARLQ--

Second API request:
Code: [Select]
Remote Address:198.41.206.35:443
Request URL:https://bitsharesblocks.com/cdn-cgi/pe/bag2?r[]=https%3A%2F%2Fapi.bitsharesblocks.com%2Fv2%2Forderbook%2FUSD%3Fcallback%3Dangular.callbacks._2
Request Method:GET
Status Code:200 OK
Request Headers
:host:bitsharesblocks.com
:method:GET
:path:/cdn-cgi/pe/bag2?r[]=https%3A%2F%2Fapi.bitsharesblocks.com%2Fv2%2Forderbook%2FUSD%3Fcallback%3Dangular.callbacks._2
:scheme:https
:version:HTTP/1.1
accept:*/*
accept-encoding:gzip, deflate, sdch
accept-language:en-US,en;q=0.8
cookie:__cfduid=dbeffddf86d1196aef164e2274f838df01415915447; NG_TRANSLATE_LANG_KEY=%22en%22; _ga=GA1.2.1716180767.1406960962
pe-token:fd7f93c3e0d2cc743fdce7fd2df2ed30250dc3e7-1423422368-43200
referer:https://bitsharesblocks.com/asset/orderbook?asset=USD
user-agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.91 Safari/537.36
Query String Parametersview sourceview URL encoded
r[]:https://api.bitsharesblocks.com/v2/orderbook/USD?callback=angular.callbacks._2
Response Headers
cf-ray:1b5a1ad001cb0ef1-EWR
content-encoding:gzip
content-type:multipart/mixed; boundary="P1PYbx4kW3o6"
date:Sun, 08 Feb 2015 19:06:29 GMT
server:cloudflare-nginx
status:200 OK
version:HTTP/1.1

And a snippet of its response:
Code: [Select]
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="P1PYbx4kW3o6"

--P1PYbx4kW3o6
X-Cf-Url: https://api.bitsharesblocks.com/v2/orderbook/USD?callback=angular.callbacks._2
X-Cf-Status: 200
Content-Transfer-Encoding: binary
X-Cf-Max-Age: 7200
X-Cf-Cache-Status: HIT
Content-Type: text/javascript; charset=utf-8
X-Cf-Error: false

typeof angular.callbacks._2==='function'&&angular.callbacks._2(")]}',\n{\"_id\":22,\"symbol\":\"USD\",\"issuer_account_id\":-2,\"precision\":10000,\"medianFeed\":0.01010961704149931,\"dailyVolume\":734251.3081299999,\"baseAsset\":\"BTS\",\"asks\":[{\"price\":97.50000000389998,\"amount\":7312.5},{\"price\":97.4300000044925,\"amount\":974.3},
...
[97.50000000389998,7312.5]]}}");
--P1PYbx4kW3o6--

Subsequent API requests either return something like the first one or something like the second one. But at the end it always seems to settle down to the second one (the one that is 2 days in the past).

Edit: Hmm, perhaps it was just some weird browser fluke. I deleted everything in local storage and the cookies and refreshed (prior to that refreshing didn't solve the problem) and it seems that the problem isn't showing up again. So just forget about it.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 08, 2015, 07:28:54 pm
OK that is helpful, does look like you're getting data via cloudflare which really shouldn't happen. I'll play around with the settings to see if I can fix it.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 08, 2015, 07:39:58 pm
Cloudflare is caching it.. Go into cloudflare and create a custom handler for json files ensure it is never cached,, cf hit means its not even getting to your server

Im not sure you know its a json request from those urls... It might also be the rocket loader because it has that bag thing which means rocket is enabled...

Lastly if you are doing some kind of ssi calls in html the js optimizer for cloudflare will strip those out.. Some apis use ssi for dynamic updates to html via php

As for caching maybe u can make the query so that snything from api.bitsharesblocks.com is never cached and not optimized via rocket or anything else. Its a setting in your website cloudflare settings
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 08, 2015, 07:46:05 pm
Cloudflare is caching it.. Go into cloudflare and create a custom handler for json files ensure it is never cached,, cf hit means its not even getting to your server

Looks like it was the rocket loader, which is the cdn-cgi/pe/bag2 stuff. I really didn't expect cloudflare to touch the api calls though since they're on a different sub-domain. I turned off the rocket loader, if that doesn't help I'll make a page rule as well.

@arhag shout if you see it again please!

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 08, 2015, 07:47:35 pm
Cloudflare is caching it.. Go into cloudflare and create a custom handler for json files ensure it is never cached,, cf hit means its not even getting to your server

Looks like it was the rocket loader, which is the cdn-cgi/pe/bag2 stuff. I really didn't expect cloudflare to touch the api calls though since they're on a different sub-domain. I turned off the rocket loader, if that doesn't help I'll make a page rule as well.

@arhag shout if you see it again please!

Rocket loader is good for images and external resources being loaded u might want that.. U can do a gtmetrix on it to see if it improves the score with it.. So the page rule would make sense if it does improve it
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on February 09, 2015, 10:23:20 am
BTW, from the reset changelog for 0.6.0:
Quote
- Add blockchain_get_slate command to view an account's published recommended voting slate
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on February 09, 2015, 12:19:15 pm
i'm getting problems to display site on mobile devices!

Also on OSx FF 35 just delegate ranking isn't displayed! Maybe SSL switch could cause this issue!?
What do you think!? Or any other idea ?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: rgcrypto on February 09, 2015, 09:32:25 pm
I just burned my update for my delegate but it doesn't appear anywhere. :(
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on February 10, 2015, 07:52:09 am
I just burned my update for my delegate but it doesn't appear anywhere. :(
But it's on the blockchain:

Quote
delegate (locked) >>> blockchain_get_account_wall delegate.rgcrypto
AMOUNT                        MESSAGE                                                                                             SIGNER                       
================================================================================================================================================================
100.00000 BTS                 Traffic Generation Machine Report - 100% Marketing Delegate - First week on the job: https://rgcrypto.wordpress.com/2015/02/08/january-25th-to-february-7th-delegate-report/delegate.rgcrypto

seems svk does not have that feature for a particular delegate yet .. the "tollbox" at the front page shows your post here too
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on February 10, 2015, 07:54:30 am
yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cube on February 11, 2015, 04:03:38 am
Do you have  open APIs that can be called from external?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on February 11, 2015, 05:11:32 pm
http://dvs.bitsharesblocks.com/delegates

I can't find my active delegate.liondani on DevShares network, why? (same thing for other delegates)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 11, 2015, 06:38:14 pm
http://dvs.bitsharesblocks.com/delegates

I can't find my active delegate.liondani on DevShares network, why? (same thing for other delegates)

Should be ok now, the backend scripts were crashing due to a lack of transactions, a bug I hadn't encountered yet on the BTS network.

i'm getting problems to display site on mobile devices!

Also on OSx FF 35 just delegate ranking isn't displayed! Maybe SSL switch could cause this issue!?
What do you think!? Or any other idea ?

I had the same issue on my phone and at work, it seems to have been an SSL issue with the CA keys that needed to be added for certain browsers. I added the missing certificates so it should work now.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cube on February 12, 2015, 05:58:44 pm
Do you have  open APIs that can be called from external?

Bump.  I am looking at ways to retrieve information from bitsharesblocks.  Is there an API/RPC system available?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 12, 2015, 09:24:09 pm


Do you have  open APIs that can be called from external?

Bump.  I am looking at ways to retrieve information from bitsharesblocks.  Is there an API/RPC system available?

Nothing that's documented yet no. You can always just look up the network calls and use them as is, what exactly do you need though?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: arhag on February 13, 2015, 02:47:50 am
Considering that black swan liquidation occurs when the least collateralized short crosses the 100% threshold, wouldn't it be more useful/meaningful if bitsharesblocks.com recorded the collateral ratio of the least collateralized short instead of the average collateral on the assets page?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on February 13, 2015, 05:44:25 am
http://dvs.bitsharesblocks.com/delegates/delegate?name=delegate.liondani

Can't see any data on "VOTES EVOLUTION" and on "24h/7day  rank change:" either not  data on  "average latency last 50/100/200"
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on February 13, 2015, 07:26:25 am
It does not show block details.

https://bitsharesblocks.com/blocks/block?id=1775901
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 13, 2015, 08:40:09 am
http://dvs.bitsharesblocks.com/delegates/delegate?name=delegate.liondani

Can't see any data on "VOTES EVOLUTION" and on "24h/7day  rank change:" either not  data on  "average latency last 50/100/200"

It does not show block details.

https://bitsharesblocks.com/blocks/block?id=1775901

Both of these were due to changes in the client where the field containing the votes had been renamed, fixed now.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cube on February 13, 2015, 03:27:49 pm


Do you have  open APIs that can be called from external?

Bump.  I am looking at ways to retrieve information from bitsharesblocks.  Is there an API/RPC system available?

Nothing that's documented yet no. You can always just look up the network calls and use them as is, what exactly do you need though?

I am thinking of calling to get the information on status of a transaction and the latest price of bts.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: fluxer555 on February 14, 2015, 04:46:19 am
Considering that black swan liquidation occurs when the least collateralized short crosses the 100% threshold, wouldn't it be more useful/meaningful if bitsharesblocks.com recorded the collateral ratio of the least collateralized short instead of the average collateral on the assets page?

+5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: monsterer on February 14, 2015, 03:59:19 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cube on February 14, 2015, 05:49:25 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on February 14, 2015, 06:23:42 pm
I thought you can paste the txid in a block listing instead of a blockid
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on February 15, 2015, 11:20:52 am
no data on https://bitsharesblocks.com/ right now
please fix ASAP since it is very fustrating to watch when at the same time BTER  is not working(!)...
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kaibakker on February 15, 2015, 01:57:27 pm
Quote
no data on https://bitsharesblocks.com/ right now
please fix ASAP since it is very fustrating to watch when at the same time BTER  is not working(!)...
Same problem here!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: matt608 on February 15, 2015, 06:03:18 pm
Quote
no data on https://bitsharesblocks.com/ right now
please fix ASAP since it is very fustrating to watch when at the same time BTER  is not working(!)...
Same problem here!

Me too.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: emski on February 15, 2015, 06:18:46 pm
Yep... Frustrating.

@svk
Is there a chance to run a mirror of bitsharesblocks ?

I could set it up on my servers and pull updates from you.
I could sync it to one of the seed nodes.

@svk What do you think about this?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 15, 2015, 06:32:57 pm
Sorry about that, I've been away all day skiing. It was simply the API server crashing due to a badly handled call that I've now fixed, I'm gonna start working on making the api foolproof tomorrow so this doesn't happen again.

@emski I'll open-source the back-end too so with that you could run a mirror

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on February 15, 2015, 06:35:54 pm
Little (long term) inspiration: http://blockscan.com/assetInfo/LTBCOIN has Forum / social media integration.

With Bitshares this could mean: Blockexplorer + Forum + Bitshares login + Bitshares reputation system all integrated.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 15, 2015, 09:28:03 pm
Little (long term) inspiration: http://blockscan.com/assetInfo/LTBCOIN has Forum / social media integration.

With Bitshares this could mean: Blockexplorer + Forum + Bitshares login + Bitshares reputation system all integrated.

Well we have social login, and we will add profile information to that so thus social media integration... the reputation system is probably something to build onto pof that.. but possible I think.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on February 16, 2015, 10:27:49 am
yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: abit on February 19, 2015, 09:10:28 pm
yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: abit on February 19, 2015, 09:17:15 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

Do you mean this?
Code: [Select]
blockchain_get_transaction <transaction_id_prefix> [exact]                                            Get detailed information about an in-wallet transaction

Or an api call to bitsharesblocks.com? It could be:
Code: [Select]
https://api.bitsharesblocks.com/v1/blocksbytrx/<trx_id>?callback=angular.callbacks._7
It will return a block id.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cube on February 20, 2015, 05:26:09 am
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

Do you mean this?
Code: [Select]
blockchain_get_transaction <transaction_id_prefix> [exact]                                            Get detailed information about an in-wallet transaction

Or an api call to bitsharesblocks.com? It could be:
Code: [Select]
https://api.bitsharesblocks.com/v1/blocksbytrx/<trx_id>?callback=angular.callbacks._7
It will return a block id.

Thanks for helping to explain.

Yes, something like this. Basically I like to call it and get the info without having a need to run a blockchain.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 21, 2015, 12:00:47 am
WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 21, 2015, 03:01:32 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

I'll see if I can get this working.

yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D

Which addresses should this be used with? I admit to a slight confusion between the types of keys or ids etc available..

PS. Slates are about ready to go on the site, I just need to test everything a little more since it's part of a rewrite of the delegate page.

WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?

You can use https://api.bitsharesblocks.com/v2/assets

It's got some more info you don't need but it's not too heavy, and has all the median feeds and number of valid feeds.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on February 21, 2015, 03:14:16 pm
@svk: you should at least go through all active keys ... optionally the owner key .. if you go to my recent Howto in the bts delegates subforum you can find a description about what the keys are
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 23, 2015, 03:21:20 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

You can link using transactions ids now, just add ?trxid=, like this:

http://bitsharesblocks.com/blocks/block?trxid=820a3852e5624c161e034945417fe426eadebc5d

Short form transaction ids work as well.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 23, 2015, 07:55:40 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

I'll see if I can get this working.

yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D

Which addresses should this be used with? I admit to a slight confusion between the types of keys or ids etc available..

PS. Slates are about ready to go on the site, I just need to test everything a little more since it's part of a rewrite of the delegate page.

WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?

You can use https://api.bitsharesblocks.com/v2/assets

It's got some more info you don't need but it's not too heavy, and has all the median feeds and number of valid feeds.

https://api.bitsharesblocks.com/v2/assets

output doesn't validate in jsonlint.com... There is a " at the end of the data and I see there is a leading ")]}',\n infront of the data... why? Also your escaping string literals, why? None of this checks out for json encoding... thanks.

I would imagine you would get the data and decode it in php like json_decode()...
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 23, 2015, 08:01:07 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

I'll see if I can get this working.

yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D

Which addresses should this be used with? I admit to a slight confusion between the types of keys or ids etc available..

PS. Slates are about ready to go on the site, I just need to test everything a little more since it's part of a rewrite of the delegate page.

WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?

You can use https://api.bitsharesblocks.com/v2/assets

It's got some more info you don't need but it's not too heavy, and has all the median feeds and number of valid feeds.

https://api.bitsharesblocks.com/v2/assets

output doesn't validate in jsonlint.com... There is a " at the end of the data and I see there is a leading ")]}',\n infront of the data... why? Also your escaping string literals, why? None of this checks out for json encoding... thanks.

I would imagine you would get the data and decode it in php like json_decode()...
Just following the angular security guidelines, you just need to strip the part up to the line break. See the angular $http jsonp docs for details
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on February 23, 2015, 10:31:51 pm
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

I'll see if I can get this working.

yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D

Which addresses should this be used with? I admit to a slight confusion between the types of keys or ids etc available..

PS. Slates are about ready to go on the site, I just need to test everything a little more since it's part of a rewrite of the delegate page.

WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?

You can use https://api.bitsharesblocks.com/v2/assets

It's got some more info you don't need but it's not too heavy, and has all the median feeds and number of valid feeds.

https://api.bitsharesblocks.com/v2/assets

output doesn't validate in jsonlint.com... There is a " at the end of the data and I see there is a leading ")]}',\n infront of the data... why? Also your escaping string literals, why? None of this checks out for json encoding... thanks.

I would imagine you would get the data and decode it in php like json_decode()...
Just following the angular security guidelines, you just need to strip the part up to the line break. See the angular $http jsonp docs for details

OK, I also get some weird results from that query... sometimes it gives an output like : s"s)s]s}s's,s\sns{s\s"sasssssestsss\s"s:s.... you seen this? Hit refresh a few times. Seems it adds an s for every character.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on February 24, 2015, 08:27:05 am
Is there a way to link to a specific transaction by ID on bitsharesblocks? Like you can on blockchain.info?

I'd like to provide links to transactions for customers in metaexchange.info.

I am looking for this function too.

Edit: via api call.

I'll see if I can get this working.

yet another feature request:

Can you run
Code: [Select]
blockchain_list_address_balances <address>on all active keys and list all funds when opening an account in the explorer?
Can i emphasize this feature request a little ..

I'd love to put the payouts of the charity delegates into a publicly readable address derived from an active key

I'd like this to be shown in the explorer:
Code: [Select]
blockchain_list_address_transactions <address>

as well as
Code: [Select]
blockchain_list_market_transactions <block_number>

 :D :D :D :D :D

Which addresses should this be used with? I admit to a slight confusion between the types of keys or ids etc available..

PS. Slates are about ready to go on the site, I just need to test everything a little more since it's part of a rewrite of the delegate page.

WOuld there be a way to aggregate all of the median price feeds and give them via one call? I need it for my price mechanism on the websites which integrate bitassets... id rather not make individual calls on the RPC if I have to.. but whats the best way to do this?

You can use https://api.bitsharesblocks.com/v2/assets

It's got some more info you don't need but it's not too heavy, and has all the median feeds and number of valid feeds.

https://api.bitsharesblocks.com/v2/assets

output doesn't validate in jsonlint.com... There is a " at the end of the data and I see there is a leading ")]}',\n infront of the data... why? Also your escaping string literals, why? None of this checks out for json encoding... thanks.

I would imagine you would get the data and decode it in php like json_decode()...
Just following the angular security guidelines, you just need to strip the part up to the line break. See the angular $http jsonp docs for details

OK, I also get some weird results from that query... sometimes it gives an output like : s"s)s]s}s's,s\sns{s\s"sasssssestsss\s"s:s.... you seen this? Hit refresh a few times. Seems it adds an s for every character.

You need to add a callback to avoid that, ..v2/assets?callback=whatever. It'll add some more data but you should be able to strip it.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 02, 2015, 10:23:25 am
I've just pushed the back-end code for Bitsharesblocks to github, feel free to have a look and if you're a nodejs expert I'd be happy to take tips on how to improve the code!

https://github.com/svk31/bitsharesblocks-backend
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 02, 2015, 10:33:11 am
@svk: you should at least go through all active keys ... optionally the owner key .. if you go to my recent Howto in the bts delegates subforum you can find a description about what the keys are

It doesn't work with active keys, only balance ids as far as I can tell, and they can't really be tied to accounts. I'll see if I can get something useful out of that though.

How is blockchain_list_market_transactions different from what's already being shown for each block? Seems to me it's just an extract of the data already available.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on March 02, 2015, 02:57:47 pm
Try blockchain_list_address_balance and blockchain_list_address_transavtions for addresses(pubkeys)

and blockchain_get_balance for balance ids!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: abit on March 02, 2015, 09:42:48 pm
Try blockchain_list_address_balance and blockchain_list_address_transavtions for addresses(pubkeys)

and blockchain_get_balance for balance ids!
Yes I just wanted to say this.
BTW it should be blockchain_list_address_transactions  ;)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: davidpbrown on March 05, 2015, 07:10:45 pm
Trivial display error: DVS delegate earnings detail talks of BTS rather than DVS.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: vikram on March 05, 2015, 07:32:52 pm
Just a suggestion: it'd be nice to be able to switch to a longer-term view(s) for the price history chart if possible.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 06, 2015, 01:46:36 pm
Trivial display error: DVS delegate earnings detail talks of BTS rather than DVS.

Thanks, I've gone over the whole site to add a centralized location for the base asset name to avoid this kind of thing, it was a pain manually replacing BTS with DVS everywhere :)

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 06, 2015, 01:47:37 pm
Just a suggestion: it'd be nice to be able to switch to a longer-term view(s) for the price history chart if possible.

On the home page you mean? I've kept it short there to reduce load speed and make it more relevant basically, you can find the whole history here:

https://bitsharesblocks.com/charts/prices
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: vikram on March 06, 2015, 06:13:27 pm
Just a suggestion: it'd be nice to be able to switch to a longer-term view(s) for the price history chart if possible.

On the home page you mean? I've kept it short there to reduce load speed and make it more relevant basically, you can find the whole history here:

https://bitsharesblocks.com/charts/prices

Ah, yes this is what I meant--didn't realize that was there, thanks!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: thisisausername on March 06, 2015, 11:11:27 pm
It would be nice if the home page price chart had a button to load the rest of the data.

Speaking of charts, the "BTS TRANSACTION VOLUME", "BTS NUMBER OF TRANSACTIONS" and "NEW ACCOUNTS" would be much more useful with at least a 7-day moving average line.

The "TOTAL NUMBER OF ACCOUNTS" chart could use a log scale to make variation in "New unique accounts" visible.  (Also I couldn't find anything on how unique accounts are distinguished from the rest.)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: abit on March 07, 2015, 12:21:10 am
@svk UIA with ID >410 doesn't show on the site.

//Edit:
Looks like fixed now.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: btswolf on March 08, 2015, 12:16:05 am
Please can you add "last Price" to the MPA/UIA overview page?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on March 12, 2015, 08:16:56 am
Would it be a good idea to be able to see when a delegate has gotten how many votes? Atm I can only see at what block height votes changed. Basically the time is included in that but it is a little un intuitive :9
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 12, 2015, 08:29:53 am
Would it be a good idea to be able to see when a delegate has gotten how many votes? Atm I can only see at what block height votes changed. Basically the time is included in that but it is a little un intuitive :9

You can always look at the vote history and sort by vote size, then click on the block to see the date.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 12, 2015, 08:36:39 am
It would be nice if the home page price chart had a button to load the rest of the data.

Speaking of charts, the "BTS TRANSACTION VOLUME", "BTS NUMBER OF TRANSACTIONS" and "NEW ACCOUNTS" would be much more useful with at least a 7-day moving average line.

The "TOTAL NUMBER OF ACCOUNTS" chart could use a log scale to make variation in "New unique accounts" visible.  (Also I couldn't find anything on how unique accounts are distinguished from the rest.)

Sorry I missed your post.

Like I said to Vikram, the home page price chart only shows recent prices to keep things light, you can find the full price chart in the Charts -> General tab.

I like the idea of moving averages for the transaction charts, I'll have a look at that.

The new unique accounts are accounts that were paid for using a new balance id, come to think of it that might not count the faucet accounts, not sure if those registrations reuse the same balance id every time. I'll have  a look if the chart looks better with a log scale.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 12, 2015, 08:36:54 am
Please can you add "last Price" to the MPA/UIA overview page?

I think I can yea, will have a look.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on March 12, 2015, 08:41:44 am
@svk: please take not of recent API changes for 0.7.0 .. in particular the API for UIA has changed drastically:
https://bitsharestalk.org/index.php?topic=14885.msg192750#msg192750
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on March 12, 2015, 10:56:39 am
Would it be a good idea to be able to see when a delegate has gotten how many votes? Atm I can only see at what block height votes changed. Basically the time is included in that but it is a little un intuitive :9

You can always look at the vote history and sort by vote size, then click on the block to see the date.
I didn't follow. So do I go to a certain delegate's page -> rank and votes -> votes evolution -> and then? I don't see the possibility to sort anything...
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 12, 2015, 01:52:54 pm
Would it be a good idea to be able to see when a delegate has gotten how many votes? Atm I can only see at what block height votes changed. Basically the time is included in that but it is a little un intuitive :9

You can always look at the vote history and sort by vote size, then click on the block to see the date.
I didn't follow. So do I go to a certain delegate's page -> rank and votes -> votes evolution -> and then? I don't see the possibility to sort anything...

Click on the arrow at the right of the "Votes history" at the bottom, it'll display a table with all the votes that you can sort.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on March 12, 2015, 03:16:55 pm
Would it be a good idea to be able to see when a delegate has gotten how many votes? Atm I can only see at what block height votes changed. Basically the time is included in that but it is a little un intuitive :9

You can always look at the vote history and sort by vote size, then click on the block to see the date.
I didn't follow. So do I go to a certain delegate's page -> rank and votes -> votes evolution -> and then? I don't see the possibility to sort anything...

Click on the arrow at the right of the "Votes history" at the bottom, it'll display a table with all the votes that you can sort.
Thanks!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: vikram on March 12, 2015, 07:07:50 pm
@svk: please take not of recent API changes for 0.7.0 .. in particular the API for UIA has changed drastically:
https://bitsharestalk.org/index.php?topic=14885.msg192750#msg192750

Thanks, I knew I would forget someone.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 12, 2015, 07:28:32 pm
@svk: please take not of recent API changes for 0.7.0 .. in particular the API for UIA has changed drastically:
https://bitsharestalk.org/index.php?topic=14885.msg192750#msg192750

Thanks, I knew I would forget someone.

No worries, I'm subscribed to the repos so I was already aware of it, and I'm not using any of those anyway :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: btswolf on March 14, 2015, 08:19:29 pm
Accounts are still showing the old robohashes instead of the new identicons.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: matt608 on March 15, 2015, 07:36:51 pm
Great addition with the buy BTS option from metaexchange.  +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: 38PTSWarrior on March 15, 2015, 08:28:12 pm
Great addition with the buy BTS option from metaexchange.  +5%
I thought the same.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: davidpbrown on March 15, 2015, 10:08:22 pm
I was just wondering a graph of total number of accounts over time would be interesting as an indication of change. Paired with market cap perhaps might help to show the real effect of efforts to grow.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 16, 2015, 07:48:59 am
Great addition with the buy BTS option from metaexchange.  +5%
I thought the same.
Glad you like it, hopefully it can help direct newcomers so they can easily buy BTS or bitassets :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 16, 2015, 07:50:11 am
I was just wondering a graph of total number of accounts over time would be interesting as an indication of change. Paired with market cap perhaps might help to show the real effect of efforts to grow.
You can find accounts charts under Charts -> General -> Accounts
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on March 16, 2015, 06:49:09 pm
Hey SVK,

Is there a way to get amount of change for each asset based on today? I would like to get the OPEN of today.. like the data on the chart for each asset.. how do I get that?

Thanks
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: abit on March 17, 2015, 08:03:46 am
@svk Would you like to identify 'canceling an order' from 'placing an order'? It could be done by checking the sign of amount.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: abit on March 17, 2015, 08:06:30 am
Hey SVK,

Is there a way to get amount of change for each asset based on today? I would like to get the OPEN of today.. like the data on the chart for each asset.. how do I get that?

Thanks

There is a command 'blockchain_market_price_history' in console (buggy in 0.6.x, will fix in 0.7).
Dunno if svk provides a wrapper though.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: MrJeans on March 17, 2015, 01:35:42 pm
Is there an API for extracting data such as,
number of shares in circulation, price, inflation etc.
Thanks!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 17, 2015, 02:16:53 pm
Hey SVK,

Is there a way to get amount of change for each asset based on today? I would like to get the OPEN of today.. like the data on the chart for each asset.. how do I get that?

Thanks

I'm calculating it on the client side from the order history data, so it's not directly available from an api call atm.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 17, 2015, 02:17:25 pm
@svk Would you like to identify 'canceling an order' from 'placing an order'? It could be done by checking the sign of amount.

Yes I've been meaning to do that for a while actually but I keep getting distracted by other things!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 17, 2015, 02:19:00 pm
Is there an API for extracting data such as,
number of shares in circulation, price, inflation etc.
Thanks!

For BTS or assets? For BTS at least you could use the api calls being used on the Charts -> Supply page I think.

I really should setup a properly documented API tbh, too much to do, too little time..
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on March 17, 2015, 02:56:12 pm
Hey SVK,

Is there a way to get amount of change for each asset based on today? I would like to get the OPEN of today.. like the data on the chart for each asset.. how do I get that?

Thanks

I'm calculating it on the client side from the order history data, so it's not directly available from an api call atm.
Is it possible to add this brside median price on the assets json output? Would be nice then for my ticker...

Thanks
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: emski on March 23, 2015, 08:16:05 am
I have two suggestions:

1. Change "forks in the last 24 hours" to "forks in the last 24 hours longer than 1 block".
This will remove a lot of the false alarms caused due to lag/connectivity.

2. Introduce "multiple forks signed by single delegate in last 24 hours" metric.
This will help anyone to establish the security state of the network at a glance.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Troglodactyl on March 25, 2015, 05:17:22 am
It looks like the market data on bitsharesblocks is wrong.  The peg seems to be holding fine, but bitsharesblocks reports that a BitUSD is at $0.85...

Also it looks like coinmarketcap may be copying this error.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on March 25, 2015, 07:09:28 am
It looks like the market data on bitsharesblocks is wrong.  The peg seems to be holding fine, but bitsharesblocks reports that a BitUSD is at $0.85...

Also it looks like coinmarketcap may be copying this error.
CMC indeed pulls the data from bitsharesblocks

paging @svk
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 25, 2015, 07:25:10 am
I've reset it, should be fine now. I'm on vacation in the Alps so a bit hard to keep up atm I'm afraid. My delegate also lost all connections which is why I missed blocks, trying to get it synced back up now.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on March 25, 2015, 07:26:25 am
I've reset it, should be fine now. I'm on vacation in the Alps so a bit hard to keep up atm I'm afraid. My delegate also lost all connections which is why I missed blocks, trying to get it synced back up now.
+5% +5% +5%
I know how that feels .. I missed blocks worth 2 days back in december when I was on vacation

Anyway, thanks for your passion!!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on March 25, 2015, 07:04:45 pm
I have to shut down the api server for a few minutes to upgrade the server, it's running out of space.. Will be back up soon!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: robrigo on April 02, 2015, 02:14:56 am
Love the site svk! Right now I'm seeing a redirect loop when I visit bitsharesblocks.com. Is anyone else experiencing this?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Riverhead on April 02, 2015, 02:30:51 am
Love the site svk! Right now I'm seeing a redirect loop when I visit bitsharesblocks.com. Is anyone else experiencing this?

Wait, they have internet in the wilds of VA? Isn't there a sheep that needs sheering or some moonshine you could be drinking? :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: robrigo on April 02, 2015, 03:13:24 am
Love the site svk! Right now I'm seeing a redirect loop when I visit bitsharesblocks.com. Is anyone else experiencing this?

Wait, they have internet in the wilds of VA? Isn't there a sheep that needs sheering or some moonshine you could be drinking? :)

Haha we were on the 81 heading south and I was using the magic that is wireless tethering. But I could really go for some 'shine and sheep right about now...  8)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Stan on April 02, 2015, 03:32:31 am
Jus' be careful.
They's got about 10 banjos per square mile around these parts.

(http://www.openmyeyeslord.net/Backgrounds%20and%20graphics/banjo_notes_fly_out_hg_clr.gif)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Riverhead on April 02, 2015, 03:47:22 am

I do like Bluegrass :D
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on April 02, 2015, 05:18:49 am
Love the site svk! Right now I'm seeing a redirect loop when I visit bitsharesblocks.com. Is anyone else experiencing this?

me too!

i am not sure if he said he is on a vacation.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: roadscape on April 02, 2015, 06:15:52 am
http://bitsharesblocks.com/ - redirect loop
https://bitsharesblocks.com/ - works 8)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on April 02, 2015, 06:37:04 am
The redirect issue was due to me trying to get prerender.io working, it was working fine for http when I activated then after I left apparently it stopped working.. As some of you noticed https was still working though, but sorry about that.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: fav on April 08, 2015, 11:36:57 am
is it possible to make a little html/java ticker for market pegged assets? Something like coingecko does for example
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on April 08, 2015, 12:34:35 pm
is it possible to make a little html/java ticker for market pegged assets? Something like coingecko does for example

yes this is in work .. but currently it's IMO to complicated to include! It depends on a running wallet.
Will talk to j. if there is a way to create a ticker widget without the need of a running wallet.
This should probably possible... as Dan mentioned yesterday!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on April 08, 2015, 12:44:36 pm
is it possible to make a little html/java ticker for market pegged assets? Something like coingecko does for example

yes this is in work .. but currently it's IMO to complicated to include! It depends on a running wallet.
Will talk to j. if there is a way to create a ticker widget without the need of a running wallet.
This should probably possible... as Dan mentioned yesterday!
can't we poll
wallet.bitshares.org/rpc
for these kind of things?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on April 08, 2015, 03:32:46 pm
is it possible to make a little html/java ticker for market pegged assets? Something like coingecko does for example
I integrates bitshares ticker into bitshares checkout.. And i created a presta shop plugin to use bitshares checkout ticker. Reusing code.

Ticker standalone: https://github.com/sidhujag/bitsharesticker
Prestashop plugin: https://github.com/sidhujag/bitshares-prestashop-ticker
Bitshares checkout: https://github.com/sidhujag/bitsharescheckout

Demo on prestashop: http://cryptosmith.info

Currently ticker needs a feed source to get prices so i made a public api from bitshares checkout
https://github.com/sidhujag/bitsharescheckout/blob/master/bitshares/checkout/callbacks/callback_getfeedprices.php

Now you can use any installed checkout to be your feed source.. Its public
EXAMPLE: http://cryptosmith.info/bitshares/checkout/callbacks/callback_getfeedprices.php?assets=USD,CNY
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jsidhu on April 08, 2015, 03:34:35 pm
is it possible to make a little html/java ticker for market pegged assets? Something like coingecko does for example

yes this is in work .. but currently it's IMO to complicated to include! It depends on a running wallet.
Will talk to j. if there is a way to create a ticker widget without the need of a running wallet.
This should probably possible... as Dan mentioned yesterday!
can't we poll
wallet.bitshares.org/rpc
for these kind of things?
Please see above post.. Need the public api in bitshares checkout
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: monsterer on April 08, 2015, 03:39:32 pm
You can link using transactions ids now, just add ?trxid=, like this:

http://bitsharesblocks.com/blocks/block?trxid=820a3852e5624c161e034945417fe426eadebc5d

Short form transaction ids work as well.

Brilliant, thanks :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on April 09, 2015, 02:39:27 pm
Hey @svk31,

can I have a API for get the results of
Code: [Select]
blockchain_list_address_balances <address>so that I can fetch data about an address from bitsharesblocks.com?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on April 13, 2015, 11:25:59 am
Hey @svk31,

can I have a API for get the results of
Code: [Select]
blockchain_list_address_balances <address>so that I can fetch data about an address from bitsharesblocks.com?

Sorry been a bit busy working on the wallet, I'll have a look at adding this.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on April 13, 2015, 11:31:26 am
Building on my work on the market page of the wallet, I've made some changes to the Bitsharesblocks orderbook:

Firstly I'm now colorcoding the different order types the same way as the wallet, so bids are green, asks red, shorts blue and covers yellow.

Secondly, both expired cover orders and margin called orders are now added to the Bids table as well as the depth chart. Expired covers use the call price, forced covers are at call price + 10%. This should make it a lot clearer what's actually going on with the orderbook. To see it in action the bitBTC market is currently the best one, as it has forced and expired covers at the top of the orderbook: http://bitsharesblocks.com/asset/orderbook?asset=BTC. I do intend to add scrolling to the tables shortly, I just didn't have the time this morning.

Thirdly, I've made sure the dates you see in the tables are in your local timezone, previously they weren't correctly handled.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on April 15, 2015, 10:40:33 am
Hey svk :)
Just a thought; It would be cool if on this page (http://www.bitsharesblocks.com) we could click on a little chart icon like this (http://simpleicon.com/wp-content/uploads/bar-chart-7.png) which will popup a simple chart showing the "NEW USERS" statistics, allow us to (jQuery?) scale it, etc.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on April 26, 2015, 08:44:06 pm
Just a heads-up that there will be some downtime this evening, I tried to do a graceful upgrade to 0.9.0 but the client ended up randomly deleting the chain folder so now I have to resync everything :(
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on April 27, 2015, 08:37:32 am
Just a heads-up that there will be some downtime this evening, I tried to do a graceful upgrade to 0.9.0 but the client ended up randomly deleting the chain folder so now I have to resync everything :(
Everything should be fine now, but do let me know if you notice something not working, there were a lot of hidden changes in this new version..
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: clayop on May 04, 2015, 01:27:57 am
Price ratio and fees are not shown in market order history  :'(
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on May 04, 2015, 08:16:18 am
Price ratio and fees are not shown in market order history  :'(

Thanks, it was due to the 0.9.0 upgrade changing some fields, it's fixed now.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Thom on May 10, 2015, 03:49:33 pm
You probably get feedback like this frequently, so you may already be aware of this. I'll tell you what I've noticed and let you do with the info as appropriate.

I just updated my delegate client to version 0.9.1, yet the delegate info tab on bsb reflects 0.9.0. I verified the client did publish the new version, yet it is not reflected on the bsb website.

Do you employ a cache for certain info considered to be less dynamic and more static in nature, or have recent code changes in the client (I noticed the cmd "blockchain_is_synced" no longer exists) introduced this behavior? 0.9.0 was the previous version the delegate published.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on May 10, 2015, 08:49:06 pm
do you know this site?

http://www.coincadence.com/charts/

i like how the information is presented. Maybe some charts etc. you can do also.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on May 12, 2015, 02:22:55 pm
You probably get feedback like this frequently, so you may already be aware of this. I'll tell you what I've noticed and let you do with the info as appropriate.

I just updated my delegate client to version 0.9.1, yet the delegate info tab on bsb reflects 0.9.0. I verified the client did publish the new version, yet it is not reflected on the bsb website.

Do you employ a cache for certain info considered to be less dynamic and more static in nature, or have recent code changes in the client (I noticed the cmd "blockchain_is_synced" no longer exists) introduced this behavior? 0.9.0 was the previous version the delegate published.

No cache for that no, I'll have a look but seems strange, did you update using wallet_publish_version?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on May 14, 2015, 06:07:09 pm
@svk one of your processes that fill the delegates database seem to be broken .. I can't find any of the bunkermining delegates
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on May 14, 2015, 08:43:04 pm
Hey guys, I just posted this tech support question and was told to notify this thread, so here it is:
https://bitsharestalk.org/index.php/topic,16344.msg209004.html#msg209004
 
Please and thanx :)
  -ken
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on May 14, 2015, 09:03:41 pm
@svk one of your processes that fill the delegates database seem to be broken .. I can't find any of the bunkermining delegates

Hey guys, I just posted this tech support question and was told to notify this thread, so here it is:
https://bitsharestalk.org/index.php/topic,16344.msg209004.html#msg209004
 
Please and thanx :)
  -ken


Both questions are related, Ken you broke the backend script that updates the delegate info with incorrect json in your public data field. favdesu also has some reaaaally strange fields in his json that made it impossible to update the mongo database. I pushed an update that removes incorrect fields so it's working again now.

If you want the backend to pick up your delegate.description etc fields you need to use proper json, not "delegate.description"
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on May 14, 2015, 10:12:21 pm
@svk one of your processes that fill the delegates database seem to be broken .. I can't find any of the bunkermining delegates

Hey guys, I just posted this tech support question and was told to notify this thread, so here it is:
https://bitsharestalk.org/index.php/topic,16344.msg209004.html#msg209004
 
Please and thanx :)
  -ken


Both questions are related, Ken you broke the backend script that updates the delegate info with incorrect json in your public data field. favdesu also has some reaaaally strange fields in his json that made it impossible to update the mongo database. I pushed an update that removes incorrect fields so it's working again now.

If you want the backend to pick up your delegate.description etc fields you need to use proper json, not "delegate.description"

 :P
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on May 15, 2015, 07:51:31 am
???
Our pr manager killed bitshares?

We need to tell the CEO!

:P
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on May 15, 2015, 09:52:42 am
You want me to past json code into the key field? So what goes into the value field?
I know json quite well, but bts.wiki specifically says to use "website" as a key (for example) and "delegate.proposal" as a key.
Not everybody knows json or will understand what to paste into these fields.
 
I know it's easier to blame it on the user though, right?
 
Be specific, please:
 
(http://i.imgur.com/CXQ3uOz.png)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on May 15, 2015, 10:00:14 am
You want me to past json code into the key field? So what goes into the value field?
I know json quite well, but bts.wiki specifically says to use "website" as a key (for example) and "delegate.proposal" as a key.
Not everybody knows json or will understand what to paste into these fields.
 
I know it's easier to blame it on the user though, right?
 
Be specific, please:
 
(http://i.imgur.com/CXQ3uOz.png)

"delegate.description" is not a valid key, "delegate" is a key and "description" is a subkey in "delegate". I don't believe you can set subfields like this using the GUI, so use the Command Line Interface instead. xeroc made a little python script that does it for you if you don't want to do it yourself:

http://wiki.bitshares.org/index.php/Delegate/PublicData

Otherwise, just use this template:

https://bitsharestalk.org/index.php/topic,11485.msg154443.html#msg154443
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on May 15, 2015, 10:16:21 am
Uh huh, that's what I thought.
It's not the user's fault (me).
 
The bts.wiki doesn't say anything about having to use the Console, CLI or Command Line anything:
http://wiki.bitshares.org/index.php/Delegate/PublicData
 
The wiki even says that I can use keys such as "services" and "email" which also don't show once I paid to have them published:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode
 
This is exactly the kind of bs I'm ranting about. Laughing it off and pointing the finger at somebody else instead of taking responsibility (whether it's your job or not) and just get the damn job done. What's it going to take?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: fav on May 15, 2015, 10:22:08 am
@svk one of your processes that fill the delegates database seem to be broken .. I can't find any of the bunkermining delegates

Hey guys, I just posted this tech support question and was told to notify this thread, so here it is:
https://bitsharestalk.org/index.php/topic,16344.msg209004.html#msg209004
 
Please and thanx :)
  -ken


Both questions are related, Ken you broke the backend script that updates the delegate info with incorrect json in your public data field. favdesu also has some reaaaally strange fields in his json that made it impossible to update the mongo database. I pushed an update that removes incorrect fields so it's working again now.

If you want the backend to pick up your delegate.description etc fields you need to use proper json, not "delegate.description"

you're welcome :D I added a url to my delegate post.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on May 15, 2015, 10:23:29 am
Uh huh, that's what I thought.
It's not the user's fault (me).
 
The bts.wiki doesn't say anything about having to use the Console, CLI or Command Line anything:
http://wiki.bitshares.org/index.php/Delegate/PublicData
 
The wiki even says that I can use keys such as "services" and "email" which also don't show once I paid to have them published:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode
 
This is exactly the kind of bs I'm ranting about. Laughing it off and pointing the finger at somebody else instead of taking responsibility (whether it's your job or not) and just get the damn job done. What's it going to take?

Who's pointing fingers or laughing? I simply pointed out you used incorrect json which is why it didn't work, ranting and raving won't change that.

Services and email don't show because I never added them to Bitsharesblocks, they do exist in your public_data however.

Like I said the wiki does give you a handy script you can use to update the public data. As for the CLI, it's always been recommended best practice to run delegates using a VPS, which means you have no access to the GUI.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on May 15, 2015, 10:24:57 am
you're welcome :D I added a url to my delegate post.

It won't work unless you use the correct format though as described in the wiki, I think you added the full url as a field in your json.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: fav on May 15, 2015, 10:25:48 am
you're welcome :D I added a url to my delegate post.

It won't work unless you use the correct format though as described in the wiki, I think you added the full url as a field in your json.

yeah, I'll delete it or try to get it fixed asap. it's not that important in my opinion.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on May 15, 2015, 10:37:58 am
Who's pointing fingers or laughing? I simply pointed out you used incorrect json which is why it didn't work, ranting and raving won't change that.

Services and email don't show because I never added them to Bitsharesblocks, they do exist in your public_data however.

Like I said the wiki does give you a handy script you can use to update the public data. As for the CLI, it's always been recommended best practice to run delegates using a VPS, which means you have no access to the GUI.

cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.
 
svk, you're cool too no worries, I'm just frustrated the past few days. sorry guys.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on May 15, 2015, 11:04:16 am
cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.
I was making fun of this .. sorry if it came across as an insult .. It's difficult to make fun over the internet .. I apologize
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: cass on May 15, 2015, 11:25:48 am
Who's pointing fingers or laughing? I simply pointed out you used incorrect json which is why it didn't work, ranting and raving won't change that.

Services and email don't show because I never added them to Bitsharesblocks, they do exist in your public_data however.

Like I said the wiki does give you a handy script you can use to update the public data. As for the CLI, it's always been recommended best practice to run delegates using a VPS, which means you have no access to the GUI.

cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.
 
svk, you're cool too no worries, I'm just frustrated the past few days. sorry guys.

? i just quoted OPs post ... nothing more .. and i was just kidding ..
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: BunkerChainLabs-DataSecurityNode on May 15, 2015, 11:35:28 am
cass and xeroc made the impression that it was somehow my fault. sorry if i took their smirks the wrong way.
I was making fun of this .. sorry if it came across as an insult .. It's difficult to make fun over the internet .. I apologize

Well I thought it was funny. :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on May 15, 2015, 01:28:08 pm
Well, it's looking better, but it still doesn't show my Delegate services, my gravatar and such:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode
 
Here is the Console code I used:
Code: [Select]
>> wallet_account_update_registration delegate.kencode delegate.kencode {"services":"BitShares Sales & Support, DAC Builder, PR Agent, Copy Editor, Social Mediums & Translator","gravatarID":"3e4a1a8b2521be32eb3244b9cfbf7669","version":"0.9.0","website":"http://BitShares-Munich.de","email":"ken@BitShares-Munich.de","delegate":{"handle":{"bitsharestalk":"kenCode"},"country":"de","description":"BitShares Munich","proposal":"https://bitsharestalk.org/index.php?topic=16072"}} 100

TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
======================================================================================================================================================================
2015-05-15T13:05:09 PENDING   delegate.kencode    delegate.kencode    0.00000 BTS             Update delegate.kencode's public data       0.50000 BTS         ba0a2615

 
Is my syntax off?
Is bitsharesblocks not ready for the json key/value pairs that the wiki states?
 
Let me know what I should fix if you could, please :)
Thanx,
  -ken
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: xeroc on May 15, 2015, 02:22:38 pm
I think that bitsharesblocks is not yet parsing all values you could possibly store in your public data ...
also note that the "proposal" on the wiki is still a "proposal" .. and no one can be force to follow that syntax ..
It's a difficult thing for svk to be compatible with "moving parts" :)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on May 16, 2015, 07:06:45 am
#1 Did I do something wrong with the "bitsharestalk" key?
 
#2 It still doesn't show my Delegate services, my gravatar image, or my email:
http://bitsharesblocks.com/delegate/info?name=delegate.kencode
 
Here is the Console code I used:
Code: [Select]
>> wallet_account_update_registration delegate.kencode delegate.kencode {"services":"BitShares Sales & Support, DAC Builder, PR Agent, Copy Editor, Social Mediums & Translator","gravatarID":"3e4a1a8b2521be32eb3244b9cfbf7669 ","version":"0.9.0","website":"http://BitShares-Munich.de","email":"ken@BitShares-Munich.de","delegate":{"handle":{"bitsharestalk":"kenCode"},"country":"de","description":"BitShares Munich","proposal":"https://bitsharestalk.org/index.php?topic=16072"}} 100

TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
======================================================================================================================================================================
2015-05-15T13:05:09 PENDING   delegate.kencode    delegate.kencode    0.00000 BTS             Update delegate.kencode's public data       0.50000 BTS         ba0a2615

 
#3 Let me know what I should fix please :)
Thanx,
  -ken
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on May 30, 2015, 03:17:19 pm
@svk

On  https://bitsharesblocks.com/asset/orderbook?asset=USD
On the MARGIN CALL ORDERS (Cover bitUSD)  table the last short that shows up expires at 7 June... Can you add all data for all shorts?
It would be great to have the list for all expirations for the whole month! (one month from now)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jz831 on June 17, 2015, 08:15:57 pm
Is there an issue with BSB? The last block available on bitsharesblocks.com is 2,827,953   Jun 17, 2015 8:11:00 AM

get_info in the client is currently returning:
{
  "blockchain_head_block_num": 2829761,
  "blockchain_head_block_age": "6 seconds old",
  "blockchain_head_block_timestamp": "2015-06-17T20:12:30",
... [snip]

??
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on June 18, 2015, 12:07:58 am
Is there an issue with BSB? The last block available on bitsharesblocks.com is 2,827,953   Jun 17, 2015 8:11:00 AM

get_info in the client is currently returning:
{
  "blockchain_head_block_num": 2829761,
  "blockchain_head_block_age": "6 seconds old",
  "blockchain_head_block_timestamp": "2015-06-17T20:12:30",
... [snip]

??
It  got stuck somehow, probably due to all the new accounts, bringing it back up to speed now.

Crazy how this kind of thing always happens on the rare nights when I try to disconnect completely! :(

Envoyé de mon C6603 en utilisant Tapatalk

Title: Re: Developer delegate: dev.bitsharesblocks
Post by: jz831 on June 18, 2015, 04:51:21 am
Thanks for the update, and for all the hard work.. Apologies if my post wasn't the proper way to alert on this issue, just wasn't sure where to go.

ya ya, murphy's law and all that, it never fails  :)  BSB is awesome stuff, thanks again!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: tonyk on June 18, 2015, 04:20:00 pm
svk, I think it stuck again


like it was here https://bitsharestalk.org/index.php/topic,17016.msg217876.html#msg217876
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: MrJeans on July 04, 2015, 05:45:43 pm
@svk

I am trying to work out some metrics for Bitshares.
Can you please let me know how I can view (in CSV or excel format) data for the following since launch or for an extended period of time:
- daily transaction fees
- daily price
- total daily delegate pay
- daily number of shares burnt in transactions (as transaction fees)

I see that the information is there on bitsharesblocks, its just not in a format I can read.

Thanking you or anyone else who can help with this!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: kenCode on August 18, 2015, 09:08:47 pm
Tiny request:
 
If you direct paste in a link like this:
http://bitsharesblocks.com/blocks/block?id=3359424.2
 
Is there any way you could put a <div id="dot2"></div> at that section of the page and do a jquery scroll down to that ".2" section of the page onLoad?
 
Code: [Select]
// smooth scroll to inner page links
$(document).ready(function(){
$('a[href^="#"]').on('click',function (e) {
e.preventDefault();
var target = this.hash;
var $target = $(target);
$('html, body').stop().animate({
'scrollTop': $target.offset().top
}, 900, 'swing', function () {
window.location.hash = target;
});
});
});

 
Please and thanx :)
  ken
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on September 06, 2015, 08:26:30 am
@svk Can you add a historical price chart for brownies?

http://bitsharesblocks.com/asset/info?asset=BROWNIE.PTS
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on September 17, 2015, 10:56:42 am
The "Delegate Participation Rate:" is not changing ! It is stuck at 97.12%

@svk
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on September 17, 2015, 11:03:32 am
The "Delegate Participation Rate:" is not changing ! It is stuck at 97.12%

@svk

Is it different from what the client is reporting though? We've had the same set of delegates offline for a while now so I guess it's normal that the participation doesn't change.

Re. your previous question, I'm not sure why that plot isn't showing up, IIRC I checked it in the client and it was the client that was report an empty price history. Will doublecheck later.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: BunkerChainLabs-DataSecurityNode on September 17, 2015, 01:15:10 pm
The "Delegate Participation Rate:" is not changing ! It is stuck at 97.12%

@svk

It's not stuck.. we got two dead delegates that are not even online that I been attempting for weeks now to get voted out so we have 100%. At one point one of them got voted out, but then it seems more Chinese investors came back to buy BTS and their old votes in their wallets just pulled them back into the 101.

You can see the thread I started here:

https://bitsharestalk.org/index.php/topic,18316.0.html
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on September 17, 2015, 02:43:05 pm
Is it different from what the client is reporting though? We've had the same set of delegates offline for a while now so I guess it's normal that the participation doesn't change.

Re. your previous question, I'm not sure why that plot isn't showing up, IIRC I checked it in the client and it was the client that was report an empty price history. Will doublecheck later.


The "Delegate Participation Rate:" is not changing ! It is stuck at 97.12%

@svk

It's not stuck.. we got two dead delegates that are not even online that I been attempting for weeks now to get voted out so we have 100%. At one point one of them got voted out, but then it seems more Chinese investors came back to buy BTS and their old votes in their wallets just pulled them back into the 101.

You can see the thread I started here:

https://bitsharestalk.org/index.php/topic,18316.0.html

that's right but I did noticed that when my 2 delegate went of line as well a couple of hours and the output was the same on bitsharesblocks (on my client info it was about  96%)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: BunkerChainLabs-DataSecurityNode on September 17, 2015, 03:29:02 pm
Is it different from what the client is reporting though? We've had the same set of delegates offline for a while now so I guess it's normal that the participation doesn't change.

Re. your previous question, I'm not sure why that plot isn't showing up, IIRC I checked it in the client and it was the client that was report an empty price history. Will doublecheck later.


The "Delegate Participation Rate:" is not changing ! It is stuck at 97.12%

@svk

It's not stuck.. we got two dead delegates that are not even online that I been attempting for weeks now to get voted out so we have 100%. At one point one of them got voted out, but then it seems more Chinese investors came back to buy BTS and their old votes in their wallets just pulled them back into the 101.

You can see the thread I started here:

https://bitsharestalk.org/index.php/topic,18316.0.html

that's right but I did noticed that when my 2 delegate went of line as well a couple of hours and the output was the same on bitsharesblocks (on my client info it was about  96%)

I think there is a floating average that is being used there.. SVK can confirm.. but I am guessing the participation works similar to how feed data does to.. its not necessarily realtime but works based on an average calculation.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on September 17, 2015, 04:12:05 pm
It's on a one minute refresh timer, no caching or average apart from that, just the value straight from the client. I checked and there's some memory issues with my scripts which could be causing this, it seems to be running better now though.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on September 18, 2015, 07:04:56 am
I figured out the issue, the supply collection had grown so big that when I was using it to calculate the amount of BTS tied in collateral and supply change it completely froze the node process and ended up running out of memory. I've disabled it for now, so collateral and supply change won't be displayed on the home page, I'll probably leave it like that for now since I want to focus on Graphene and getting ready for launch.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on September 18, 2015, 07:37:11 am
I figured out the issue, the supply collection had grown so big that when I was using it to calculate the amount of BTS tied in collateral and supply change it completely froze the node process and ended up running out of memory. I've disabled it for now, so collateral and supply change won't be displayed on the home page, I'll probably leave it like that for now since I want to focus on Graphene and getting ready for launch.

Please!
 +5%
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on September 18, 2015, 10:44:20 am
Just to let you know to check it in the future...
PRICE HISTORY (BTS/NOTE) stops on May....
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on September 19, 2015, 04:04:44 am
All active feeds from delegates have a zero output right now!

http://bitsharesblocks.com/delegates
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: BunkerChainLabs-DataSecurityNode on September 19, 2015, 04:10:01 am
All active feeds from delegates have a zero output right now!

http://bitsharesblocks.com/delegates

I think SVK has some kind of server issue going on right now. I already messaged him an hour ago to let him know what is going on... but its late.. hopefully he might get the message in the morning to respond.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on September 19, 2015, 06:08:30 am
Yea I was asleep :)

It should be fixed now, the latency I can't do much about though since it depends on the DO server. Last time they spiked it was due to an issue on their end but that should've been fixed.

Anyway thanks for the heads up.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on October 13, 2015, 10:23:17 pm
@svk

http://coinmarketcap.com/exchanges/bitshares-asset-exchange/

you must inform them they must use another block explorer OR  update this one to reflect bts2 new bit-asset prices....

1 bitUSD= 2 dollars !!!! :o   :D
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: liondani on October 14, 2015, 10:41:12 am
@svk

Please don't show statistics for bts1.0  anymore http://bitsharesblocks.com/
update or link it with https://bitshares.openledger.info/#/explorer/blocks
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Shentist on October 17, 2015, 07:20:03 am
is bitsharesblocks not transfered to 2.0?

the main source are not updated, this will cause some frustration or confusion to peoples.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on October 17, 2015, 08:10:33 am
is bitsharesblocks not transfered to 2.0?

the main source are not updated, this will cause some frustration or confusion to peoples.

Yea I simply haven't had the time to do so, will get to it eventually once things calm down.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Pheonike on October 17, 2015, 01:16:10 pm
Can you at least put up a warning show ppl its not the 2.0 chain.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: noisy on October 29, 2015, 10:18:49 pm
Quote
Can you at least put up a warning show ppl its not the 2.0 chain.

Exactly!
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: svk on October 29, 2015, 10:26:13 pm
It's only available at legacy.bitsharesblocks.com now.
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: noisy on October 29, 2015, 11:50:44 pm
I think it would be better to have any kind of landing page, rather than "This webpage is not available"
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on September 09, 2016, 04:42:00 pm
There is no hint that this worker (https://cryptofresh.com/u/dev.bitsharesblocks) is operted by you (svk) here:  https://cryptofresh.com/workers

Isn't it possible to put a link into the worker proposal as it is seen on cryptofresh that makes clear who the worker is operated by and what the purpose is?
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: nmywn on September 09, 2016, 06:03:06 pm
(https://ipfs.pics/ipfs/QmfFuoZW57NrBQ15CqPuqJSANPxt6sVVtEmj3LMx9hvYFV)
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: santaclause102 on September 10, 2016, 11:59:23 am
(https://ipfs.pics/ipfs/QmfFuoZW57NrBQ15CqPuqJSANPxt6sVVtEmj3LMx9hvYFV)
oh thats tiny / hard to recognize @roadscape
Title: Re: Developer delegate: dev.bitsharesblocks
Post by: Seo-Ul-Naw on March 28, 2024, 10:38:04 am
Мы специалисты специалистов по SEO-оптимизации, работающих над увеличением посещаемости и рейтинга вашего сайта в поисковых системах.
Наша команда постигли успехи в своей области и расширим ваш кругозор нашим опытом и знаниями.
Что мы можем вам предложить:
• seo оптимизация купить (https://seo-prodvizhenie-ulyanovsk1.ru/)
• Полный аудит вашего сайта и создание индивидуальной стратегии продвижения.
• Модернизация контента и технических аспектов вашего сайта для оптимальной работы.
• Регулярное отслеживание и анализ результатов, с целью постоянного улучшения вашего онлайн-присутствия.
Подробнее https://seo-prodvizhenie-ulyanovsk1.ru/ (https://seo-prodvizhenie-ulyanovsk1.ru/)
Результаты наших клиентов уже видны: увеличение трафика, улучшение рейтинга в поисковых системах и, конечно, увеличение прибыли. Вы можете получить бесплатную консультацию у нас, для обсуждения ваших потребностей и разработки стратегии продвижения, соответствующей вашим целям и финансовым возможностям.
Не упустите возможность повысить эффективность вашего бизнеса в интернете. Обратитесь к нам немедленно.