Commit Graph

303 Commits

Author SHA1 Message Date
Neil Booth
a2280bbc93 Clean up futures handling 2016-11-15 20:09:38 +09:00
Neil Booth
2c85ac3252 Merge branch 'fs_height' into develop 2016-11-15 20:09:17 +09:00
Neil Booth
8671e57183 Move fs flushes to same time as history flushes 2016-11-15 06:28:52 +09:00
Neil Booth
8c55f41305 Accept more SSL protocols 2016-11-14 23:13:34 +09:00
Neil Booth
95cc979465 Yield more during mempool load 2016-11-14 23:12:50 +09:00
Neil Booth
1830cae3de Remove a redundant message 2016-11-14 21:52:25 +09:00
Neil Booth
83674b1b7b Clarify peername() logic 2016-11-14 21:28:42 +09:00
Neil Booth
be45a9e228 Minor improvements to client handling
Don't create a task until ready to execute it
Log expensive tasks
Assume peers are for logging unless explicitly not stated
2016-11-14 21:15:09 +09:00
Neil Booth
5fffc25188 Get send and recv the right way round 2016-11-14 21:12:54 +09:00
Neil Booth
14d3d85bd9 Need an array to take its len 2016-11-14 19:52:18 +09:00
Neil Booth
0725b54a45 Tweak RPC output 2016-11-14 19:52:02 +09:00
Neil Booth
dc74c869a1 Await task after cancelling it. 2016-11-14 19:24:17 +09:00
Neil Booth
95bb1588ab Add missing await 2016-11-14 19:15:36 +09:00
Neil Booth
984a482590 Merge branch 'master' into develop 2016-11-14 08:11:40 +09:00
Neil
807ab121dd Merge pull request #24 from bauerj/anonymise_logs
Add optional option to anonymise logs (remove IP addresses)
2016-11-14 08:09:37 +09:00
Neil Booth
88e9cf87cf Merge branch 'rpc-to-manager' into develop 2016-11-14 08:01:44 +09:00
Neil Booth
12ed9f7069 Have session_count return a dictionary 2016-11-14 08:01:00 +09:00
Neil Booth
1b8881800d Move the RPC handlers to the manager 2016-11-14 07:56:48 +09:00
Johann Bauer
d45321927e Add optional option to anonymise logs (remove IP addresses) 2016-11-13 23:56:16 +01:00
Neil Booth
a22a4650a5 Use json.dumps to print 2016-11-14 07:54:59 +09:00
Neil Booth
6849937628 Add a couple more tests 2016-11-14 07:43:08 +09:00
Johann Bauer
0eb9e9731e Add unit tests for the methods in util 2016-11-14 07:26:43 +09:00
Neil
60e003df31 Merge pull request #25 from bauerj/util-test
Add unit tests for the methods in util
2016-11-14 07:24:20 +09:00
Johann Bauer
fcc92760db Add unit tests for the methods in util 2016-11-13 21:46:19 +01:00
Neil Booth
41fb143947 Fix typo 2016-11-13 23:18:04 +09:00
Neil Booth
e2b00ce267 Merge branch 'release-0.5' into develop 2016-11-13 22:41:46 +09:00
Neil Booth
abe9d6b1be Merge branch 'release-0.5' 2016-11-13 22:41:27 +09:00
Neil Booth
c22366c1cc Prepare 0.5 release 2016-11-13 22:41:11 +09:00
Neil Booth
0c2b4afbdc Remove a debug log 2016-11-13 22:40:26 +09:00
Neil Booth
9ac4718218 OP_RETURN can be spent inside false conditions
See tx 928ed84cd4c48beb0d3494ccc17cc1e06b1473f9dc118db9bb56972395ede461
2016-11-13 21:55:18 +09:00
Neil Booth
451f9d026a Merge branch 'save_all_utxos' into develop 2016-11-13 20:42:43 +09:00
Neil Booth
85786b87a2 Save all UTXOs
Change the DB version
2016-11-13 20:35:03 +09:00
Neil Booth
4dac728984 Ignore the unspendable genesis coinbase
Fixes #17
2016-11-13 20:15:54 +09:00
Neil Booth
532048c755 Merge branch 'release-0.4.3' into develop 2016-11-13 17:56:59 +09:00
Neil Booth
1e01c35b41 Merge branch 'release-0.4.3' 2016-11-13 17:56:17 +09:00
Neil Booth
41ff6e5b11 Prepare 0.4.3 2016-11-13 17:55:50 +09:00
Neil Booth
57dd4ece9c Avoid annoying exception on shutdown 2016-11-13 17:52:08 +09:00
Neil Booth
e7e0dd15be Don't log new peers any more 2016-11-13 15:44:37 +09:00
Neil Booth
c64eb5748f Merge branch 'release-0.4.2' 2016-11-13 15:38:08 +09:00
Neil Booth
fdb5b33fba Prepare 0.4.2 2016-11-13 15:37:51 +09:00
Neil Booth
ecb70fcef9 Merge remote-tracking branch 'github/master' into release-0.4.2 2016-11-13 15:31:54 +09:00
Neil Booth
ad46fbb61f Merge branch 'protocol' into develop 2016-11-13 15:29:00 +09:00
Neil Booth
831225492e Better RPC sessions stats 2016-11-13 15:28:34 +09:00
Neil
65b984472d Merge pull request #8 from bauerj/coverage
Collect test coverage statistics
2016-11-13 14:57:06 +09:00
Neil Booth
7523735f99 Split out server and session management 2016-11-13 14:43:13 +09:00
Neil Booth
3b6ab77e47 Break out JSONRPC into own file
- improved handling of JSON 2.0 RPC protocol
- permits batched requests (not yet supported by Electrum client)
2016-11-13 13:39:37 +09:00
Neil
a1247e1bcd Merge pull request #18 from thelazier/dash
Update for DASH
2016-11-13 11:55:47 +09:00
TheLazieR Yip
b1c995ce09 Update Howto and setup.py about x11_hash package required for Dash 2016-11-13 09:35:27 +07:00
TheLazieR Yip
66bf2570e5 Move dash stuff into Dash class
Modify DashTestnet class to use Dash class
2016-11-13 08:56:26 +07:00
TheLazieR Yip
ff834519aa Update for DASH
- Update information for both mainnet and testnet
- Use x11_hash module when network name is Dash to process header_hashes
2016-11-13 00:51:53 +07:00