Commit Graph

81 Commits

Author SHA1 Message Date
Nadav Ivgi
32dfc38dc9
Update cargo crates: dirs, hex, lru prometheus and url
The rust-bitcoin crate was not updated because it conflicts
with the rust-bitcoin version used by the elements crate.
2019-10-16 07:58:01 +03:00
Steven Roose
2ee8fdb07a
Update elements dep 2019-08-20 13:35:07 +01:00
Steven Roose
a0facf47d3
Update to rust-bitcoin v0.19.1 and related deps 2019-08-19 23:06:57 +01:00
Lawrence Nahum
1dd662d5b4
update hex and hyper 2019-08-19 18:29:15 +02:00
Nadav Ivgi
9c602d44c5 Switch to rust-bitcoin/bitcoin_hashes current master (PR was merged, but still not released in a version) 2019-06-29 03:51:22 +03:00
Nadav Ivgi
3a09759e19 Attach issued asset id to issuance inputs
Unimplemented for re-issuance transactions.

Depends on an umerged PR to bitcoin_hashes (ttps://github.com/rust-bitcoin/bitcoin_hashes/pull/39)
2019-06-29 03:51:22 +03:00
Nadav Ivgi
ff253456c2 Add lazy_static library
Should've been included as part of eb221e7441
2019-06-06 00:54:31 +03:00
Nadav Ivgi
0a1b778186
Update rust-elements to current master (v0.7.1)
v0.7.1 is not yet available on cargo
2019-05-22 00:55:04 +03:00
Nadav Ivgi
8b7b71c40b Use current master of elementsproject/rust-elements 2019-05-20 02:50:17 +03:00
Nadav Ivgi
67a2fa3475
Implement rust-elements's new Address type
The new type adds support for blech32 encoding of Element addresses
and implements proper version bytes for legacy base58 encoding,
removing the need for our modified Address implementation.

This depends on @stevenroose's unmerged https://github.com/ElementsProject/rust-elements/pull/16,
using his https://github.com/stevenroose/rust-elements/tree/address branch directly.

Fixes https://github.com/Blockstream/esplora/issues/79.
2019-04-25 05:51:52 +03:00
Lawrence Nahum
8d8cef9587
update deps 2019-04-22 14:24:34 +02:00
Lawrence Nahum
1b2e192a4d
update release build flags/LTO 2019-03-15 15:02:48 +01:00
Nadav Ivgi
64ee3f39d8
Update to rust-elements v0.6.0 2019-03-13 14:51:36 +02:00
Nadav Ivgi
8123ebb4c7
Update rocksdb to v0.12 2019-03-13 14:18:11 +02:00
Nadav Ivgi
bef609ea91 Update to rust-bitcoin v0.17.1, secp256k1 v0.12, bitcoin-hashes v0.3
And a bunch more.
2019-03-13 13:58:17 +02:00
Nadav Ivgi
714e665ca2 Add GET /mempool/recent, providing a simplified overview of recent mempool transactions
This commit also removes GET /mempool/txs, which returned a sample of full transactions
in no particular order.
2019-03-01 12:35:23 +02:00
Roman Zeyde
6230a940a8
Add a simple DB test 2019-01-21 10:46:25 +02:00
Nadav Ivgi
b2a84026a5 Update itertools to v0.8.0 2019-01-20 09:59:17 +02:00
Roman Zeyde
cee33f7e3a
Update RocksDB crate to 0.11 2019-01-13 15:53:03 +02:00
Roman Zeyde
dc7dd0cc68
Update rust-rocksdb dependency for SetOptions API
Still not officially released (but should be at 0.11)
2019-01-06 09:59:30 +02:00
Roman Zeyde
0eb76ccc5a
Add conditional support for Elements' data structures
The code fails to build with `--feature=liquid`, but most of the errors are
around confidential values and block header differences:

46d01f91ab/liquid-errors.txt
2018-12-24 09:00:38 +02:00
Roman Zeyde
4387d315e9
Update RocksDB (for SetOptions API support) 2018-12-20 22:30:09 +02:00
Roman Zeyde
1519b3587a
Enable graceful shutdown for the REST API server 2018-12-17 13:07:00 +02:00
Nadav Ivgi
9e36b6ee62 dedup txids before checking their confirmation status 2018-12-09 02:21:53 +02:00
Roman Zeyde
618cf444d1
Update the source code for Rust 2018
Using `cargo fix --release`.
2018-12-08 15:25:25 +02:00
Roman Zeyde
6df28565ba
Use rayon for parallel block indexing 2018-12-06 13:31:56 +02:00
Roman Zeyde
6e5ec37091 Update rust-bitcoin to 0.15.1 and re-generate Cargo.lock 2018-11-15 16:24:36 +02:00
Nadav Ivgi
9388f6f7f7 Add scriptpubkey_address to transaction outputs
(cherry picked from commit 1b61a669cae92b75da35cf8ba43cc7d4b08b6cb4)
2018-10-26 22:15:47 +02:00
Riccardo Casatta
2571fcc98c add rest endpoints to serve a block explorer 2018-10-26 22:15:47 +02:00
Roman Zeyde
42ab247776
Use LRU cache (instead of an unbounded HashMap) for transaction caching 2018-10-17 11:46:49 +03:00
Roman Zeyde
5895ad906d
Bump version 2018-10-14 14:40:55 +03:00
Roman Zeyde
4301abdd10
Bump version 2018-09-22 15:44:24 +03:00
Roman Zeyde
e09816db65
Bump version 2018-09-14 17:59:54 +03:00
Roman Zeyde
58ea2ed960
Allow higher concurrency for >dual core machines 2018-09-07 18:08:36 +03:00
Roman Zeyde
6af64b6106
Update sysconf to >=0.3.4 2018-08-29 23:28:13 +03:00
Riccardo Casatta
8d2f491e91 update rust-bitcoin dep to 0.14 2018-08-24 10:57:19 +02:00
Roman Zeyde
62bc2dc845
Bump version 2018-08-20 08:11:39 +03:00
Roman Zeyde
5869a833cd
Bump version 2018-08-14 11:17:29 +03:00
Roman Zeyde
652e577f24
Export more metrics from server
Add userspace CPU usage and # of file descriptors.
2018-08-06 18:44:18 +03:00
Roman Zeyde
a93284cd96
Export current process RSS size to Prometheus 2018-08-06 18:44:18 +03:00
Roman Zeyde
e4556e8929
Replace to-be-deprecated std:🔚:home_dir() with dirs::home_dir()
Found by building on nightly
2018-08-04 20:37:40 +03:00
Roman Zeyde
fa3ea2869a
Switch to spacejam/rust-rocksdb crate
for latest RocksDB (5.14.2)
2018-07-23 10:14:13 +03:00
Roman Zeyde
849c83ed64
Bump version 2018-07-14 18:04:27 +03:00
Roman Zeyde
4c7413db9d
Increase open files limit explicitly
Otherwise, full compaction may fail.
2018-07-12 14:44:10 +03:00
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
586d6132d6
Use 'pingcap' RocksDB fork 2018-07-08 23:24:21 +03:00
Roman Zeyde
93f1b85cda
Use ms precision for logging 2018-07-07 11:02:29 +03:00
Roman Zeyde
7a170c6e11
Prepare v0.1.0 release 2018-07-02 15:53:04 +03:00
Roman Zeyde
09ccc29ef1
Update error-chain dependency
(for latest Rust)
2018-06-30 11:39:56 +03:00
Roman Zeyde
0171b8f63c
Allow listing bitcoind blk*.dat files 2018-06-21 22:03:01 +03:00