Commit Graph

113 Commits

Author SHA1 Message Date
Martin Boehm
3d10d9c2c5 Ensure ordering of address and xpub txs in the same block 2019-03-05 13:48:11 +01:00
Petr Kracík
d314140dde Change DB size on disk Error to warning 2019-02-13 12:08:19 +01:00
rikardwissing
ffa745d390 Validate getTxAddresses return 2019-01-11 21:31:49 +01:00
Martin Boehm
3ca593aff1 Handle error tx not found #94 2019-01-10 16:39:36 +01:00
Martin Boehm
341bf331c1 Add custom handling of unknown input txs during BitcoinType block import 2019-01-09 23:24:25 +01:00
Martin Boehm
07108b8c4f Store txs in column addresses in reverse order 2019-01-07 13:38:58 +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
e24115da83 Bump blockbook version to v0.2.0 and index version to 4 2018-12-20 16:16:51 +01:00
Martin Boehm
9a04c862d6 Filter address transactions by input/output or token 2018-12-04 11:54:15 +01:00
Martin Boehm
61177c3750 Fix cleanup of column blockTxs 2018-11-29 15:37:04 +01:00
Martin Boehm
8886256d0b Implement index v3 for ethereum type coin 2018-11-23 22:16:32 +01:00
Martin Boehm
eb524c2226 Implement index v3 for ethereum type coin - WIP 2018-11-23 14:08:10 +01:00
Martin Boehm
1ac7a7abca Fix api.GetTransaction for EthereumType blockchain 2018-11-15 16:18:29 +01:00
Martin Boehm
4448c57ba8 Introduce BitcoinType and EthereumType distinction of blockchains 2018-11-15 16:16:01 +01:00
Martin Boehm
f1affaf92e FIx GetAddressUtxo 2018-11-14 23:02:42 +01:00
Martin Boehm
7d28b710e3 Add total to db.GetMemoryStats 2018-11-01 18:28:48 +01:00
Martin Boehm
c852214407 Complete explorer/api unit tests 2018-10-19 16:37:49 +02:00
Martin Boehm
d7ed48a657 Handle not found block in rocksdb.GetBlockInfo 2018-10-19 16:37:48 +02:00
Jakub Matys
b5a8cd2fc5 Error is correctly returned 2018-10-16 13:35:50 +02:00
Martin Boehm
8e057e9e7b Fix incorrect logging formatting directives 2018-10-04 09:19:41 +02:00
Martin Boehm
776bebdf23 Revert "Update balances in extra goroutine during import block"
This reverts commit 099321126f.
The parallel processing of balances did not bring any speedup
(actually it was a little bit slower)
2018-10-01 13:28:19 +02:00
Martin Boehm
099321126f Update balances in extra goroutine during import block 2018-09-26 12:17:57 +02:00
Martin Boehm
77d4e59f1b Compute stats of bulk connect block caches 2018-09-24 18:23: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
9a33c338dd Fix error handling in rocksdb.dirSize 2018-09-20 12:06:34 +02:00
Martin Boehm
184f2e9ca6 Add maxOpenFiles rocksdb flag 2018-09-18 11:49:39 +02:00
Martin Boehm
bebddbcd11 Implement list of blocks 2018-09-14 12:10:03 +02:00
Martin Boehm
fdf1fe612f Stringer interface for AddressDescriptor 2018-09-02 21:31:33 +02:00
Martin Boehm
676aabfaa6 Make AddressDescriptor as type,expose DB/mempool methods working with it 2018-08-30 22:43:37 +02:00
Martin Boehm
be19523065 Refactor of address handling, renamed addrID to addr descriptor addrDesc 2018-08-29 15:31:19 +02:00
Martin Boehm
ad5ddbd029 Write height column in bulk mode 2018-08-23 23:20:07 +02:00
Martin Boehm
328312e48a Add dbcache configuration flag, tune db options 2018-08-23 21:19:12 +02:00
Martin Boehm
2001312382 Extract bulk connect to own source file 2018-08-23 11:18:36 +02:00
Martin Boehm
a34ac14883 Allow partitioned index filter in rocksdb 2018-08-23 11:15:59 +02:00
Martin Boehm
41252d33d2 Tune RocksDB options and measure memory usage 2018-08-22 16:20:52 +02:00
Martin Boehm
59497e3c97 Get address data for explorer using index v3 - WIP 2018-08-22 00:48:53 +02:00
Martin Boehm
188eed8881 Write data to DB synchronously in bulk connect
RocksDB has some memory leak/fragmentation problem
when inserting data in parallel
2018-08-21 18:56:30 +02:00
Martin Boehm
c9471bf867 Store extended info about block in heigth column 2018-08-21 16:36:14 +02:00
Martin Boehm
78f6162d5c Add height to TxAddresses as required by explorer 2018-08-21 13:16:29 +02:00
Martin Boehm
bbc47db6dd Get address data for explorer using index v3 - WIP 2018-08-21 10:11:27 +02:00
Martin Boehm
c67306ad09 Make AddrBalance and TxAddresses publicly loadable from DB 2018-08-20 18:35:46 +02:00
Martin Boehm
5621ed49f3 Optimize bulk connect of blocks 2018-08-19 17:43:00 +02:00
Martin Boehm
d45d028ef2 Implement bulk connect blocks 2018-08-19 00:23:26 +02:00
Martin Boehm
878d25ea42 Fix handling of coinbase txs in db, add test for it 2018-08-17 23:48:36 +02:00
Martin Boehm
745d7af92d Implement index v3 WIP 2018-08-17 16:33:42 +02:00
Martin Boehm
f5b29b3a17 Implement index v3 WIP 2018-08-15 19:22:26 +02:00
Martin Boehm
78d2c085a9 Log expected db data version 2018-08-15 16:07:09 +02:00
Martin Boehm
8e3c7f851b Clean up the rocksdb sources and disconnect UTXO blocks WIP 2018-08-03 19:26:16 +02:00
Martin Boehm
7e11a4e615 Set LZ4HC compression for all columns 2018-08-03 15:04:49 +02:00