Comments (9)
Potentially don't bother showing this data for any transactions before block 123479
(when poc_v4_exclusion_cells
was set at poc_version
= 4
) or 200500
(when poc_max_hop_cells
was set at poc_version
= 8
).
from explorer.
Since we check max distance (poc_max_hop_cells) and hex distance (poc_v4_exclusion_cells) we should show those instead?
from explorer.
@abhay what would that way look like in the UI? I'm not too familiar with h3 yet or what those chain vars represent exactly, so I'm not quite sure how I'd implement that or how well it would solve the user problem here. Would that be an overlay on the map? Do you think that's something I could add in addition to the way @cokes518 suggested above?
I was just about to add it the way Coco suggested by converting from h3 to lat/lon and using this function and just printing out the distance when I saw your comment, so not sure how to proceed on this for now.
from explorer.
@danielcolinjames hotspots have an h3 which represents the cell so you want to do distance between h3 indexes at the very least. From there you can see if it's within the range of the chain vars.
from explorer.
@abhay ah okay perfect, I get it now, thank you! I'll see if I can figure out some way to colour it with a success / fail colour without looking awful too...
from explorer.
I'm sure it'll look π―
from explorer.
Thanks, that's really helpful to know, will do some tests with transactions around those block numbers and see π
Also, just to double check, if a distance == 8, it's excluded right? I.e. the rule is: valid = distance > 8 && distance < 2000
, rather than >= 8 && <= 2000
, right?
(Obviously won't hard code the values)
from explorer.
Please ignore the design of this, just testing locally, but I think I'm going to rearrange the layout of the witness info to something like this:
Also I might have gotten some labels wrong, please let me know if I did. Just trying to make it easier to get all the information in one view, and the long string of numbers was getting a little hard to read. I figure using the full terms is probably better than acronyms too. I might also play with making the witness list for each step expandable, and perhaps collapsed by default...
from explorer.
Also, just to double check, if a distance == 8, it's excluded right? I.e. the rule is:
valid = distance > 8 && distance < 2000
, rather than>= 8 && <= 2000
, right?
valid ~= poc_v4_exclusion_cells <= hex_distance < poc_max_hop_cells
low end: https://github.com/helium/blockchain-core/blob/master/src/poc/blockchain_poc_path_v4.erl#L335-L346
high end: https://github.com/helium/blockchain-core/blob/master/src/poc/blockchain_poc_path_v4.erl#L319-L330
from explorer.
Related Issues (20)
- explorer shows wrong Hex and inaccurate (about 600m) location[Bug]: HOT 1
- [Bug]: 404 error at URL: /hotspots
- Hex wonβt get green
- [Bug]: 404 error at URL: /txns/ryrQmjPS7YqrBOerGDUnzUlhW05b3jcoV0LWBzhdEdo
- [Bug]: 404 error at URL: /hotspots/cities/Z3Jvw59rYXJsYmFjaHJoZWlubGFuZC1wZmFsemdlcm1hbnk
- [Bug]: 404 error at URL: /txns/-uzl1x7e7VmJBwopeOsAyE1eucLX7hqHwZ2L07wm6JU
- [Bug]: 404 error at URL: /txns/v9eG3qzBcjqwrxBOB8x1PbY_ZdgTbOCgxYLJNAVEsFU
- [Bug]: 404 error at URL: /hotspots/cities/2KfZhNix2YHYp9i52KfZhNmF2K3Yp9mB2LjYqSDYp9mE2KzZhtmI2KjZitipYmFocmFpbg
- Did get my coin off helium network
- [Bug]: 404 error at URL: /txns/J_1SBDA-B_Q3V31mKt6CoLna3_PAZG4jKdu-BZQtKgA
- [Bug]: 404 error at URL: /hotspots/latest
- [Bug]: 404 error at URL: /txns/bwWOUzAwsngCSJUSkhRtOUtUV3wByOL7djBD_lrRyyw
- [Bug]: 404 error at URL: /txns/bR3AOzZ3Neq7frqOMu5jf7ZAMoR0K77kHqt9ZUwizTM
- [Bug]: 404 error at URL: /txns/LNEWuyEOHrM-C47ympPl7DCv0gS0EDjRsA0qgDyzvJA
- [Bug]: 404 error at URL: /txns/lUpzJwkFJ2TEmywsB1mrt3fOVQrHvWL-yJzo9oAgUY0
- [Bug]: 404 error at URL: /hotspots
- [Bug]: 404 error at URL: /txns/2KlycTPrtmlxZdD6xvm6rOTn3FBgxiAhAe6C4C8vYFc
- [Bug]: 404 error at URL: /txns/eptOwiuB5RGEm6VGAsGt9ru4c1iaKViwBZDKC3MbDE4
- [Bug]: 404 error at URL: /txns/6ZCAVVvQYb-vAhWbAqw1r2_tL6KtxysvWkYwn83gvFw
- [Bug]: 404 error at URL: /hotspots/cities/cGllZGVjdWVzdGFzYW50YW5kZXJjb2xvbWJpYQ
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from explorer.