1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-24 06:57:53 +01:00
Commit graph

627 commits

Author SHA1 Message Date
Roman Zeyde
fb372b2915
Split reading from indexing blk*.dat files
Also, use a single Vec<Row> for write operation
2018-07-10 15:37:56 +03:00
Roman Zeyde
56229409a0
Simplify SIGINT polling 2018-07-10 15:29:56 +03:00
Roman Zeyde
314978f30a
Simplify bulk indexing flow
Use separate thread per blk*.dat file.
2018-07-10 15:28:04 +03:00
Roman Zeyde
45f3c7d178
Make store::Row sortable (by key) and clonable 2018-07-09 19:07:33 +03:00
Roman Zeyde
baf2d8624d
Rename bulk_load() -> bulk_index() 2018-07-09 18:02:49 +03:00
Roman Zeyde
e88f075c50
Use 1MB block for RocksDB 2018-07-09 17:10:49 +03:00
Roman Zeyde
4c182a0650
Fix formatting 2018-07-09 17:10:24 +03:00
Roman Zeyde
f4ac913c39
Pass blk*.dat file path during bulk indexing process 2018-07-09 16:53:40 +03:00
Roman Zeyde
89551f3e5d
Don't keep too much LOG.old.* files 2018-07-09 12:59:10 +03:00
Roman Zeyde
be20b5bd05
Update store to use pingcap RocksDB API 2018-07-08 23:24:21 +03:00
Roman Zeyde
586d6132d6
Use 'pingcap' RocksDB fork 2018-07-08 23:24:21 +03:00
Roman Zeyde
da570a9182
Fix benchmarks 2018-07-08 23:23:36 +03:00
Roman Zeyde
c82ceb6ad7
Update usage documentation for JSONRPC cookie 2018-07-08 22:22:32 +03:00
Roman Zeyde
57c67163dd
Fail connection in case of HTTP error 2018-07-08 22:17:35 +03:00
Roman Zeyde
1762523e1a
Allow setting JSONRPC cookie via command-line 2018-07-08 22:17:35 +03:00
Roman Zeyde
d1e03f33a9
Add Gitter badge 2018-07-08 14:11:48 +03:00
Roman Zeyde
a797a3864e
Move usage instructions to doc/ subdirectory 2018-07-07 12:20:04 +03:00
Roman Zeyde
6035bd164b
Read cookie as a trimmed String 2018-07-07 11:47:19 +03:00
Roman Zeyde
1475fc949d
Refactor bitcoind cookie handling 2018-07-07 11:25:25 +03:00
Roman Zeyde
93f1b85cda
Use ms precision for logging 2018-07-07 11:02:29 +03:00
Roman Zeyde
53c0c02732
Use explicit integer types for BlockchainInfo 2018-07-07 10:41:24 +03:00
Roman Zeyde
e4a3581da1
Use Path::join() for DB directory 2018-07-06 11:49:25 +03:00
Roman Zeyde
dbad1f80d0
Update TODOs 2018-07-05 12:37:25 +03:00
Roman Zeyde
f4a22fe57e
Update mempool and index before starting RPC server 2018-07-04 08:05:21 +03:00
Roman Zeyde
51a579cebe
Connection failures return Result<T> instead of crashing 2018-07-03 21:06:59 +03:00
Roman Zeyde
07bd5401d4
Remove fixed TODOs
Deprecated by bulk indexing from blk*.dat files
2018-07-03 21:05:28 +03:00
Roman Zeyde
5326cde4d3
Update TODOs 2018-07-03 21:02:12 +03:00
Roman Zeyde
a0030fa8ed
Remove short flag for --db-dir 2018-07-03 20:54:59 +03:00
Roman Zeyde
6d17bd38fa
Add crates.io badge 2018-07-03 15:41:56 +03:00
Roman Zeyde
23b2e4ea9c
Show # of mempool transactions 2018-07-03 15:38:30 +03:00
Roman Zeyde
91f9a90ca0
Add reference to bitcoincore-indexd 2018-07-03 15:34:24 +03:00
Roman Zeyde
ee11923b66
Add "PRs welcome" badge 2018-07-03 15:32:25 +03:00
Roman Zeyde
637e34c303
Visualize bitcoind mempool fee rates 2018-07-03 15:19:49 +03:00
Roman Zeyde
130ced9ae0
Format using nightly rustfmt 2018-07-03 11:46:36 +03:00
Roman Zeyde
82c2caa3af
Fix Daemon usage by benchmarks 2018-07-03 10:52:09 +03:00
Roman Zeyde
e637ac848f
Use ~/.bitcoin as default datadir 2018-07-03 10:51:44 +03:00
Roman Zeyde
1eb92f7372
Allow specifying custom bitcoind data directory 2018-07-03 10:09:16 +03:00
Roman Zeyde
7a170c6e11
Prepare v0.1.0 release 2018-07-02 15:53:04 +03:00
Roman Zeyde
b421df8c10
Add short schema description 2018-07-02 15:53:04 +03:00
Roman Zeyde
aa6f20017a
Add comment about initial index sync time 2018-07-01 14:51:07 +03:00
Roman Zeyde
09ccc29ef1
Update error-chain dependency
(for latest Rust)
2018-06-30 11:39:56 +03:00
Roman Zeyde
ef9b10ccfc
Explain mempool::Item fields' usage 2018-06-29 20:49:47 +03:00
Roman Zeyde
290c6801dc
Add HW spec used for benchmark 2018-06-29 10:50:04 +03:00
Roman Zeyde
46957a321b
Print configuration to stderr on initialization 2018-06-29 10:36:56 +03:00
Roman Zeyde
bc96c26031
Update README with blk*.dat performance numbers 2018-06-29 10:29:23 +03:00
Roman Zeyde
7581fd7d1a
Move bulk load helper back to electrs 2018-06-28 23:08:34 +03:00
Roman Zeyde
2e81731e8b
Don't buffer indexed rows between threads 2018-06-28 14:11:46 +03:00
Roman Zeyde
fd16082925
Don't start bulk loader if already done 2018-06-28 13:41:46 +03:00
Roman Zeyde
4537fd9636
Use higher RocksDB parallelism 2018-06-28 13:02:55 +03:00
Roman Zeyde
88fb3dc17e
Don't buffer blobs/blocks between threads 2018-06-28 11:25:36 +03:00