Roman Zeyde
0389458ffe
Don't rate-limit mempool polling
2020-11-07 12:40:39 +02:00
Roman Zeyde
412c4809d2
Fixup CI
2020-11-06 17:19:07 +02:00
Roman Zeyde
363becf903
rm Arc around BlockMap @ Index
2020-11-06 09:43:07 +02:00
Roman Zeyde
40306cbbe5
Dedup txids at Status::new
2020-11-05 21:40:20 +02:00
Roman Zeyde
8742114702
No need to sync mempool twice
2020-11-05 18:41:13 +02:00
Roman Zeyde
3b79e27ba4
Remove confirmed transactions from mempool
2020-11-05 18:37:43 +02:00
Roman Zeyde
fac0da4577
WIP: signet bump
2020-11-05 16:05:15 +02:00
Roman Zeyde
63210c83b6
Improve daemon error messages
2020-11-05 16:04:37 +02:00
Roman Zeyde
78b8012e8c
Re-use rust-bitcoin dependencies from electrs_index
2020-11-05 11:05:55 +02:00
Roman Zeyde
4183165853
Document protobuf version pin
2020-11-05 11:00:52 +02:00
Martin Habovstiak
0f9ee7f301
Make rocksdb compression algos optional
...
This makes the compression algorithms optional, but on by default to
keep the behavior. While one might think this just decreases the size a
bit, it has another advantage: when linking with system library it's not
needed to specify the paths of all these libraries because they are already
compiled in the system library.
2020-11-05 10:44:38 +02:00
Roman Zeyde
5cc7282baf
Update async-std
2020-11-04 21:24:58 +02:00
Roman Zeyde
bc30a9b0a0
Handle server.version with min/max arguments
2020-11-04 12:17:32 +02:00
Roman Zeyde
b2b08ceaff
Disconnect on protocol version mismatch
2020-11-04 09:59:31 +02:00
Roman Zeyde
837549741c
De-duplicate mempool histogram fee rates
2020-11-04 09:21:36 +02:00
Roman Zeyde
db5da5cf55
Don't overwrite old DB versions
2020-11-01 11:29:21 +02:00
Roman Zeyde
d56445c745
Refactor txid collision test a bit
2020-10-31 14:35:30 +02:00
Roman Zeyde
84db4d63cd
Remove unneeded debug log
2020-10-31 14:29:46 +02:00
Roman Zeyde
601b77c8b7
Warn when skipping txid collisions
2020-10-31 14:28:07 +02:00
Roman Zeyde
fd14a83a7d
Return original JSON respnse from getrawtransaction
2020-10-31 09:17:25 +02:00
Roman Zeyde
e71150873e
Use builtin txindex to compute fee
2020-10-30 22:58:48 +02:00
Roman Zeyde
10f871dcae
Support verbose blockchain.transaction.get
2020-10-30 22:58:10 +02:00
Roman Zeyde
cb65920224
Index txids
2020-10-29 20:50:52 +02:00
Roman Zeyde
cfbe8b19ac
Allow verbose blockchain.transaction.get
2020-10-29 12:09:48 +02:00
Roman Zeyde
96e3e6222e
Allow any JSON type for request 'id'
2020-10-29 08:55:39 +02:00
Roman Zeyde
aac7669471
Fix db.rs format
2020-10-28 22:36:11 +02:00
Roman Zeyde
687f387b8d
Fix waiting for new block
2020-10-28 19:08:25 +02:00
Roman Zeyde
822b32b65a
Slower compaction on low-memory
2020-10-28 09:12:21 +02:00
Roman Zeyde
379c76524b
Flush index and headers CFs
2020-10-28 07:29:58 +02:00
Roman Zeyde
0dc5e76e0a
Simplify index result a bit
2020-10-27 09:08:11 +02:00
Roman Zeyde
1f7667ee99
Add low-memory indexing mode
2020-10-27 09:07:38 +02:00
Roman Zeyde
babaf8578e
Fixup name
2020-10-26 08:14:30 +02:00
Roman Zeyde
de100a2a24
Refactor DB options
2020-10-25 23:18:32 +02:00
Roman Zeyde
cba5d89199
Support older Rust versions
...
It should allow electrs to compile on stable Debian.
2020-10-25 20:26:36 +02:00
Roman Zeyde
4daa466b2d
Allow no arguments
2020-10-25 18:39:40 +02:00
Roman Zeyde
9f69d91f57
Don't read addresses from stdin
...
but from command-line arguments.
2020-10-25 18:22:20 +02:00
Roman Zeyde
60942c60a2
Use latest Rust
2020-10-25 18:05:12 +02:00
Roman Zeyde
eb413a0117
Add helper scripts
2020-10-25 14:24:24 +02:00
Roman Zeyde
82c50feea2
Add new code
2020-10-24 20:00:46 +03:00
Roman Zeyde
bef20f38b6
Remove old code
2020-10-24 19:59:47 +03:00
Franck Royer
3c4cf72960
Set Rust toolchain to 1.41.1
...
The project does not compile on 1.34.0 because it uses
the lockfile format introduced in 1.38.0.
Do note that Debian stable at this time uses Rust 1.41.1.
Setting a specific toolchain version is good practice for
binary project and remove potential issues of incompatible
toolchain for users trying to build the project.
2020-09-28 13:27:15 +03:00
Franck Royer
5d8f104cce
Remove Circle CI config.yml
...
As it is not used and hence is misleading.
2020-09-28 13:26:18 +03:00
Roman Zeyde
aef1347859
Fix support for Rust 1.41.1
...
As it is the current Rust version at Debian stable:
https://packages.debian.org/stable/rustc
2020-09-28 11:13:00 +03:00
Roman Zeyde
d01b3c6f6e
Merge remote-tracking branch 'kixunil/transaction_get_blockhash'
2020-09-18 21:47:54 +03:00
Roman Zeyde
004b2f860e
Update Cargo.lock
2020-09-18 21:07:07 +03:00
Dr. Maxim Orlovsky
af6ff09a27
Removing BitcoinHash trait to adopt new bitcoin crate API
2020-09-18 18:36:04 +02:00
Roman Zeyde
f9d8cabc13
Merge pull request #299 from jamesob/master
...
docker: account for host/container permission differences
2020-09-18 17:11:27 +03:00
James O'Beirne
15ba15a69e
docker: account for host/container permission differences
2020-09-18 08:50:04 -04:00
Roman Zeyde
c5eac91b36
Remove 'cargo build' from Dockerfile
2020-08-14 15:23:22 +03:00
Martin Habovstiak
a0a3d4f939
Add blockchain.transaction.get_confirmed_blockhash
...
This adds a new RPC method that enables users to fetch the block hash
for given txid. It can thus be used to emulate `txindex=1` as explained
in the related issue.
Closes #287
2020-08-04 13:21:30 +02:00