Dcrstats.com - Decred Network Dashboard

Discussion in 'User Projects' started by Dyrk, Feb 23, 2016.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    Thank you for the report. You are right, dcrd died and didn't restart. I knew that I shouldn't update it to v0.0.9 :) previous version worked fine.

    Code:
    14:19:57 2016-04-06 [ERR] CHNS: Websocket receive error from localhost:9109: websocket: close 1006 unexpected EOF
    14:20:50 2016-04-06 [ERR] CHNS: Failed to receive session result: the client has been shutdown
     
    Ayush likes this.
  2. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    Noah likes this.
  3. brencelj

    brencelj New Member

    Jan 10, 2016
    49
    17
    That is great :).
    Can you add a text that this is in a way windows tutorial since for you don't CMD and such stuff :)
     
  4. Ayush

    Ayush Full Member
    Advocate (Facebook)

    Jan 9, 2016
    512
    100
    Male
    .
    .
  5. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
  6. Noah

    Noah Member
    Advocate (Twitter)

    Feb 1, 2016
    154
    97
    Male
    Amsterdam
    Emilio Mann and Dyrk like this.
  7. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    Dyrk, new feature added "ticketfeeinfo"
    https://github.com/decred/dcrd/commit/41abd203355e933f99da2b64754375e65b867a04

    Code:
    > ticketfeeinfo 2 2
    {
      "feeinfomempool": {
        "number": 0,
        "min": 0,
        "max": 0,
        "mean": 0,
        "median": 0,
        "stddev": 0
      },
      "feeinfoblocks": [
        {
          "height": 21359,
          "number": 1,
          "min": 0.0635324,
          "max": 0.0635324,
          "mean": 0.0635324,
          "median": 0.0635324,
          "stddev": 0
        },
        {
          "height": 21358,
          "number": 3,
          "min": 0.01216216,
          "max": 0.01216216,
          "mean": 0.01216216,
          "median": 0.01216216,
          "stddev": 0
        }
      ],
      "feeinfowindows": [
        {
          "startheight": 21312,
          "endheight": 21360,
          "number": 284,
          "min": 0.01010101,
          "max": 0.16891891,
          "mean": 0.0212456,
          "median": 0.01216216,
          "stddev": 0.02388776
        },
        {
          "startheight": 21168,
          "endheight": 21312,
          "number": 2880,
          "min": 0.01,
          "max": 0.375,
          "mean": 0.13400829,
          "median": 0.16891891,
          "stddev": 0.06412928
        }
      ]
    }
    It displays in fees per KB. You may find it useful for your site.
     
    David, chappjc, zero and 1 other person like this.
  8. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    @ceejep thank you. Today I was thinking how can I optimize parser of 6000+ raw transactions, because today it failed few times.
    Great job! ;)
     
  9. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    [​IMG]

    Hey guys,

    today I deployed new big section - Decred Network Map.
    It was requested by community members in early March, and finally I developed this feature.
    Please leave your feedback and further requests!

    What's new:
    - Beautiful world map with active nodes
    - List of all active known peers with info about Decred version, last known block etc.

    You can find peerinfo (with coordinates and other additional info, not presented in "getpeerinfo" call) also in JSON format here: https://dcrstats.com/api/v1/peerinfo

    What is going next:
    - Public API and documentation. Soon you will be able to build your own apps and services using all data from huge Dcrstats Database.
    - Dcrstats Stakepool
    - Many old features will be fixed (for example Poolsize chart) + performance improvements
     
    goofoff, Tivra, adam2312 and 7 others like this.
  10. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    Meanwhile dcrstats.com is live for 2 months. Here is some statistics from Ministry of Statistics.
    • 6 162 unique visitors
    • 38 599 visits
    • 62 886 page viewes
    • 4:40 is an average visit time
    TOP-10 countries:
    • USA - 21,8 %
    • Russia - 13,2 %
    • Brazil - 6,94 %
    • Italy - 5,35 %
    • Ukraine - 4,54 %
    • Greece - 4,24 %
    • Germany - 3,73 %
    • China - 3,6 %
    • India - 3,24 %
    • Belarus - 2,53 %
     

    Attached Files:

    • img.png
      img.png
      File size:
      105.7 KB
      Views:
      10
    David, Tivra, ceejep and 1 other person like this.
  11. chappjc

    chappjc Full Member
    Developer Pool Operator (PoS)

    Well done! I feel like at least 20% of those must be from me. :D
     
    David and Dyrk like this.
  12. jolan

    jolan Sr. Member
    Developer

    Dec 7, 2015
    197
    226
    Male
    Decred Team Member
    Tivra likes this.
  13. adam2312

    adam2312 Jr. Member

    Jan 11, 2016
    118
    43
    Male
    Nice map! I'm surprised to not see more/any in Brazil.
     
    Tivra likes this.
  14. Tivra

    Tivra Member
    Advocate (BitcoinTalk)

    Dec 30, 2015
    120
    60
    Europe
    #94 Tivra, Apr 23, 2016
    Last edited: Apr 24, 2016
    I'm currently learning JavaScript / node ... dcrstats.com is an inspiration, I love it. It's the kind of web application I dream of contributing to.
    When I'm a little more experienced I'll study its source code.
    Thanks for making it !
     
    tacotime and Dyrk like this.
  15. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    Hi @Tivra, thank you for the feedback ;)
    I think it's a great idea to learn some JS, let me know if I can help you.
     
    Tivra likes this.
  16. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    Hi @ceejep,
    today I tested "feeinfomempool" and noticed that it calculates fees for both regular transactions and sstx. Is there any chance to split them?
    Current output is not that useful. Here is example:
    https://mainnet.decred.org/block/00000000000008e29966dba9e6f9b17c366dd0be7a86baade56ffb09bc2d353f

    In this block there are 5 vote transactions with 0 fee and 1 consolidate transaction with 0.65 DCR fee.
    So the Median was way far from reality. For PoW-miners it was 0.65, for PoS-guys 0. So mean and median in this case has quite confusing value.
     
    Tivra likes this.
  17. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    ticketfeeinfo only returns information about ticket fees. I'm not sure which other command you are using?
     
  18. Dyrk

    Dyrk Sr. Member
    Developer

    Jan 7, 2016
    518
    376
    Male
    Wonderland
    Updates: PoS statistics changed.

    1. Replaced PoS poolsize chart with 'All time purchased tickets grouped by price'. Each price here represents interval, eg: 8 means all tickets within interval 8-9 DCR.
    So now you can see tickets volumes.
    If for some reason you want to see full raw data, you can check this API endpoint:
    https://dcrstats.com/api/v1/popular_ticket_prices?raw=true
    it is much more detailed, but looks very bad on all types of charts (i tried plenty). Ticket price before 4895 block is ignored ( 2 DCR ).

    2. Warning about average price in the existing pool added to PoS Hints block. Example:
    3. Small bug fixes and code cleaning.

    I am working now on even more PoS stats and more complex analysis. However I didn't update for long time PoW charts page. Please let me know what else do you want to see from PoW stats.
     
    David, adam2312, Tivra and 5 others like this.
  19. Nimrod

    Nimrod New Member

    Mar 4, 2016
    102
    18
    Male
    A suggestion for PoW ticket distribution graph. It's now number of ticket per price. It would be nice to also see total DCR per ticket price of total DCR staked. There is a very large amount of small value tickets and that is difficult to see. ( 5 tickets at 2 DCR = 10 DCR, 2 tickets at 5 DCR = 10 DCR )

    As these low price tickets are voted out the value of those tickets is not enough to purchase more expensive tickets... which may push down the ticket price in the short term.
     
  20. ceejep

    ceejep Sr. Member
    Developer

    Dec 14, 2015
    192
    220
    tacotime, Nimrod and Dyrk like this.

Share This Page