Neil Booth
6956871d70
Merge branch 'develop'
2017-01-16 21:27:51 +09:00
Neil Booth
ffb4d4f158
Don't print response; might have auth info
2017-01-16 21:27:30 +09:00
Neil Booth
20488a3b04
Merge branch 'develop'
2017-01-16 21:25:08 +09:00
Neil Booth
1a9ac22fa0
Prepare 0.10.6
2017-01-16 21:24:59 +09:00
Neil Booth
65f927122b
daemon: properly check for HTTP status codes
2017-01-16 21:22:41 +09:00
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
2017-01-16 21:22:24 +09:00
Neil Booth
a50888c932
Merge branch 'release-0.10.5'
2017-01-16 19:34:40 +09:00
Neil Booth
73945c51d1
Prepare 0.10.5
2017-01-16 19:34:17 +09:00
Neil Booth
b01933913f
Add traceback for daemon errors
2017-01-16 19:32:22 +09:00
Neil Booth
5aaee6b608
Update docs
2017-01-16 19:32:22 +09:00
Neil Booth
8d58d2a0e7
Clean up shutdown logic and logging
...
Add RPC "stop" command, and document it.
Fixes the 2nd part of #100
2017-01-16 19:31:57 +09:00
Neil Booth
0845f26ec2
Prepare 0.10.4
2017-01-12 22:45:28 +09:00
Neil Booth
9e6de7a554
Merge branch 'json-named-args' into develop
2017-01-12 22:41:18 +09:00
Neil Booth
d2da494120
Clarify README; no need to resync.
...
Update HOWTO and docs
2017-01-12 22:40:21 +09:00
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
2017-01-12 07:59:21 +09:00
Neil Booth
057ec09b9e
Update docs
2017-01-11 19:39:36 +09:00
Neil Booth
13aa2cc731
Update HOWTO
2017-01-11 19:39:35 +09:00
Neil Booth
c0cd452252
Clarify README; no need to resync.
2017-01-11 19:39:35 +09:00
Neil Booth
5784412393
Write out undo info with the UTXO flushes
...
Cleaner and slightly more efficient.
Closes #101
2017-01-09 18:58:39 +09:00
Neil Booth
a8a82224e7
Prepare 0.10.3
2017-01-09 17:19:15 +09:00
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
2017-01-09 17:14:06 +09:00
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
2017-01-09 16:15:17 +09:00
Neil Booth
89209632ae
Clean up daemon.py
2017-01-08 18:48:32 +09:00
Neil Booth
540479ad23
Tweaks for prior; update README.
2017-01-08 12:10:56 +09:00
protonn
1aa55f2976
add digibyte and argentum ( #96 )
...
* add DigiByte and Argentum
2017-01-08 12:00:41 +09:00
Neil Booth
defadc580d
Merge branch 'develop'
2017-01-08 10:51:24 +09:00
Neil Booth
80845fc208
Update README.
2017-01-08 10:51:08 +09:00
Neil Booth
4bd474bf57
Prepare 0.10.2
2017-01-08 10:07:58 +09:00
Neil Booth
dcc2c92bd6
Rename NETWORK envvar to NET
...
For consistency with lib/coins.py
SegWit testnet needs its own NET
2017-01-08 10:07:58 +09:00
Neil Booth
4d62019b07
Check Genesis hash
...
Testnet RPC_PORT is 18332
2017-01-08 10:07:57 +09:00
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
2017-01-08 10:07:57 +09:00
Neil Booth
2294f5c791
Update README
2017-01-07 15:30:56 +09:00
Neil Booth
ed382d16e7
Merge branch 'release-0.10.1'
2017-01-07 15:25:47 +09:00
Neil Booth
7392306e68
Prepare 0.10.1
2017-01-07 15:25:22 +09:00
Neil Booth
18af57059f
Improve group handling.
...
I believe this fixes #94
2017-01-07 15:21:45 +09:00
Neil Booth
c9b4412df8
Update samples
2017-01-07 14:40:03 +09:00
Neil Booth
13f5d07870
Merge branch 'release-0.10.0'
2017-01-07 11:55:25 +09:00
Neil Booth
d92ba8ff2c
Merge branch 'release-0.10.0' into develop
2017-01-07 11:55:08 +09:00
Neil Booth
fe70a6db30
Prepare 0.10.0
2017-01-07 11:54:52 +09:00
Neil Booth
3a0d2b5881
Update tests
2017-01-07 11:51:12 +09:00
Neil Booth
91ca5fc14a
Split out history into its own DB.
2017-01-07 11:51:12 +09:00
Neil Booth
7f9cb9cd9d
Generic header length
...
If header lengths change in the future, only one function needs
to change in coins.py.
2017-01-07 11:51:12 +09:00
Neil Booth
c8c4199503
New VirtualFile abstraction
...
Use for headers, tx counts and tx hashes.
2017-01-07 11:51:11 +09:00
Neil Booth
427183ae01
Place metadata files in meta/, db in db/
2017-01-07 11:51:11 +09:00
Neil Booth
2b2909f1c4
Move to hashX
...
The hashX of a script is the first 11 bytes of its sha256 hash.
Closes #72 .
2017-01-07 11:51:01 +09:00
Neil Booth
de201a247f
Double fetch size of mempool.
...
Set testnet genesis hash.
2017-01-07 11:51:01 +09:00
Neil Booth
8bd2e7ee06
Add constants for bitcoin testnet
2017-01-07 11:51:01 +09:00
Neil Booth
0f43ce564a
Fix log message
2017-01-07 11:51:00 +09:00
Neil Booth
038d9a9720
Tweak documentation for clarity
2017-01-07 11:51:00 +09:00
Neil Booth
4b0ba2fcd3
Prepare 0.9.22
...
Documentation updates only
2017-01-03 17:08:55 +09:00