Roman Zeyde
ef3c387189
Bump version
5 years ago
Roman Zeyde
0b988e3afc
Update Cargo.lock
5 years ago
Roman Zeyde
cd87a3aad5
Merge pull request #182 from Kixunil/update_configure_me
Update `configure_me` as well as other packages
5 years ago
Roman Zeyde
7532a54b48
Merge pull request #183 from MichelKansou/master
Update rust-bitcoin & bitcoin_hashes
5 years ago
Michel Kansou
71575de8a7
Update rust-bitcoin & bitcoin_hashes
5 years ago
Martin Habovstiak
5ac315ff3c
Update `configure_me` as well as other packages
* This should resolve #180 , not sure (couldn't get past rocksdb on 1.34)
* Uses new, cleaner way of specifying `config_spec.toml`
5 years ago
Roman Zeyde
1c39b1d561
Fix formatting
5 years ago
Roman Zeyde
a3c60c93ec
Revert "Test Travis CI on ARM"
This reverts commit ac122d8325
.
5 years ago
Roman Zeyde
ac122d8325
Test Travis CI on ARM
5 years ago
Roman Zeyde
6afd4af403
Add more duration metrics to query.rs
5 years ago
Roman Zeyde
a347e6719f
Bump version
6 years ago
Roman Zeyde
56d69d1709
Merge branch 'sized_cache'
6 years ago
Roman Zeyde
b059513115
Update Cargo.lock
6 years ago
Martin Habovstiak
35b3cededc
Support for user-specified onfiguration files/dirs
This commit upgrades `configure_me` and adds support for `--conf` and
`--conf-dir` parameters, which load the configuration from the specified
place.
6 years ago
Roman Zeyde
4c14b0d0cb
Update RELEASE-NOTES.md
6 years ago
Roman Zeyde
c41bc378df
Add byte-size limit to transaction & block txids' caches
Also, move TransactionCache into `cache` module.
Following https://github.com/romanz/electrs/pull/161 by @dagurval .
Co-authored-by: Dagur Valberg Johannsson <dagurval@pvv.ntnu.no>
6 years ago
Roman Zeyde
61a5af3a1b
Merge branch 'update_configure_me' of https://github.com/Kixunil/electrs into Kixunil/configure_me
6 years ago
Martin Habovstiak
bcb04196c3
Updated to `configure_me` 0.3.5
This update fixes the issue with hypens and additionally makes error
messages from the build script nicer.
Fixes #170
6 years ago
Roman Zeyde
ff34ee1907
Update Cargo.lock
6 years ago
Roman Zeyde
9856f94160
Remove unused crate
6 years ago
Martin Habovštiak
bbc6fcb21d
Merge branch 'master' into configure_me
6 years ago
Roman Zeyde
e2cca9b85b
Use explicit 'dyn' for trait objects
6 years ago
Roman Zeyde
05b653f7f5
Use AtomicU64 after updating to Rust >=1.34
6 years ago
Roman Zeyde
32015a762c
Use TryInto to convert slices into array
Remove dependency on `arrayref`.
6 years ago
Roman Zeyde
925e0da460
Support Rust >=1.34
6 years ago
Roman Zeyde
43e0bd31b1
Update RELEASE-NOTES.md
6 years ago
Roman Zeyde
f7ad9419ed
cargo fmt
6 years ago
Martin Habovstiak
0cf115d5f6
Updated Cargo.lock
6 years ago
Martin Habovstiak
f050bc4496
Code documentation and cleanup
Besides several comments added to the code, all relevant instances of
`panic!`, `.unwrap()` and `.expect()` were removed in order to keep
messages user-friendly. `.extend()` is used istead of `.push()` on
`PathBuf` for multi-fragment values.
6 years ago
Martin Habovstiak
2b301a3b28
Fixed address resolution
The addresses weren't resolved in case of deserializing from config
file. Besides, resolving addresses in parsing/deserialization code would
make messy code (harder to read). This commit fixes both issues by
moving address resolution to post-processing stage.
6 years ago
Martin Habovstiak
2c50791dc5
Fixed db subdir
As the network name changed from `mainnet` to `bitcoin`, this change
accidentally affected database subdirectory. This would be
backwards-incompatible in a major way (the users would have to notice
the change and rename it).
This commit reverts the name of the subdirectory and renames the
variable to express the intent more explicitly.
6 years ago
Martin Habovstiak
8574aa2a34
Updated doc regarding config files and env vars
6 years ago
Martin Habovstiak
268fbf5c09
Added CWD cfg file and fixed ordering of cfg files
The values in user-level config file should override system config file,
not the other way arounnd. Also added `electrs.toml` config file which
is searched for in the current directory.
6 years ago
Martin Habovstiak
ec049b9ad5
Use configure_me instead of clap
Since use of configuration files is both mmore secure and more
convenient and clap doesn't support config files, this switches to
configure_me, which supports config files, env vars and also generating
man pages.
Closes #151
6 years ago
Roman Zeyde
a61e1b3b7a
docs: add hardware specs and explain storage usage
6 years ago
Roman Zeyde
b33b570704
Add a script for computing tx fee
6 years ago
Roman Zeyde
a0fc0b895d
Cache transactions returned via Query::load_txn()
6 years ago
Roman Zeyde
2860966748
Update Cargo.lock
6 years ago
Roman Zeyde
fcbf16b9f1
Bump version
6 years ago
Roman Zeyde
35f456751f
Allow stopping bulk indexing via SIGINT/SIGTERM
6 years ago
Roman Zeyde
25ce69ea04
Add link to Electrum Tor documentation
6 years ago
Roman Zeyde
16e4de60a4
Add documentation for running Tor service
6 years ago
Dagur Valberg Johannsson
ebc4dc3829
Test for BlockTxIDsCache
6 years ago
Dagur Valberg Johannsson
6ba67cb9f6
Add metrics to blocktxids cache
6 years ago
Dagur Valberg Johannsson
2e9ac5c0d8
Cache list of transaction IDs for blocks
6 years ago
Roman Zeyde
dc92454c9d
Update Cargo.lock
6 years ago
Roman Zeyde
5d37e7fe52
Bump version
6 years ago
Roman Zeyde
3b8993db8a
Update release notes
6 years ago
Roman Zeyde
70d0c1d47f
Merge branch 'atomic-counter'
6 years ago
Roman Zeyde
bebbfa197d
Add support for latest Rust features via `--features latest_rust`
6 years ago