Neil Booth
23c4616711
Fix testcase
8 years ago
Neil Booth
0dfdfaba7e
Prepare 0.10.7
8 years ago
Neil Booth
f05dd6c2a3
Use snappy compression
Seems to make ~4.5% faster (5281 tx/s -> 5516 tx/s)
Shrinks UTXO DB by ~15% and hist DB by ~5%
8 years ago
Neil Booth
5f9e337457
Improve RocksDB iterator
8 years ago
Neil Booth
5abe4faa8d
JSON results are returned with HTTP status 500
8 years ago
Neil Booth
c958b3af49
Remove LMDB
Performance of history writes was very poor even with
the code rewritten to accommodate the environment concept
(see db_abstraction branch)
8 years ago
Neil Booth
ffb4d4f158
Don't print response; might have auth info
8 years ago
Neil Booth
1a9ac22fa0
Prepare 0.10.6
8 years ago
Neil Booth
65f927122b
daemon: properly check for HTTP status codes
8 years ago
Neil Booth
131601a7b2
Rework clean shutdown logic
So that the main block processor future is cancellable.
We wait for the executor and then flush anything unflushed.
Resolves the rest of the second part of #100
8 years ago
Neil Booth
73945c51d1
Prepare 0.10.5
8 years ago
Neil Booth
b01933913f
Add traceback for daemon errors
8 years ago
Neil Booth
5aaee6b608
Update docs
8 years ago
Neil Booth
8d58d2a0e7
Clean up shutdown logic and logging
Add RPC "stop" command, and document it.
Fixes the 2nd part of #100
8 years ago
Neil Booth
0845f26ec2
Prepare 0.10.4
8 years ago
Neil Booth
9e6de7a554
Merge branch 'json-named-args' into develop
8 years ago
Neil Booth
d2da494120
Clarify README; no need to resync.
Update HOWTO and docs
8 years ago
Neil Booth
4eed43accb
Add named-argument handling as per JSON RPC 2.0
This involved a rewrite of the JSON RPC layer.
I took the opportunity to clean up the handling of requests
in general. It should now be easy to return nice help from
the docstrings.
Closes issue #99
8 years ago
Neil Booth
057ec09b9e
Update docs
8 years ago
Neil Booth
13aa2cc731
Update HOWTO
8 years ago
Neil Booth
c0cd452252
Clarify README; no need to resync.
8 years ago
Neil Booth
5784412393
Write out undo info with the UTXO flushes
Cleaner and slightly more efficient.
Closes #101
8 years ago
Neil Booth
a8a82224e7
Prepare 0.10.3
8 years ago
Neil Booth
2ad64f6243
Add an RPC call to force a reorg at run-time
This required a large rework block processor and prefetcher
interaction, and led to various cleanups
Closes #103
8 years ago
Neil Booth
15051124af
Make flushes and reorgs async
Apart from the flush on shutdown and the flush when caught up,
neither of which matter, this makes flushes asynchronous.
Also, block processing for reorgs is now asynchronous.
This also removes the FORCE_REORG debug envvar; I want to
put that into the RPC interface.
Closes #102
8 years ago
Neil Booth
89209632ae
Clean up daemon.py
8 years ago
Neil Booth
540479ad23
Tweaks for prior; update README.
8 years ago
protonn
1aa55f2976
add digibyte and argentum ( #96 )
* add DigiByte and Argentum
8 years ago
Neil Booth
defadc580d
Merge branch 'develop'
8 years ago
Neil Booth
80845fc208
Update README.
8 years ago
Neil Booth
4bd474bf57
Prepare 0.10.2
8 years ago
Neil Booth
dcc2c92bd6
Rename NETWORK envvar to NET
For consistency with lib/coins.py
SegWit testnet needs its own NET
8 years ago
Neil Booth
4d62019b07
Check Genesis hash
Testnet RPC_PORT is 18332
8 years ago
Neil Booth
852753cb94
Implement deserialization of SegWit transactions
tx_hash needs to be that of the prior serialization, so
need to change internal read_block API.
Bitcoin core 0.13.1 broke backwards compat of the RPC interface.
Closes #92
8 years ago
Neil Booth
2294f5c791
Update README
8 years ago
Neil Booth
ed382d16e7
Merge branch 'release-0.10.1'
8 years ago
Neil Booth
7392306e68
Prepare 0.10.1
8 years ago
Neil Booth
18af57059f
Improve group handling.
I believe this fixes #94
8 years ago
Neil Booth
c9b4412df8
Update samples
8 years ago
Neil Booth
13f5d07870
Merge branch 'release-0.10.0'
8 years ago
Neil Booth
d92ba8ff2c
Merge branch 'release-0.10.0' into develop
8 years ago
Neil Booth
fe70a6db30
Prepare 0.10.0
8 years ago
Neil Booth
3a0d2b5881
Update tests
8 years ago
Neil Booth
91ca5fc14a
Split out history into its own DB.
8 years ago
Neil Booth
7f9cb9cd9d
Generic header length
If header lengths change in the future, only one function needs
to change in coins.py.
8 years ago
Neil Booth
c8c4199503
New VirtualFile abstraction
Use for headers, tx counts and tx hashes.
8 years ago
Neil Booth
427183ae01
Place metadata files in meta/, db in db/
8 years ago
Neil Booth
2b2909f1c4
Move to hashX
The hashX of a script is the first 11 bytes of its sha256 hash.
Closes #72 .
8 years ago
Neil Booth
de201a247f
Double fetch size of mempool.
Set testnet genesis hash.
8 years ago
Neil Booth
8bd2e7ee06
Add constants for bitcoin testnet
8 years ago