Roman Zeyde
18a21bfe56
Add simple bash script for running local Electrum client
6 years ago
Roman Zeyde
e0a1f5a5cf
Remove unneeded log statement at mempool
6 years ago
Roman Zeyde
98d8a498c8
Sort unspent outputs by confirmed height
6 years ago
Roman Zeyde
b83b0718dd
Support 'blockchain.address.listunspent' Electrum RPC
6 years ago
Roman Zeyde
321d655d7a
Support 'blockchain.scripthash.listunspent' Electrum RPC
6 years ago
Lawrence Nahum
7ca32964a0
separate lint step from build/test
6 years ago
Roman Zeyde
a2ef7cd3ed
Merge remote-tracking branch 'ga/travis_fix'
Travis build failed due to '/usr/bin/ld: final link failed: No space left on device'
6 years ago
Lawrence Nahum
916df98203
fix travis out of memory issue
6 years ago
Roman Zeyde
ebdc252a24
Ignore *~ files
6 years ago
Roman Zeyde
ba1762d240
Skip already indexed blocks during bulk indexing
6 years ago
Roman Zeyde
1a9e3a0e56
Skip bad magic values
6 years ago
Roman Zeyde
16ee6f4dd1
Log more information when RPC requests' UTF8 parsing fails
Also don't panic in case of RPC errors
6 years ago
Roman Zeyde
d422dc09cb
Verify JSONRPC responses correspond to correct requests
6 years ago
Roman Zeyde
d0bb321da1
Refactor mempool visualization tool
6 years ago
Roman Zeyde
3d09a9f3a0
Fix missing mempool entry 'fees' section
It was added to bitcoind at 7de1de7da4
and does not appear at 0.16.x releases.
6 years ago
Roman Zeyde
1b4adfdefd
Log more information in case of invalid hash
6 years ago
Roman Zeyde
2a3678e392
Merge branch 'regtest_mode'
6 years ago
Roman Zeyde
5c350c1f57
Skip transaction retrieval if no mempool entries are found
6 years ago
Roman Zeyde
57eb81e15d
Retry in case of mempool update failure
If there is an inconsistency between mempool entries and available
transactions, issue a warning and retry on the next poll.
6 years ago
Roman Zeyde
755967ac12
Allow caching for Travis builds
6 years ago
Roman Zeyde
d14746a36b
Remove sstable ingestion support
Currently, it's easier to use regular batch writes (without auto
compactions) during bulk indexing.
6 years ago
Roman Zeyde
c7948e9972
Don't pass serde_json::Value by mutable reference
6 years ago
Roman Zeyde
96d06eaeeb
Show unexpected JSON response in case of error
6 years ago
Roman Zeyde
de02d8b987
Add log statement for blk*.dat globbing
6 years ago
Roman Zeyde
4f8d83f2d0
Allow calling setrlimit() on 32-bit systems
6 years ago
Roman Zeyde
f40357e8cc
Use `--network` flag to customize network type
(instead of a non-flag commandline argument)
6 years ago
Roman Zeyde
d743e09a4c
Simplify DB path construction
6 years ago
Roman Zeyde
774d75bd97
Use `match` statement for daemon_dir construction
6 years ago
Lawrence Nahum
a85b6ba0c8
add support for regtest
6 years ago
Roman Zeyde
86e5cbda2e
Don't run cargo with --verbose on Travis
6 years ago
Roman Zeyde
de15dbd392
Fix formatting
6 years ago
Roman Zeyde
2d74d6d4f0
Rename a few Config members following #19
rpc_addr -> electrum_rpc_addr
daemon_rpc_url -> daemon_rpc_addr
6 years ago
Lawrence Nahum
408372cba4
make listen port and bitcoin rpc configurable
6 years ago
Roman Zeyde
ea65239141
Trace received Electrum RPC requests
6 years ago
Roman Zeyde
5507ee1a8b
Simplify main loop using Option<RPC>
6 years ago
Roman Zeyde
d1f5c61def
Use correct txids for getting mempool transactions
If block is found after "getmempoolentry()" and before "gettransactions()",
there will be more transactions at `txs` than in `entries` - causing a panic.
6 years ago
Roman Zeyde
ea24d6a01f
Add release notes
6 years ago
Roman Zeyde
ab4747ce7e
Add `cmake` to installation instructions
6 years ago
Roman Zeyde
849c83ed64
Bump version
6 years ago
Roman Zeyde
00de0c028c
Log daemon's network info
(including its version string)
6 years ago
Roman Zeyde
253e244a86
Fix `cargo fmt` for Travis
Stable Rust doesn't support `cargo fmt --check` (yet).
6 years ago
Roman Zeyde
197e5792f8
Improve error message for daemon disconnection
6 years ago
Roman Zeyde
ac9e300226
Run 'cargo fmt --check' on Travis
6 years ago
Roman Zeyde
2852020c58
Fix leftovers at examples/load.rs
6 years ago
Roman Zeyde
daee3fbe4b
Replace "Vec::new()" by shorter "vec![]"
6 years ago
Roman Zeyde
1a9b977dad
Update TODOs
- implemented Daemon::gettransactions() API
- implemented multithreaded indexing workers
- SSTable injection requires non-overlapping ranges (= pre-sorting = full compaction)
- HTTP parsing can be improved
6 years ago
Roman Zeyde
48cd929a99
Remove StoreOptions and enable manual compactions explicitly
6 years ago
Roman Zeyde
9a89e6a2d8
Update README with latest performance metrics
6 years ago
Roman Zeyde
03790d9977
Add logging for bulk indexing
6 years ago
Roman Zeyde
4d322d4819
Substract signed integers
6 years ago