Commit Graph

1587 Commits

Author SHA1 Message Date
Neil Booth
061cac51a8 Implement merkle proof for blockchain.block.headers 2018-07-16 17:32:49 +08:00
Neil Booth
46d8e0c608 Implement merkle proofs for blockchain.block.header 2018-07-16 16:02:55 +08:00
Neil Booth
20884170e6 Remove raw argument to blockchain.headers.subscribe 2018-07-16 15:00:52 +08:00
Neil Booth
0ee27970af Update documentation for protocol 1.4 2018-07-16 14:49:14 +08:00
Neil Booth
d390b38acf Add cache truncation and tests 2018-07-16 12:42:53 +08:00
Neil Booth
26d8026938 Increase merkle cache test coverage to 100% 2018-07-16 09:53:43 +08:00
Neil Booth
4168341857 Implement a markle cache with tests 2018-07-16 09:36:32 +08:00
Neil Booth
997a1be377 Prepare 1.5.2 2018-07-15 08:05:09 +08:00
Neil Booth
73a46df17f Remove hash_to_str 2018-07-14 21:48:58 +08:00
Neil Booth
3c3a1b7017 Fix thinko in prior
Rename function to prevent similar mistakes in future

Also hash_to_str -> hash_to_hex_str
2018-07-14 21:29:11 +08:00
Neil Booth
c22b7d455c Have server code use merkle library 2018-07-14 20:11:34 +08:00
Neil Booth
af45363eeb Add merkle library with tests 2018-07-14 19:44:10 +08:00
Neil Booth
70f8d7c4b9 Partial reversion of 2cb89814b6
Fixes #523

BU, XT and other coins based on older Core code require integers
not booleans
2018-07-14 14:24:52 +08:00
Neil Booth
a2d0b40679 Prepare 1.5.1 2018-07-14 07:38:24 +05:30
Neil Booth
bebc00be4f Update BCH peers 2018-07-14 07:38:24 +05:30
Neil Booth
243e27e9a9 Update peer discovery code for protocol 1.3 2018-07-14 07:38:24 +05:30
Neil Booth
d7775325fb Log Python interpreter version on startup 2018-07-14 07:38:24 +05:30
Neil Booth
7b602b36eb Use our own logging, not aiorpcX's 2018-07-14 07:38:24 +05:30
Neil Booth
611c7c39f4 Don't import version in setup.py
Fixes #520
2018-07-14 07:38:24 +05:30
Neil Booth
b120b04bcd Tweak setup.py 2018-07-14 07:38:24 +05:30
Neil Booth
024b203a72 Remove some old history from the changelog 2018-07-14 07:38:24 +05:30
Neil Booth
38b768dd8d Add a note to 1.5 release notes 2018-07-14 07:38:24 +05:30
Neil Booth
9d7bc50610 Minor doc tweaks 2018-07-14 07:38:24 +05:30
Neil Booth
725947d72f Prepare 1.5 2018-07-14 07:38:24 +05:30
Neil Booth
1d664fa5d7 Create and use class_logger() utility function 2018-07-14 07:38:24 +05:30
Neil Booth
3afa403a08 Log class name only from server script
Based on #518 by eukreign
2018-07-14 07:38:24 +05:30
Neil Booth
8beb6c32f6 More doc updates 2018-07-14 07:38:24 +05:30
Neil Booth
4f10e66e40 Document removed metohds in new file 2018-07-14 07:38:24 +05:30
Neil Booth
d7b99ce621 blockchain.headers.subscribe: raw defaults to True in 1.3
Update docs for this and other omissions.
2018-07-14 07:38:24 +05:30
Neil Booth
a5f0880895 Update .gitignore 2018-07-14 07:38:24 +05:30
Neil Booth
36fb22cff2 Remove blockchain.address.* methods from protocol 1.3+ 2018-07-14 07:38:24 +05:30
Neil Booth
f3e9b99efb Drop the .py suffix from electrumx_server & electrumx_rpc 2018-07-14 07:38:24 +05:30
Neil Booth
d88eb8c505 Use version directly
readthedocs is lame and uses python3.5 which cannot parse the
files
2018-07-14 07:38:24 +05:30
Neil Booth
4585ef16ed Deprecate blockchain.block.get_header as of protocol 1.3
Use new blockchain.block.header instead.
2018-07-14 07:38:24 +05:30
Neil Booth
e1e4129e17 Prepare 1.5.1 2018-07-13 18:13:09 +08:00
Neil Booth
27f1c2480d Update BCH peers 2018-07-13 18:06:15 +08:00
Neil Booth
d2e8fe7fa1 Update peer discovery code for protocol 1.3 2018-07-13 17:57:00 +08:00
Neil Booth
9d02b03ab1 Log Python interpreter version on startup 2018-07-13 16:41:01 +08:00
Neil Booth
cd85a49a47 Use our own logging, not aiorpcX's 2018-07-13 09:26:37 +08:00
Neil Booth
02fb534176 Don't import version in setup.py
Fixes #520
2018-07-13 08:52:10 +08:00
Neil Booth
9f43fb8eb8 Tweak setup.py 2018-07-12 19:39:13 +08:00
Neil Booth
2cfcbc0b7e Remove some old history from the changelog 2018-07-12 16:41:38 +08:00
Neil Booth
70c81abc40 Add a note to 1.5 release notes 2018-07-12 16:39:04 +08:00
Neil Booth
40db8836ce Minor doc tweaks 2018-07-12 16:33:32 +08:00
Neil Booth
8a4f9e20ac Prepare 1.5 2018-07-12 16:03:07 +08:00
Neil Booth
d51f98e739 Create and use class_logger() utility function 2018-07-12 15:51:42 +08:00
Neil Booth
9534a83257 Log class name only from server script
Based on #518 by eukreign
2018-07-12 15:32:45 +08:00
Neil Booth
30680bfb37 More doc updates 2018-07-12 11:49:49 +08:00
Neil Booth
3063dec4cc Document removed metohds in new file 2018-07-12 11:30:42 +08:00
Neil Booth
7c82d1fe5f blockchain.headers.subscribe: raw defaults to True in 1.3
Update docs for this and other omissions.
2018-07-12 11:23:18 +08:00