Commit Graph

53 Commits

Author SHA1 Message Date
Jason Rhinelander 9de64972b6
Update to use Cryptodome for keccak instead of sha3 2023-12-06 19:31:35 -04:00
Jason Rhinelander 0c42eb96ca Avoid Python's stupidly named "utcnow" function
The function returns a timezone-adjusted value and thus appears to have
absolutely nothing to do with UTC.  Thanks Python.

I think perhaps the function must have been a typo for "utcnot" because
the function specifically returns something that is *not* UTC.
2022-07-02 20:19:24 -03:00
Jason Rhinelander 5665010003 HF10 updates
- Show batched payout rewards rather than "16.5" which isn't a
  particularly relevant value anymore.
- Add total batched earnings to the index
- Update math for 10 contribution spots
- Update to show HF19 registration details
- Fix bug where the first tx in a no-payout block was not shown on the
  block details page
2022-06-14 20:18:28 -03:00
Jason Rhinelander 5c18cd3325 Add active swarm count to service node list 2022-02-09 12:20:13 -04:00
Jason Rhinelander 2e04a4c7a9 Jinja compat fix 2021-10-30 00:12:01 -03:00
Jason Rhinelander cd214df1b2 Switch to using new python3-oxenmq 2021-10-30 00:11:09 -03:00
Jason Rhinelander de31383fd0
Merge pull request #6 from Sonofotis/master
Add ONS lookup functionality
2021-07-15 02:30:47 -03:00
Otis a0d02c7ffa Add moneropy local file 2021-07-15 13:16:25 +10:00
Jason Rhinelander 6484313fb4 Handle no coinbase in a tx (for oxen 10 batching) 2021-07-14 22:43:52 -03:00
Johnathan Ross fbfcb08d8e Add new modules 2021-06-16 15:36:46 +10:00
Johnathan Ross 9a60f00657 Fix wallet mapping + clean 2021-06-16 14:17:58 +10:00
Johnathan Ross 6bfd17e404 removing unnecessary 2021-06-15 15:14:48 +10:00
Johnathan Ross cac7d6a26b Add .loki search to search bar and add character limits for .loki ons 2021-06-15 15:13:04 +10:00
Johnathan Ross 45dc3da87a quick fix 2021-06-11 20:46:28 +10:00
Johnathan Ross d1c2d23270 Add ONS Lookup capability 2021-06-11 19:18:27 +10:00
Johnathan Ross 9dbbd57255 Remove old paths to sn page: 2021-06-09 13:22:44 +10:00
Johnathan Ross 65e3c1ae7d Add json dump to SN page 2021-06-09 12:09:15 +10:00
Jason Rhinelander 22e5805abc Add support for .snode addresses in the search box
This lets you paste in a .snode to find it.  (Doesn't work on dual key
pubkeys, though, because the RPC endpoint doesn't let you search by
ed25519 key, and those nodes have different primary/ed25519 keys for
now).
2021-05-14 18:58:39 -03:00
Jason Rhinelander 9f4d6dca89 Add next-test time to SN details page 2021-04-30 12:52:57 -03:00
Jason Rhinelander 77b7617ab7 Add swarm_id to SN details 2021-04-21 19:06:48 -03:00
Jason Rhinelander afc31a7f1b Add SN pubkey QR code 2021-04-03 02:22:41 -03:00
Jason Rhinelander c8023b3769 Remove duplicate variable 2021-04-03 02:22:00 -03:00
Jason Rhinelander 21e5538eb7 Add /api/service_node_stats 2021-02-18 00:51:49 -04:00
Jason Rhinelander 6bf12dd40e Style redux 2021-01-08 13:04:40 -04:00
Jason Rhinelander 9a89a453b3 Fix error when calling up old state_change txes
Testing quorum will likely not be available for non-recent blocks.
2021-01-07 19:09:30 -04:00
Jason Rhinelander 007baea846 Loki -> Oxen 2021-01-07 18:04:00 -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
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 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 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 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 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 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 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 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