Commit Graph

139 Commits (cd258dd3dddf0982a48dfdcd862fc4d61bab5168)

Author SHA1 Message Date
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 017c6b3736 Add socket.io unit tests 2018-10-19 16:37:49 +02: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
Martin Boehm cc11ae1e57 Setup public http server test 2018-10-19 16:37:48 +02:00
Martin Boehm caab79ed94 Extract rocksdb_test data to dbtestdata package for reusibility 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 d369242b48 Bump rocksdb to version 5.15.10 and use data format version 3 2018-10-14 00:29:05 +02:00
Martin Boehm 84b457b34a Use TxAddresses index in TxCache 2018-10-08 14:55:21 +02:00
Jakub Matys 503ff9582a Merge branch 'tests' 2018-10-04 16:59:39 +02:00
Martin Boehm 8e057e9e7b Fix incorrect logging formatting directives 2018-10-04 09:19:41 +02:00
Jakub Matys e102c81577 Merge branch 'params-registration' into tests 2018-10-02 22:11:07 +02:00
Jakub Matys 8c7f383e9a Explicit registration of network parameters + cleanup in tests 2018-10-02 17:02:57 +02:00
Jakub Matys 5000c01f11 WIP: sync tests 2018-10-01 14:32:40 +02:00
Jakub Matys c5cb1e2e54 Merge branch 'integration-tests-upgrade' into tests 2018-10-01 13:43:38 +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
Jakub Matys 642310eb95 Added tests for single-thread connectBlocks 2018-09-26 12:19:40 +02:00
Martin Boehm 099321126f Update balances in extra goroutine during import block 2018-09-26 12:17:57 +02:00
Martin Boehm 67e47adf04 Reset BlockbookAppInfo metrics to avoid duplicate values 2018-09-26 11:26:38 +02:00
Jakub Matys db39b5ef51 Interrupt connectBlocks on OS signal while initial sync 2018-09-25 13:40:52 +02:00
Martin Boehm 77d4e59f1b Compute stats of bulk connect block caches 2018-09-24 18:23:13 +02:00
Jakub Matys d2d5df88f2 Parallel sync improved in order to write all blocks and handle OS signal 2018-09-24 12:13:01 +02:00
Jakub Matys a69f79f955 Parallel sync improved in order to write all blocks and handle OS signal 2018-09-24 12:08:07 +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 503ff4389a Merge branch 'master' into v0.0.7 2018-09-11 13:44:36 +02:00
Martin Boehm 8bdf4b0ae3 Prepare notification of block height in OnNewBlock 2018-09-11 13:37:12 +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 b1e749dab9 Add logging of memory status 2018-08-26 21:29:10 +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