Commit Graph

132 Commits (deepcrayon)

Author SHA1 Message Date
jebba cd8161a10d dark theme, minimal 2021-04-05 15:05:12 -06:00
jebba e2a3404b06 dont pull css from cdn 2021-04-05 14:21:23 -06:00
jebba afabba64a9 minimal interface 2021-04-05 14:17:49 -06:00
jebba 7ba8d7f143 s/github/spacecruft 2021-04-05 12:59:11 -06:00
jebba 0ce520d1d5 unbrand a bit 2021-04-05 11:41:26 -06:00
jebba 8ef0a2a3d5 star favicon 2021-04-05 11:37:51 -06:00
kaladin 1f6cddd4ab
Websocket new transaction (#574) 2021-03-21 21:55:25 +01:00
Martin Boehm 2be5930862 Update ports registry and copyright year #549 2021-01-21 21:43:09 +01:00
Martin Boehm 7dffe2e0f9 Show consensus in explorer index page 2021-01-21 10:31:04 +01:00
Martin 4697d756e0 Fix display of RBF flag in tx view 2020-12-28 23:05:02 +01:00
Martin 4766110255 Add RBF info to txdetail 2020-12-28 23:05:02 +01:00
Tomas Susanka 360cac85f6 chore(static): show RBF in the transaction detail 2020-12-28 23:05:02 +01:00
Martin Boehm fc267ed2f4 Return for mempool transactions coinSpecificData #522 2020-12-04 11:57:11 +01:00
Martin Boehm e60c320ae7 Allow parameters value, gasPrice and gas to be passed to ETH estimateFee 2020-05-21 18:05:16 +02:00
Martin Boehm 180b5655d5 Update documentation 2020-05-09 22:54:57 +02:00
Martin Boehm 6d1725717e Fix typos and texts 2020-03-05 11:18:21 +01:00
Martin Boehm a6c01534f2 Add filter by contract to get address API #379 2020-03-04 00:37:16 +01:00
Vladyslav Burzakovskyy 357ad63bde test-websocket.html: remove debug log :) 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy 4ca66f3b1d fiatRates: accept an array of strings everywhere and return all available rates if it's empty 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy 8ea853c388 balanceHistory: fix currencies list and update placeholders in test-websocket.html 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy 6f06b549df balanceHistory: accept Unix timestamps instead of a date string 2020-01-22 15:26:12 +01:00
Vladyslav Burzakovskyy 7f992e9eb8 test-websocket.html: add "groupBy" parameter to getBalanceHistory 2020-01-08 17:57:47 +01:00
Vladyslav Burzakovskyy c58b1538d6 fiatRates: timestamps as int64, errors as -1, update field names and tests 2020-01-08 17:57:47 +01:00
Vladyslav Burzakovskyy 14c64410f7 FiatRates: change input & output time values to Unix timestamps
make currency parameter optional, return all rates if it's empty

