Commit Graph

167 Commits (deepcrayon)

Author SHA1 Message Date
Martin Boehm d26995a1e4 Show blockbook status in case of backend error 2019-06-05 13:29:06 +02:00
Martin Boehm 5c2b9f763e Fix get mempool txs for xpub 2019-06-03 12:50:45 +02:00
Martin Boehm 6ec0175937 Refactor totalTokens to usedTokens in API 2019-05-27 12:24:25 +02:00
Martin Boehm 8cd94070ce Return error when loading not existing block in ETH #176 2019-05-27 12:24:25 +02:00
Martin Boehm 749e534a26 Improve API requests when blockbook in sync with backend 2019-05-27 12:24:25 +02:00
Martin Boehm 9e98a4eb39 Improve performance of utxo indexing 2019-05-27 12:24:25 +02:00
Martin Boehm ce0529c130 Use utxo index in API 2019-05-27 12:24:24 +02:00
Martin Boehm 90d7a7f2da Bump required index version to 5 2019-05-27 12:24:24 +02:00
Martin Boehm 984618a0ed Add option to compute fee statistics for chosen blocks 2019-05-27 12:24:24 +02:00
Martin Boehm 0312db4d9d Fix formatting/linting errors 2019-05-27 12:24:24 +02:00
Martin Boehm b348a53664 Make all API fields camelCase 2019-05-27 12:24:24 +02:00
Martin Boehm 629e07e6a4 Trim packr tos link 2019-05-03 14:50:08 +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 ce3c7c5e66 Extract mempool interface from blockchain 2019-03-25 16:43:57 +01:00
Martin Boehm df952ffb05 Update api.GetBlock to support ethereum type coins 2019-03-21 09:36:18 +01:00
Martin Boehm 6784ecd6b3 Fix api.Block json serialization 2019-03-20 17:49:21 +01:00
Martin Boehm 1d8389bb2c Return utxos by sorted by desceding block height 2019-03-20 17:32:10 +01:00
Martin Boehm efca04a3fb Correctly count unconfirmed txs in api GetXpub 2019-03-06 18:48:15 +01:00
Martin Boehm 3df1cc81ed Correctly count unconfirmed txs in api GetAddress and GetXpub 2019-03-06 17:23:06 +01:00
Martin Boehm 3d10d9c2c5 Ensure ordering of address and xpub txs in the same block 2019-03-05 13:48:11 +01:00
Martin Boehm 1c35c632cb Add tokens to return level choice to websocket interface 2019-03-01 15:25:16 +01:00
Martin Boehm dda96b4a8f Merge branch 'xpub' 2019-03-01 11:12:40 +01:00
Martin Boehm 7b590d9958 Unify AccountDetails levels in GetAccount and GetXpub api calls 2019-02-28 15:07:07 +01:00
Martin Boehm 46001a9fa5 Evict old cached xpubs 2019-02-26 16:27:28 +01:00
Martin Boehm e1eadda6bf Make upper limit for gap in xpub address derivation 2019-02-25 14:09:24 +01:00
Martin Boehm 347e1d5967 Load ETH account balance also for accounts without any transactions #125 2019-02-19 20:16:16 +01:00
Martin Boehm 0546a2609d Count xpub transactions regardless of filter 2019-02-13 19:43:16 +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 63fb910ecb Add xpub handling to websocket interface 2019-02-11 11:54:34 +01:00
Martin Boehm 6b0a4960fd Get utxo for xpub 2019-02-08 15:50:37 +01:00
Martin Boehm 273436f109 Include mempool transactions in GetAddressForXpub 2019-02-08 00:42:38 +01:00
Martin Boehm 1ca4a0cfc7 Process mempool txs in api.GetAddress even for Basic level of details 2019-02-07 17:28:45 +01:00
Martin Boehm ae332547ba Fix loading of txids for xpub 2019-02-06 17:35:10 +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
Martin Boehm 57b40ad6dc Hide xpub addresses with zero balance in explorer by default 2019-01-31 15:04:09 +01:00
Martin Boehm 8f1f1c87ac Modify the discovery of xpub addresses 2019-01-31 08:30:18 +01:00
Martin Boehm 225830d3e9 Implement GetAddressForXpub and xpub explorer view - WIP 2019-01-30 17:56:15 +01:00
Martin Boehm 171e15c9f7 Fix unit test build tags 2019-01-23 16:34:35 +01:00
Martin Boehm b593643f63 Return Coinbase from API and Websocket interface 2019-01-17 20:30:18 +01:00
Martin Boehm d1f30e27cf Handle nil amounts in socket.io interface 2019-01-17 19:58:59 +01:00
Martin Boehm 1c29283bf0 Add getAccountUtxo method to websocket interface 2019-01-14 17:12:33 +01:00
Martin Boehm 210652328f Avoid showing already confirmed txs as mempool txs 2019-01-13 23:32:28 +01:00
Martin Boehm f109513464 Add handling of unknown inputs in api.GetTransaction 2019-01-10 17:24:29 +01:00
Martin Boehm 3ca593aff1 Handle error tx not found #94 2019-01-10 16:39:36 +01:00
Martin Boehm 8c4fcf4441 Stop indexing contracts of ETH zero address 2019-01-10 12:38:16 +01:00
Martin Boehm 00c1fd6661 Limit number of found transactions for address by page size 2019-01-09 11:48:19 +01:00
Martin Boehm 2c3af5129e Generalize tokens instead of ERC20 tokens in API 2019-01-07 15:45:00 +01:00
Martin Boehm 2552a429e8 Store data in addresses column in more compact way 2019-01-03 17:19:56 +01:00
Martin Boehm 4e040cb1f0 Store addresses in reverse order for newest blocks to be searched first 2018-12-20 17:33:13 +01:00
Martin Boehm 7da714bec4 Generalize erc20transfers to tokentransfers in api 2018-12-20 13:18:38 +01:00
Martin Boehm 81e105dd4f Refactor tx api 2018-12-19 13:59:18 +01:00
Martin Boehm bab500d3f8 Notify on mempool erc20 transfer transaction 2018-12-19 10:06:25 +01:00
Martin Boehm 3ff1a86ab1 Add option TxHistoryLight to api.GetAddress 2018-12-17 13:20:10 +01:00
Martin Boehm a04b2b67b5 Filter address transactions by height from-to and contract 2018-12-14 16:42:35 +01:00
Martin Boehm e9e6b472b6 Keep api v1 as compatible with blockbook 0.1.x, add api v2 2018-12-13 14:31:34 +01:00
Martin Boehm 9c142663ce Add type api.Amount for proper formatting of amounts in json 2018-12-13 00:41:58 +01:00
Martin Boehm 13f7b48ae6 Add websocket interface 2018-12-10 17:22:37 +01:00
Martin Boehm 70559ab9e0 Update api.GetAddress to return more ethereum specific data 2018-12-06 13:14:46 +01:00
Martin Boehm 55ae22bab1 Add socketio method getAccountInfo 2018-12-05 11:41:07 +01:00
Martin Boehm 5e170b8dd8 Make worker more resistant to weird data in ethereum blockchain 2018-12-04 14:23:11 +01:00
Martin Boehm 4a216fa647 Fix parsing of erc20 properties 2018-12-04 13:56:25 +01:00
Martin Boehm 9a04c862d6 Filter address transactions by input/output or token 2018-12-04 11:54:15 +01:00
Martin Boehm a08f568353 Show block for EthereumType coins 2018-12-03 16:34:38 +01:00
Martin Boehm fead52881f Show ERC20 contracts for address 2018-12-03 15:48:07 +01:00
Martin Boehm 463eab9d2d Show ethereum specific data in tx detail in explorer 2018-11-28 14:56:45 +01:00
Martin Boehm 8ac57a3d56 Add ERC20 transfer information to ethereum transactions 2018-11-28 14:27:02 +01:00
Martin Boehm 7a990f9b5b Implement explorer for EthereumType coin - WIP 2018-11-26 00:20:01 +01:00
Martin Boehm 6072aa5e9e Handle coin specific tx data more efficiently 2018-11-15 16:18:29 +01:00
Martin Boehm 1ac7a7abca Fix api.GetTransaction for EthereumType blockchain 2018-11-15 16:18:29 +01:00
Martin Boehm 446ba5cd9d Remove outputs spent by mempool tx from GetAddressUtxo 2018-11-15 15:44:28 +01:00
Martin Boehm f1affaf92e FIx GetAddressUtxo 2018-11-14 23:02:42 +01:00
Martin Boehm 983c6e9db5 Fix error handling in GetAddressUtxo 2018-11-14 19:33:57 +01:00
Martin Boehm 46eced6a9c Process mempool txs only once in GetAddressUtxo 2018-11-14 14:58:51 +01:00
Martin Boehm 8bf5837b26 Implement address utxo api call #83 2018-11-14 14:46:42 +01:00
Martin Boehm 2dca694f95 Show valid address with zero transaction in explorer #82 2018-11-05 11:26:23 +01:00
Martin Boehm d7b1c9e09a Return spent output flag in apiTx 2018-10-26 15:52:12 +02:00
Jakub Matys 23a5bfd015 Just logs newly handled errors in API handler 2018-10-22 11:11:27 +02:00
Jakub Matys ab0eb65de0 Fixed issues reported by goreportcard.com 2018-10-22 10:39:29 +02:00
Martin Boehm d7ed48a657 Handle not found block in rocksdb.GetBlockInfo 2018-10-19 16:37:48 +02:00
Jakub Matys 26e3a1bbe6 Text data moved to build directory 2018-10-15 12:59:42 +02:00
Jakub Matys 3b696d677e Text data (about, URL of TOS) stored in plain text files 2018-10-15 12:51:04 +02:00
Martin Boehm 84b457b34a Use TxAddresses index in TxCache 2018-10-08 14:55:21 +02:00
Martin Boehm f9809d7507 Return inputs for socket.io getAddressHistory and getDetailedTransaction 2018-10-06 23:35:03 +02:00
Martin Boehm 44da0c8c41 Show spending transactions in explorer 2018-09-27 13:44:13 +02:00
Martin Boehm d6b9cd496b Start public interface in limited mode before initial sync #51 2018-09-20 12:15:46 +02:00
Martin Boehm bb48f2d26e Cleanup of internal http interface 2018-09-19 15:59:49 +02:00
Martin Boehm d87d52b2fd Add view of block to explorer 2018-09-17 18:28:08 +02:00
Martin Boehm 175c841870 Show tx hex in transaction detail in explorer 2018-09-17 11:54:40 +02:00
Martin Boehm f80c4d572e Add application status page to explorer 2018-09-17 11:17:40 +02:00
Martin Boehm 14a06888c7 Include block 0 in the list of blocks in explorer 2018-09-14 14:47:42 +02:00
Martin Boehm 0147df957c Unify paging in api.worker 2018-09-14 12:55:26 +02:00
Martin Boehm bebddbcd11 Implement list of blocks 2018-09-14 12:10:03 +02:00
Martin Boehm fb0c766ee4 Add paging to explorer 2018-09-05 15:13:45 +02:00
Martin Boehm 2033dba169 Return address array of txids in api call GetAddress 2018-09-04 14:34:15 +02:00
Martin Boehm 63ad3ffff2 Link spending transaction to output in explorer 2018-09-03 17:25:57 +02:00
Martin Boehm 1b69a62ab8 Process OP_RETURN script in Bcash 2018-09-03 14:10:28 +02:00