Author Topic: [Worker Proposal] Blockchain Explorer and API Development  (Read 20214 times)

0 Members and 1 Guest are viewing this topic.

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
BitShares committee member: abit
BitShares witness: in.abit

Offline roadscape

This week I focused on improving the asset pages. It's not finished but this is all useful market data so I figure I'd release the work in progress sooner than later:
https://cryptofresh.com/a/USD
https://cryptofresh.com/a/MKR_OPEN.BTC

Feedback is appreciated, especially from a trader's perspective.. Any units to flip? Any obvious missing data?

I've also been setting up a new development environment so I can perform more testing with witness_node RPC and websocket connections, and just to generally isolate any experiments. In this environment I will also attempt to reproduce the cli_wallet failures that cryptofresh experienced last night to see if I can gleam any more information on the root cause in a less frantic setting.

Aside from backend and maintenance work, the next feature I'd like to add is a 'universal instant search' to quickly locate accounts, assets, and transactions. I'll begin work on that next week.
http://cryptofresh.com  |  witness: roadscape

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
@Shentist Ok.. fixed! The issue was with the wallet's market history API.. it's supposed to track the latest 200 buckets, but it seems to only track the first 200 buckets. So as a hack a few months ago, I modified my node to track 1000 buckets. And as of a few days ago the BTS-USD market reached 1000 1-hour buckets.. leading to a cutoff of new data.

So now... I track 2000 buckets. 8)
Interesting :)
BitShares committee member: abit
BitShares witness: in.abit

Offline roadscape

@Shentist Ok.. fixed! The issue was with the wallet's market history API.. it's supposed to track the latest 200 buckets, but it seems to only track the first 200 buckets. So as a hack a few months ago, I modified my node to track 1000 buckets. And as of a few days ago the BTS-USD market reached 1000 1-hour buckets.. leading to a cutoff of new data.

So now... I track 2000 buckets. 8)
http://cryptofresh.com  |  witness: roadscape

Offline roadscape

Nevermind, I did see some USD trades go through.. looking into it..
http://cryptofresh.com  |  witness: roadscape

Offline roadscape

today the asset page shows for USD "low volume" but this is not correct, maybe something is not right.

This does seem strange.. but as far as I can tell, USD has simply not been traded in the last 24 hours.
http://cryptofresh.com  |  witness: roadscape

Offline Shentist

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 1601
    • View Profile
    • metaexchange
  • BitShares: shentist
today the asset page shows for USD "low volume" but this is not correct, maybe something is not right.

Offline roadscape

I was hoping to break into the new market API's but they aren't available from my existing RPC connection, so instead I focused on mapping out all the active markets and extracting/indexing the interesting bits. It's something that was preventing me from moving forward on several fronts.

Here's the first page redesign utilizing the new data: https://cryptofresh.com/assets

Next week I'll work on asset detail page improvements (view and select different markets, and minor UI enhance), as well as on connecting to the new APIs that allow me to pull the % change, top bid/ask, etc for markets (or upgrading the platform/schema to accomplish the same thing).
http://cryptofresh.com  |  witness: roadscape

Offline roadscape

Update:
This week I've focused on polling and aggregating market pair data. This is quite useful and makes it possible to move forward with many of the requested views and APIs. I plan to push the initial changes to production today, along with one redesigned view (asset list). Next week will have more UI updates that take advantage of this new data source!
http://cryptofresh.com  |  witness: roadscape

Offline fuzzy

All we need now is a guerrilla team that advertises this particular feature and does a little marketing!

All in due time.. :)

You know the best way to create an ARMY of these people?  Hint...a sharebot that enables other bots on the internet to call upon its functionality to share an FBA for various features...maybe this one?  ;)
WhaleShares==DKP; BitShares is our Community! 
ShareBits and WhaleShares = Love :D

Offline lovejoy

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Cryptofresh
  • BitShares: lovejoy
All we need now is a guerrilla team that advertises this particular feature and does a little marketing!

All in due time.. :)


Offline svk

I don't see it on the worker's tab. Can't vote for it.
Go back and forth between tabs and you'll see it.

Edit: but you can't vote right now anyway due to the extensions bug..

The worker still does not show up in the GUI.
@svk , will it be fixed in the next GUI release?



It's simply because there's no api call for fetching workers so I need to iterate over the worker id's, sometimes they resolve fast enough that all the workers show up in the list, sometimes they don't.

There's a very easy way to fix this though, just go to a different tab then back again and you'll see all the workers. Perhaps I can add a hack to force an update after x amount of time,  but it probably won't be 100% reliable anyway.
Worker: dev.bitsharesblocks

jakub

  • Guest
I don't see it on the worker's tab. Can't vote for it.
Go back and forth between tabs and you'll see it.

Edit: but you can't vote right now anyway due to the extensions bug..

The worker still does not show up in the GUI.
@svk , will it be fixed in the next GUI release?


Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
All we need now is a guerrilla team that advertises this particular feature and does a little marketing!

Offline lovejoy

  • Sr. Member
  • ****
  • Posts: 431
    • View Profile
    • Cryptofresh
  • BitShares: lovejoy
An early demo of the cryptofresh Post feature, and a call for testers:

https://cryptofresh.com/posts

After logging in with your BitShares account, and can write posts directly on the blockchain.
New posts will appear on the page as they come in, creating a realtime chat experience.

Each account starts out with 100 test credits. Posts consume 5 credits (or more, depending on post length). Tips consume 5 test credits. This is to prevent spam and also a fun experiment. I am working towards a more convenient model but this allows us to start testing right away.

There are 3 main features in play:
1) Logging in
2) Posting
3) Tipping

Replying is not yet functional (but mostly implemented in the backend). Feedback welcome & let me know if anything breaks! :D

This is where it starts getting real interesting... ;)

Y'all don't even know what this cat is capable of... though perhaps some suspect.

It's just like you to hide this epic development here in the worker proposal thread.
Mad respect for you Roadscape!  You're driven, and adept in a way that so few are... This community is lucky to have you.

“Man cannot discover new oceans unless he has the courage to lose sight of the shore.”
― André Gide