update tests
2020-01-08 17:57:47 +01:00
Martin Boehm f2ff7985b1 Improve explorer responsiveness 2020-01-04 00:57:17 +01:00
Martin Boehm 35c9da1ce8 Improve explorer navbar responsiveness, update copyright year #327, #343 2020-01-02 17:29:14 +01:00
Martin Boehm 225ac85a2a Add optional fiat rate to balance history 2019-12-18 00:02:24 +01:00
Martin Boehm 15e2c0bf41 Add websocket method getBalanceHistory 2019-12-17 14:37:24 +01:00
Vladyslav Burzakovskyy f6111af5da Add fiat rates functionality (#316)
* Add initial commit for fiat rates functionality

* templates.go: use bash from current user's environment

* bitcoinrpc.go: add FiatRates and FiatRatesParams to config

* blockbook.go: add initFiatRatesDownloader kickoff

* bitcoin.json: add coingecko API URL

* rockdb.go: add FindTicker and StoreTicker functions

* rocksdb_test.go: add a simple test for storing and getting FiatRate tickers

* rocksdb: add FindLastTicker and convertDate, make FindTicker return strings

* rocksdb: add ConvertDate function and CoinGeckoTicker struct, update tests

* blockbook.go, fiat: finalize the CoinGecko downloader

* coingecko.go: do not stop syncing when encountered an error

* rocksdb_test: fix the exported function name

* worker.go: make getBlockInfoFromBlockID a public function

* public.go: apiTickers kickoff

* rocksdb_test: fix the unittest comment

* coingecko.go: update comments

* blockbook.go, fiat: reword CoinGecko -> FiatRates, fix binary search upper bound, remove assignment of goroutine call result

* rename coingecko -> fiat_rates

* fiat_rates: export only the necessary methods

* blockbook.go: update log message

* bitcoinrpc.go: remove fiatRates settings

* use CurrencyRatesTicker structure everywhere, fix time format string, update tests, use UTC time

* add /api/v2/tickers tests, store rates as strings (json.Number)

* fiat_rates: add more tests, metrics and tickers-list endpoint, make the "currency" parameter mandatory

* public, worker: move FiatRates API logic to worker.go

* fiat_rates: add a future date test, fix comments, add more checks, store time as a pointer

* rocksdb_test: remove unneeded code

* fiat_rates: add a "ping" call to check server availability

* fiat_rates: do not return empty ticker, return nil instead if not found

add a test for non-existent ticker

* rocksdb_test: remove Sleep from tests

* worker.go: do not propagate all API errors to the client

* move InitTestFiatRates from rocksdb.go to public_test.go

* public.go: fix FiatRatesFindLastTicker result check

* fiat_rates: mock API server responses

* remove commented-out code

* fiat_rates: add comment explaining what periodSeconds attribute is used for

* websocket.go: implement fiatRates websocket endpoints & add tests

* fiatRates: add getFiatRatesTickersList websocket endpoint & test

* fiatRates: make websocket getFiatRatesByDate accept an array of dates, add more tests

* fiatRates: remove getFiatRatesForBlockID from websocket endpoints

* fiatRates: remove "if test", use custom startTime instead

Update tests and mock data

* fiatRates: finalize websocket functionality

add "date" parameter to TickerList

return data timestamps where needed

fix sync bugs (nil timestamp, duplicate save)

* fiatRates: add FiatRates configs for different coins

* worker.go: make GetBlockInfoFromBlockID private again

* fiatRates: wait & retry on errors, remove Ping function

* websocket.go: remove incorrect comment

* fiatRates: move coingecko-related code to a separate file, use interface

* fiatRates: if the new rates are the same as previous, try five more times, and only then store them

* coingecko: fix getting actual rates, add a timestamp parameter to get uncached responses

* vertcoin_testnet.json: remove fiat rates parameters

* fiat_rates: add timestamp to log message about skipping the repeating rates
2019-12-17 10:40:02 +01:00
Martin Boehm d01fc3d914 Detect RBF transactions in explorer and API #237 2019-07-30 16:43:13 +02:00
Martin Boehm 4ba0769433 Add "ping" message to the websocket interface #238 2019-07-19 14:59:03 +02:00
Martin Boehm 104f6f9a9d Add boolean flag isAddress vin and vout in API #209 2019-06-19 14:16:06 +02:00
Martin Boehm bf461d0737 Add "gap" parameter to websocket "getAccountInfo" method #206 2019-06-18 12:21:22 +02:00
Martin Boehm 6447cdb1b7 Switch from TREZOR to Trezor according to new design guidelines #201 2019-06-17 15:39:35 +02:00
Martin Boehm d26995a1e4 Show blockbook status in case of backend error 2019-06-05 13:29:06 +02:00
Martin Boehm 6ec0175937 Refactor totalTokens to usedTokens in API 2019-05-27 12:24:25 +02:00
Martin Boehm 9f8cf071dd Stop displaying first seen tx time when unknown 2019-04-10 13:54:20 +02:00
Martin Boehm 127d24be06 Give option to show derived xpub addresses in explorer 2019-04-05 17:32:26 +02:00
Martin Boehm b64d76d8f9 Show first seen date of mempool transaction in explorer 2019-04-03 14:09:27 +02:00
Martin Boehm 987aec47f9 Show mempool content in explorer 2019-04-02 11:39:38 +02:00
Martin Boehm bd89ab8256 Add getTransactionSpecific to websocket interface 2019-03-01 15:37:38 +01:00
Martin Boehm 1c35c632cb Add tokens to return level choice to websocket interface 2019-03-01 15:25:16 +01:00
Martin Boehm 7b590d9958 Unify AccountDetails levels in GetAccount and GetXpub api calls 2019-02-28 15:07:07 +01:00
Martin Boehm 88d9e09ad4 Highlight own ethereum addresses in explorer like in xpub explorer 2019-02-14 14:53:35 +01:00
Martin Boehm f3ec1e6b77 Return unique transactions from GetXpubAddress 2019-02-13 17:57:30 +01:00
Martin Boehm 4846af9f60 Control token detail level returned by xpub api 2019-02-12 15:15:10 +01:00
Martin Boehm 273436f109 Include mempool transactions in GetAddressForXpub 2019-02-08 00:42:38 +01:00
Martin Boehm 64c8ae9a62 Estimate full derivation path from xpub 2019-02-05 20:47:54 +01:00
Martin Boehm 266b0575b6 Highlight xpub addresses in explorer 2019-02-04 16:53:49 +01:00
Martin Boehm 9d3cd3b3e9 Implement loading of transactions in GetAddressForXpub - WIP 2019-02-03 23:42:44 +01:00