Commit Graph

112 Commits

Author SHA1 Message Date
Jason Rhinelander 007baea846 Loki -> Oxen 2021-01-07 18:04:00 -04:00
Jason Rhinelander 868fd7dc0b
Merge pull request #2 from KeeJef/master
Oxen colours
2021-01-07 18:02:52 -04:00
Jason Rhinelander 99974f11eb
Merge pull request #1 from loki-project/UpdateBuildInstructions
Build Instructions
2021-01-06 22:43:54 -04:00
Jason Rhinelander 698b22dee3 Add and display stake amount for staking txes
(Requires loki-core PR #1381)
2021-01-05 23:10:32 -04:00
Kee Jefferys 8bac558d6f
Update README.md 2021-01-06 02:10:19 +11:00
Kee Jefferys 45638914b9
Oxen colours 2021-01-06 01:18:30 +11:00
Kee Jefferys 2fe889d703
Build Instructions
This is what i needed to build
2021-01-06 00:25:28 +11:00
Jason Rhinelander 77f0eec3e9 Add file for local site config options 2021-01-04 13:54:59 -04:00
Jason Rhinelander 443b2d21cf Add caching CoinGecko price api endpoint
/api/prices returns all supported CoinGecko vs currencies;
/api/price/btc (or any other base) returns the price in the given base
(if supported by CoinGecko).
2021-01-04 13:40:47 -04:00
Jason Rhinelander c69390ef04 Increase max message size
Huge mempools on test were hitting this limit.
2021-01-04 13:07:39 -04:00
Jason Rhinelander b678445d77 Update lokinet URLs with LNS names 2021-01-04 13:07:01 -04:00
Jason Rhinelander fcd36177fc pulse & checkpoint participation; SS reachable
SS reachable unfortunately can't be done easily here as we only conduct
reachability tests if lokid is actually running as a SN.
2020-10-19 16:32:35 -03:00
Jason Rhinelander 4716efc67e Allow cross-origin requests 2020-10-12 23:07:23 -03:00
Jason Rhinelander ae0af9c1a5 Add /txpool 2020-10-12 21:14:24 -03:00
Jason Rhinelander 8b40fb11ae Show SN version on SN details page 2020-10-12 20:34:57 -03:00
Jason Rhinelander 156ca75895 Highlight the current pulse quorum
Like we do for blink/testing.
2020-10-12 20:00:33 -03:00
Jason Rhinelander 321b4619c4 Add links to access over lokinet 2020-10-12 20:00:09 -03:00
Jason Rhinelander 84d52cbd42 Fix checkpoint signature/crosses
Signatures were always showing the x marks on the end, rather than at
the proper position.  Drawing logic should be based on `.voter_index`,
not loop index.
2020-10-12 19:55:42 -03:00
Jason Rhinelander 3d774df82d Update repository URL 2020-10-12 03:47:13 -03:00
Jason Rhinelander 841cff22c6 Fix timezone issues 2020-10-12 03:42:13 -03:00
Jason Rhinelander 7ffbbb2d7e Add SN and quorum info to state change tx page 2020-10-11 18:32:29 -03:00
Jason Rhinelander 419746d017 Add API calls
These are similar to (but not identical to) the old explorer; care was
taken to ensure that emission and circulating_supply endpoints return
the same values as before as these are likely being used externally.
2020-10-11 18:31:17 -03:00
Jason Rhinelander 3869e53bdd Add blink quorums, highlight currently active quorum 2020-10-11 01:27:49 -03:00
Jason Rhinelander 453416fac3 Allow "Contributors" to be hyphenated to save space 2020-10-11 00:22:17 -03:00
Jason Rhinelander 77d6a4f715 Only show pulse quorums header if there are pulse quorums 2020-10-11 00:21:59 -03:00
Jason Rhinelander 8c048e2192 Remove obsolete timing info 2020-10-11 00:09:04 -03:00
Jason Rhinelander fc90738a0e Add quorum details page
This is completely different from the old one, made much more compact
and usable using the full list of truncated SN pubkeys in flex boxes.
2020-10-11 00:07:20 -03:00
Jason Rhinelander cecaddc18a Add setup instructions 2020-10-06 23:11:43 -03:00
Jason Rhinelander 3c4d5d10bc Add GPLv3 license 2020-10-06 21:33:07 -03:00
Jason Rhinelander 987be9e95e Fix and tweak pulse/miner display
- Pulse info wasn't showing up
- move pulse random and validator bits, and miner nonce into the info
attribute rather than giving them full visible fields.
2020-09-30 16:39:36 -03:00
Jason Rhinelander 33b362db96 Spruce up block display; DRY tx fetching code
- Make block metadata use the same style as other new pages
- Abstract tx fetching code
- make /block/latest redirect to top height
- Add "Show raw details" for blocks
- Make searching by block height properly redirect
2020-09-29 01:36:13 -03:00
Jeff a7cf7f8769 gracefully fail on /search endpoint with no query 2020-09-26 15:07:59 -04:00
Jeff feb491cdda make sure show_blocks doesn't refernces no blocks and if it does make it not crash 2020-09-26 15:07:35 -04:00
Jeff 4c4465a6c1 initial try of block page 2020-09-26 14:35:02 -04:00
Jason Rhinelander ae39cccb8b Misc. fixes 2020-09-15 18:41:45 -03:00
Jason Rhinelander b78b8740cd Don't show miner blocks as having 1 input
It's a generated output, the "vin" element is just a filler rather than
an actual input.
2020-09-11 17:43:17 -03:00
Jason Rhinelander 684c600803 Fix exception when no SNs 2020-09-11 17:43:00 -03:00
Jason Rhinelander 300a985657 Misc. fixes 2020-09-03 00:26:38 -03:00
Jason Rhinelander 4a157d980f More efficient key_indices calculation + delete key_offsets
Once we have key_indices we don't need key_offsets anymore so get rid of
it.
2020-09-01 10:52:50 -03:00
Jason Rhinelander 4f44a0c3b9 Fix key offsets being offsets, not indices 2020-09-01 02:22:19 -03:00
Jason Rhinelander db985fbefa Add separate wrappers for mainnet/testnet/devnet 2020-09-01 01:44:53 -03:00
Jason Rhinelander f8635ee301 Add checkpoints to main index 2020-09-01 01:44:30 -03:00
Jason Rhinelander 932f2c402b Various tweaks/fixes 2020-09-01 01:44:06 -03:00
Jason Rhinelander 0bce9ab758 Implement search
This works and displays a little differently than before:

- Only one search box for block/tx/SN instead of one for block/tx and
  one for SN
- Put the search box at the top right when the page is wide enough.
- When a search result is found we redirect to its proper URL rather
  than displaying on the search URL
2020-08-31 16:56:21 -03:00
Jason Rhinelander 81d9dfdef7 Add service node details page 2020-08-31 13:51:28 -03:00
Jason Rhinelander 752f19784b Add cache subkey; allow non-caching requests
The cache key allows having multiple caches that use the same endpoint
(for instance, rpc.get_service_nodes for all-SNs versus single SN).

Non-caching requests still use a cached value if present, but don't
store it in the cache if they have to make an actual request.
2020-08-31 13:05:17 -03:00
Jason Rhinelander bdf9056c2a Add tx details page
Plus various improvements around how small metadata is displayed.
2020-08-30 13:32:17 -03:00
Jason Rhinelander 2c394386e3 Add tx symbol & add missing fee to mempool tx list 2020-08-19 23:09:21 -03:00
Jason Rhinelander d89177204f Add uwsgi-emperor vassal config 2020-08-19 19:43:59 -03:00
Jason Rhinelander 6021291a89 Add missing styles
My initial copy was from a very old block explorer checkout and missed
some of the current css.
2020-08-19 19:42:28 -03:00