Commit Graph

258 Commits

Author SHA1 Message Date
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
997a1be377 Prepare 1.5.2 2018-07-15 08:05:09 +08:00
Neil Booth
a2d0b40679 Prepare 1.5.1 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
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
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
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
02fb534176 Don't import version in setup.py
Fixes #520
2018-07-13 08:52:10 +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
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
Neil Booth
7911f0d525 Remove blockchain.address.* methods from protocol 1.3+ 2018-07-12 11:00:57 +08:00
Neil Booth
26206fd3e4 Drop the .py suffix from electrumx_server & electrumx_rpc 2018-07-12 01:22:54 +08:00
Neil Booth
4171e58f8a Use version directly
readthedocs is lame and uses python3.5 which cannot parse the
files
2018-07-12 00:53:59 +08:00
Neil Booth
c35ac6d9bb Deprecate blockchain.block.get_header as of protocol 1.3
Use new blockchain.block.header instead.
2018-07-12 00:31:49 +08:00
Lex Berezhny
29289004e7 electrumx package (#511)
* moved wallet, server, lib into electrumx main module

* fixed imports and other path references affected by electrumx main package

* fixing formatting to pass the pycodetest on travis
2018-07-10 07:28:04 +08:00
Neil
1e763b720b
Check docs (#509)
* Require HTML docs to build cleanly for Travis
2018-07-05 10:11:29 +08:00
Neil Booth
cc36935f5b Fix link 2018-07-03 18:06:22 -07:00
Neil Booth
838896991d Document status when tx list empty. 2018-07-03 18:04:16 -07:00
Neil Booth
32b461a286 Fix underscore length 2018-07-03 18:04:00 -07:00
elmora-do
50e2785256 Update masternode doc and masternode_list rpc method (#493)
* Update protocol-methods.rst

* Error is raised if the payees is not a list in RPC method masternode_list
2018-06-13 01:30:05 +08:00
elmora-do
7baf6cf68d Add $PAC (#474)
* Add $PAC

* Refactor and improve masternode notifications
* Update DASH/$PAC RPC documentation

These RPC commands were documented:

masternode.announce.broadcast
masternode.subscribe
masternode.list
masternode.info
2018-06-06 09:15:36 +09:00
ddude
56de4dea67 Adding Xuez Coin (#472) 2018-05-19 09:49:54 +08:00
Roman Zeyde
ee7e536a38 Fix small typo in protocol-basics.rst (#462) 2018-05-05 05:50:37 +08:00
Neil Booth
acb18155d0 Update the roadmap 2018-04-22 21:51:00 +08:00
Neil Booth
d586a745e1 Fix doc build 2018-04-12 11:58:23 +08:00
Neil Booth
1a0eea25c3 ElectrumX 1.4.3
Close connections more aggressively on shutdown

We need VERSION in its own file, unfortunately
Fixes #442
2018-04-09 21:34:46 +09:00
Neil Booth
142aa48dbb Release 1.4.2
Requires aiorpcX 0.5.5
2018-04-09 14:41:50 +09:00
Neil Booth
4eebf420e8 Cleaner shutdown
Use aiorpcX task functionality

Shut down peer sessions cleanly
2018-04-09 10:14:12 +09:00
Neil Booth
8bf30fba0e Move server/version.py to Controller class 2018-04-09 09:37:07 +09:00
Neil Booth
e92c9bd486 ElectrumX 1.4 2018-04-08 10:16:36 +09:00
John L. Jegutanis
90f28314d2 Add DROP_CLIENT env variable (#432)
This will disconnect any client based on their version string,
using a regular expression.
Useful for dropping buggy/unsupported clients.
2018-04-05 06:49:56 +09:00
Neil Booth
1b65bd8d50 attr->envvar for NET 2018-03-26 16:55:13 +09:00
Neil Booth
ebfe93e15c Lower case doc files 2018-03-26 16:49:58 +09:00
Neil Booth
8c54111139 Improve envvar docs 2018-03-26 16:48:37 +09:00
Neil Booth
0e7cd498ca More improvements to HOWTO.rst 2018-03-16 09:59:27 +08:00
Neil Booth
e577172a00 Improve HOWTO markup 2018-03-16 09:45:13 +08:00
Neil Booth
4ec85020f6 Add LOG_FORMAT envvar to control logging format. 2018-03-12 08:23:33 +08:00
Neil Booth
e8e5b3b0a9 Fix doc typo 2018-03-11 23:11:43 +08:00
Neil Booth
e2f1864a94 Update peer discovery notes 2018-03-10 06:14:22 +08:00
dax
7f08cdf8e2 Typo edit (#407)
vesrion -> version
2018-03-09 07:26:44 +08:00
Neil Booth
be4036b9e4 Tweak peers docs 2018-03-09 00:29:18 +08:00
Neil Booth
569b81a1cd Fix doc typo 2018-03-09 00:22:21 +08:00
Neil Booth
e426b666ef Show example of RPC peers output 2018-03-09 00:21:01 +08:00
Neil Booth
96b5c5ed4a Improve documentation of the RPC interface 2018-03-09 00:10:30 +08:00
Neil Booth
77f0a3dca9 Documentation updates 2018-03-08 17:43:06 +08:00
Neil Booth
bfca87d13a Release 1.3 2018-03-08 16:43:16 +08:00
Neil Booth
a3793a1217 Add a link to the github repo. 2018-03-08 16:20:26 +08:00
Neil Booth
47f65ffda2 Add raw header subscriptions. 2018-03-08 16:14:03 +08:00
Neil Booth
bab8d9f915 Add server.ping RPC call 2018-03-08 14:28:57 +08:00
Neil Booth
c517c1dd1a Fix some markup 2018-03-08 14:01:27 +08:00
Neil Booth
c1bf4eb792 Move changelog to separate file. 2018-03-08 13:59:32 +08:00
Neil Booth
9eee1c815d Finish protocol documentation switch 2018-03-08 13:49:05 +08:00
Neil Booth
70dfaa895d More sphinx work 2018-03-08 12:52:16 +08:00
Neil Booth
a10ff97f2d More sphinx doc work. 2018-03-07 22:36:52 +08:00
Neil Booth
d8d2515fc2 More work on sphinx docs 2018-03-07 18:13:13 +08:00
Neil Booth
fe37b470e5 More work on sphinx docs 2018-03-07 13:14:45 +08:00
Neil Booth
28531bb452 Initial attempt at Sphinx documentation 2018-03-07 10:35:17 +08:00
dax
cf49b737d3 Enable verbose mode in blockchain.transaction.get (#397)
getrawtransaction: optional verbose mode

Update PROTOCOL.rst docs
2018-03-07 08:59:06 +08:00
ghost43
adf81138e3 typos in PROTOCOL.rst (#394) 2018-03-04 09:24:13 +08:00
Neil Booth
5f5c599339 Add example response to docs 2018-03-03 18:46:38 +08:00
Neil Booth
5109990ea4 Add blockchain.block.headers RPC call 2018-03-03 18:39:24 +08:00
Neil Booth
7823129526 Clarify truncation behaviour of get_chunk in docs 2018-03-03 18:39:24 +08:00
Neil Booth
76f4969a98 listunspent methods consider mempool receipts
- Update docs.  Height is 0 for mempool receipts
- Implement mempool.get_utxos() and use it
- Rename mempool.spends to mempool.potential_spends

Closes #365
2018-02-11 23:21:30 +08:00
Neil Booth
3e6ced6039 Minor documentation updates 2018-02-11 22:39:01 +08:00
Neil Booth
63733223fd Update docs for blockchain.headers.subscribe 2018-02-09 18:43:08 +08:00
Brandon Lin
12a0f00caf simplify RSA keygen instructions (#357) 2018-01-27 17:31:49 -04:00
Neil Booth
a62124468b Improve documentation 2018-01-21 10:30:48 -04:00
ThomasV
2d7403f2ef New protocol: (#330)
- add method mempool.get_fee_histogram
- bump protocol version to 1.2
2018-01-20 08:51:38 -04:00
Neil Booth
f126d8c90a Update docs about when incoming connections are served 2017-12-05 12:45:32 +09:00
Neil Booth
80caa1c4ea Add a note about shsmith's banner updater script 2017-11-27 16:42:37 +09:00
Neil Booth
35dd1f6199 Remove IRC support 2017-11-27 15:05:42 +09:00
Neil Booth
74cb4c2f45 Require Python 3.6 2017-10-14 11:51:11 +09:00
Neil Booth
81947d796b Enhance PEER_DISCOVERY environment variable
It is now tri-state - ON, OFF or SELF.

Fixes #287
2017-10-11 13:54:13 +09:00
SomberNight
a7b7aa7ebd typos in docs/ENVIRONMENT.rst (#278) 2017-10-03 21:45:28 +08:00
Neil Booth
255b88388a Update protocol docs for "height".
Closes #269
2017-09-21 18:27:11 +08:00
Luke Childs
0e6b59eb92 Add ALLOW_ROOT option (#268)
* Add ALLOW_ROOT option

* Document ALLOW_ROOT option

* Update controller.py

* Update ENVIRONMENT.rst
2017-09-20 08:14:06 +08:00
Neil Booth
131344715a Minor environment variable improvements
- COIN and NET strip surrounding whitespace
- new environment variable RPC_HOST, similar to HOST, but
  for RPC.  Permits fine-grained control of which addresses
  the RPC server listens on.
- HOST and RPC_HOST strip surrounding whitespace from hostnames
  and IP addresses
- tests and documentation updated to match
2017-09-09 22:00:54 +09:00
Justin Turner Arthur
0c2e5c6368 Minor optimizations to Bitcoin tx processing (#214)
* Construct unpacking functions for byte format up front to save time
wasted on parsing format string every iteration.

* Store length ahead of time as the overhead adds up.

* Reduce object attribute lookups in hash functions.

* Clean up lib pkg API changes. Unit test new "public" API members.
Underscore prefix for internal hash module funcs. Make bytes.fromhex a
public function.

* Document recent performance findings.
2017-09-09 11:06:46 +07:00
Neil Booth
305fd89740 Stop persisting peers; resdiscover on restart 2017-09-08 17:39:48 +09:00
Neil Booth
40fa79da63 Remove exception for onion peers
Like clearnet peers, they are only returned in server.peers.subscribe
if there was a successful connection.
2017-09-08 17:31:46 +09:00
Neil Booth
7349bef13f Fix doc typos 2017-09-08 10:21:46 +09:00
Neil Booth
af9c82dbdb Doc updates 2017-09-07 17:00:39 +09:00
Neil Booth
3cc5b5ea43 Make COIN env variable mandatory.
- make a clean split between the  Cash and Segwit flavours of bitcoin
  by giving them their own COIN names.  They can then both have a NET
  of mainnet.
- The previous Bitcoin COIN names no longer exist, and the env var is
  now mandatory, so everyone will need to set COIN and NET appropriately
  for their flavour of bitcoin and mainnet or testnet.
2017-09-07 13:53:44 +09:00
Neil Booth
a978ca6df7 Permit HOST to be a comma-separated list.
Update documentation to match.
2017-09-06 20:19:59 +09:00