Commit Graph

200 Commits

Author SHA1 Message Date
Neil Booth fafb355d8e Move changelog to separate file. 2018-03-08 13:59:32 +08:00
Neil Booth e24da81eed Finish protocol documentation switch 2018-03-08 13:49:05 +08:00
Neil Booth 62e5f75cc2 More sphinx work 2018-03-08 12:52:16 +08:00
Neil Booth 104c97d3dd More sphinx doc work. 2018-03-07 22:36:52 +08:00
Neil Booth f03abb66fe More work on sphinx docs 2018-03-07 18:13:13 +08:00
Neil Booth 7a2cd2103b More work on sphinx docs 2018-03-07 13:14:45 +08:00
Neil Booth 17a1198f3c Initial attempt at Sphinx documentation 2018-03-07 10:35:17 +08:00
dax c2da440166 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 f036495615 typos in PROTOCOL.rst (#394) 2018-03-04 09:24:13 +08:00
Neil Booth 2cef4386de Add example response to docs 2018-03-03 18:46:38 +08:00
Neil Booth b8d4d4a3a4 Add blockchain.block.headers RPC call 2018-03-03 18:39:24 +08:00
Neil Booth 491d072b4d Clarify truncation behaviour of get_chunk in docs 2018-03-03 18:39:24 +08:00
Neil Booth 2238e1c52b 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 2306df7883 Minor documentation updates 2018-02-11 22:39:01 +08:00
Neil Booth 334d0e7d34 Update docs for blockchain.headers.subscribe 2018-02-09 18:43:08 +08:00
Brandon Lin e8d9b7f5cb simplify RSA keygen instructions (#357) 2018-01-27 17:31:49 -04:00
Neil Booth dfa824a0c6 Improve documentation 2018-01-21 10:30:48 -04:00
ThomasV f5f76e4645 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 cae0f0549b Update docs about when incoming connections are served 2017-12-05 12:45:32 +09:00
Neil Booth 265119cce8 Add a note about shsmith's banner updater script 2017-11-27 16:42:37 +09:00
Neil Booth 21c8251f75 Remove IRC support 2017-11-27 15:05:42 +09:00
Neil Booth 6c133b5fea Require Python 3.6 2017-10-14 11:51:11 +09:00
Neil Booth 1180e5d4c3 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 5afc0db705 typos in docs/ENVIRONMENT.rst (#278) 2017-10-03 21:45:28 +08:00
Neil Booth 1ff3e4b9d1 Update protocol docs for "height".
Closes #269
2017-09-21 18:27:11 +08:00
Luke Childs e4442c2149 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 514f77dbc5 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 c5764c1a1c 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 7ed3dae46a Stop persisting peers; resdiscover on restart 2017-09-08 17:39:48 +09:00
Neil Booth 8376005fd0 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 b196a1bdb9 Fix doc typos 2017-09-08 10:21:46 +09:00
Neil Booth cd56caa9af Doc updates 2017-09-07 17:00:39 +09:00
Neil Booth c3ce3f36ff 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 2e06250c5b Permit HOST to be a comma-separated list.
Update documentation to match.
2017-09-06 20:19:59 +09:00
Neil Booth f280811202 Update protocol documentation 2017-09-06 17:56:23 +09:00
Neil Booth ed658051f8 Merge remote-tracking branch 'github/master' 2017-09-06 15:29:32 +09:00
EagleTM dde1580b4c Update HOWTO.rst: Add iptables example for running on privileged port (#245) 2017-09-02 16:26:46 +07:00
Neil Booth f534f43c09 Add "hash_function" member to server.features.
Update documentation
2017-08-26 15:37:59 +09:00
Neil Booth 0a51546725 Add EVENT_LOOP_POLICY environment variable
Based on #215 by JustinTArthur.

- Accept EVENT_LOOP_POLICY of uvloop
- Move initilisation from electrumx_server to controller
- SocksProxy now requires a loop
- Update tests
2017-08-26 14:03:02 +09:00
Neil Booth 2ddd3a1451 Add note about new NET assignments. 2017-08-21 20:59:51 +09:00
Neil Booth 06fe5715c0 Merge branch 'master' of github.com:kyuupichan/electrumx into develop 2017-07-23 14:54:38 +09:00
Pavel Zhovner 4d5ffdc7c6 Update HOWTO.rst (#206) 2017-07-23 14:06:51 +09:00
Henry fe311f2f18 HOWTO: fixed paths 2017-07-04 03:37:56 +02:00
Andres G. Aragoneses 61a5d6dec1 HOWTO.rst: fix typo 2017-05-04 15:11:32 +08:00
Neil fbf73c1209 Update ENVIRONMENT.rst 2017-05-04 00:22:53 +09:00
LaoDC 10b932c18c sorry about permissions 2017-05-03 19:27:00 +07:00
LaoDC d8ca1a3690 fixed typo. 2017-05-03 19:26:49 +07:00
LaoDC d80b9200cc Updated docs/ENVIRONMENT.rst to reflect changes in variables 2017-05-03 19:25:14 +07:00
Neil Booth 74f6639489 New feature: force peer discovery via proxy
Set FORCE_PROXY to non-empty to force peer discovery to go
through the proxy.  See docs/ENVIRONMENT.rst

Wait for an attempt at proxy discovery to be made before beginning
peer discovery.
2017-04-02 15:06:29 +09:00
Neil Booth 557fe815d3 REPORT_HOST no longer defaults to HOST
Cleanup of identity handling.  It is now possible to specify
a Tor identity and no clearnet identity.
2017-04-01 12:03:53 +09:00