Code Monkey home page Code Monkey logo

block-explorer's Introduction

QRL Block Explorer

Build Status Code Climate Codacy Badge

Work in progress.

Currently running at: https://explorer.theqrl.org/

Dependencies

Meteor

Install

git clone https://github.com/theQRL/block-explorer.git
cd block-explorer
meteor npm install
meteor npm install --save babel-runtime meteor-node-stubs

(Optional) Configuration

Edit development.json

Run

meteor

or

meteor --settings development.json

block-explorer's People

Contributors

1rv1n-git avatar cyyber avatar dependabot[bot] avatar happysmash27 avatar herominers avatar jackalyst avatar jleni avatar jplomas avatar randomshinichi avatar scottdonaldau avatar surg0r avatar volt-mine avatar xiphon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

block-explorer's Issues

Richlist & Number of QRL Holders

It would be nice if we can add a page for the richlist and number of QRL Holders. The richlist should be showing the amount of Quantas & percentage of total Quantas holded by a given address.

Some transactions not showing for an address

This could be a qrl issue instead of a block-explorer issue but I will start here.
Testnet Feersum Endjinn. I am using the block explorer viewing address Q010600647bdcb1548622afa0a92ec1ba7b5d0fc212a3f2ae69fd830ac6ce01de5d94f1a66a7699 It shows only 2 transactions, a send of 99 quanta and a receive of a token. If I look at block 1774 and 2066 I see coinbase transactions to this address. There should be a lot more than 2 transactions for this address. https://explorer.theqrl.org/a/Q010600647bdcb1548622afa0a92ec1ba7b5d0fc212a3f2ae69fd830ac6ce01de5d94f1a66a7699
https://explorer.theqrl.org/block/1774
https://explorer.theqrl.org/block/2066

Status area refresh

The status area blinks on receiving an update from the server -- even if the data has not changed.

This is due to the status data being stored as a collection which is emptied each time it is updated: the speed of the DDP layer is such that this is reflected on the client.

There are two approaches around this: (a) check for data change prior to updating this collection (more workload on server) (b) patch the collection into a reactive variable (eg. session) on the client side that will only update when the data changes -- i.e. ignore the 'removed' trigger from the collection object.

Option to set a grayscale or light theme

Colour schemes are subjective and it would be beneficial to allow users to choose a theme which suits their setup and ambient light levels.

In my opinion a toggle to switch between a dark and lighter theme would improve readability of the explorer and accommodate all users, in spite of the initial complexity of such a setup.

Graph

In the new dark scheme there's a border around it -- box-shadow and border need disabling. Thanks to @scottdonaldau for spotting on his high res screen ;)

Click on 'TOKEN CREATION TRANSACTION' does not change page until page refresh

Using Chrome Browser, although I think this is related somehow to the issue with the QR codes not updating until refresh (wallet issue #132):

When clicking on a transaction involving a QRT from the QRL explorer homepage, you are taken to a page detailing the transaction. Underneath the token name is the link TOKEN CREATION TRANSACTION

Clicking that link visibly changes the URL in the web browser, but the page itself does not change. After refreshing you arrive on the page with the token creation details

A gif of the issue

Unconfirmed Tx

WHERE: Tx page

EXPECTED: if block: "unconfirmed" show "Pending" and amber disc at bottom of box and "Pending..." instead of "Invalid date". Plus set refresh timer.

CURRENT: Tx shows as "OK", green disc and "Invalid date".

Add size to block and transaction pages

API now updated to export size in bytes.

It would be useful to see this listed on the pages given we use hash-based signatures and do things differently to other blockchains.

Address page

Testnet: 1 shor transactions show as 1e-9 in pink in the address view and in small text next to the Txhash

Implement gRPC connection handling

Under certain circumstances, gRPC connections may drop to the node. Implement stateful connection handling and graceful reconnection.

Format UInt8Arrays in meta data

New gRPC API responses have added a number of UInt8Array items in txn/block/address meta data fields. Review and convert to human readable hex format.

Link to Token Hash in Address State

When viewing token balances in the address page on explorer, there is no link to then token hash page. Create a link to view this information.

Addresses with large amounts of transactions will not load

I tried viewing the address: Q0106002c7fafa78ed8cf6faabb62ab9d84449bf83ee1f556c34f959a173cc9c3d8bc2fec798158
using the mainnet block explorer and it kept spinning with the "Just a moment... transaction history loading" message.
I spun up my own block-explorer and tried it again. I noticed the following error message coming from the block-explorer:
I20181010-12:07:58.378(-5)? ERROR/getAddressState [Timestamp: Wed, 10 Oct 2018 17:07:58 GMT] Error: 8 RESOURCE_EXHAUSTED: Received message larger than max (4532290 vs. 4194304)

Certainly an easy fix is to increase the grpc message size. Long-term, this issue would keep reoccurring as the block chain grows, maybe there is planned pagination support for transactions.

Network Status Icon disparity between wallet/explorer

The green network status icon on the wallet sidebar makes perfect sense to me to indicate that the network is up, but on the explorer that same icon is white. If they were both green I think it would improve the sense of continuity between the two aspects of the site.

3

It's a minor deal though - thanks for your great work on this. The explorer is getting better and better every time I use it

Search - Issue with Android

Action: On Android with chrome, navigate to https://explorer.theqrl.org/search. Try to touch the search inputbox.
What happened: It's very difficult to search and/or paste something on the mobile site. You need to touch where the arrow is to have the keyboard and/or paste some text. If you touch the inputbox, it's the text below that is selected (i.e: The Quantum Resistant Ledger).
Android/iOS version: 7.1.2
Android/iOS handset model: NoxPlayer 6.2.6.1 (Samsung S8 emulation).

search

Recent blocks should show QRL per block rather than block-reward

The front page of the explorer lists blocks and transactions.

In my view instead of wasting a significant part of this space displaying a block-reward for each block, below the number of transactions in the block what should be displayed is: total number of QRL transacted in the block i.e. sum of coinbase + any other transaction amounts.

Question

Can you use it for other coins? I tried but not work. Anyway, look good, good luck!

Info graph is distorted!

Upon going to the block explorer's main page, the info graph on the top-right side of the page is distorted--only filling up half of the top-half portion of the space that was intended for it.

Smooth transition to new blocks or tx

As the front page updates with each tick, there is a flicker as the windows for recent blocks and recent tx are redrawn, even if no new data has arrived.

It would be nice for new data to smoothly transition into both boxes without the redrawing flicker.

Slave tab navigation

On navigating to a slave address from the slave tab, the active tab should return to default

Filters

Create a filtering mechanism for the explorer across block and address pages.

Some transactions not displaying

This could be a qrl issue instead of block-explorer but I'll start here.
Testnet Feersum Endjinn.
I cannot view transactions on early blocks in the testnet. If I click on a transaction in an early block it loads a new page but does not display anything.

Transaction page

Should display a dropdown expandable section containing the XMSS signature components: OTS key, OTS public key, signature, merkle auth proof, merkle IBMS routing data.

Lower case issue / Keybase bug

There's a bug with the explorer for addresses with lower case in the URL.

On keybase, the address is recorded in lower case 1. When following the link, transactions cannot be displayed on the explorer 2. The address needs to be in upper case 3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.