Commit Graph

312 Commits

Author SHA1 Message Date
Calin Culianu 48839428c5 More Fulcrum specific edits 2020-03-26 20:38:23 +02:00
Calin Culianu b49dd4fbe4 Modified for Fulcrum 2020-03-26 20:33:22 +02:00
Calin Culianu e4e1fa67ba Some fixups due to sphinx errors
I tried building the docs using sphinx and I got a bunch of errors. I
also noticed the title was still "Electrum" -- changed to "Electrum
Cash Protocol".
2020-03-26 20:15:59 +02:00
Calin Culianu ea49396dd5 Reworded the address paremeter to not require Legacy
@dagurval says he doesn't want to support legacy addresses necessarily,
so I reworded the text to indicate servers may or may not support
legacy.
2020-03-23 20:34:02 +02:00
Calin Culianu 8acb8978a0 Added documentation for new method blockchain.address.get_scripthash
I went ahead and created this method because it might be useful for
clients to prefer to work with script hashes directly (since they are
unambiguous) whereas addresses have some ambiguity attached to them.

I documented this method and also fixed some typos and some nits in the
existing documentation.
2020-03-23 20:23:40 +02:00
Calin Culianu 9191d735aa Added documentation for the resurrected blockchain.address.* methods
Updated protocol-changes, protocol-methods, and protocol-removed to
reflect their new (old) documentation and their status as revived in
version 1.4.3 of the protocol.
2020-03-23 09:35:45 +02:00
Calin Culianu 69aa59cf10 Merge pull request #7 from dagurval/dagurval-patch-1
"coin units" -> "satoshis"
2020-01-20 23:50:46 +02:00
dagurval 7bd94147e4 "coin units" -> "satoshis"
Fix units used in `blockchain.scripthash.get_balance`
2020-01-20 20:15:08 +01:00
dagurval f7033f975c Merge pull request #5 from dagurval/cculianu-patch-2
Clarification for server.features missing 'hosts'
2020-01-16 09:59:14 +01:00
Calin Culianu 576b88768a Clarification for server.features missing 'hosts'
The implicit assumption in the code of ElectronX/ElectrumX and Fulcrum already is that a missing hosts key or a missing 'route' in `server.features` indicates the peer server no longer wishes to peer or that the route in question is not available for peering.  As such,  I added language to the `server.featutes` description to indicate this subtlety.
2020-01-16 10:40:58 +02:00
dagurval e82e51c836 Merge pull request #4 from dagurval/cculianu-patch-1
Clarify the caveat of the missing `hosts` key from features
2020-01-16 09:08:17 +01:00
Calin Culianu 8a3d8ba275 Clarify the caveat of the missing hosts key from features
Added language to explain that if the hosts key is missing, other servers will not peer with the server.
2020-01-16 09:25:18 +02:00
dagurval a47742078f Merge pull request #2 from dagurval/dash-be-gone
Remove Dash-specific RPC methods
2020-01-14 08:50:24 +01:00
dagurval fba371aaab Merge pull request #1 from dagurval/hosts
servers.feature: Make key hosts RECOMMENDED
2020-01-13 10:08:49 +01:00
Dagur Valberg Johannsson 2fe10cded3 Remove Dash-specific RPC methods 2020-01-13 10:07:54 +01:00
Dagur Valberg Johannsson af8dee9e00 servers.feature: Make key hosts RECOMMENDED
Rationale:
It can be difficult for the server to auto-discover its host and ports.
For example if SSL is provided through reverse proxy.

Having this feature as MUST will thus force manual configuration, which
increases the difficulty for operators to setup and maintain a server.
2020-01-10 12:06:31 +00:00
Dagur Valberg Johannsson c584c92f71 Add readme 2020-01-09 11:36:26 +00:00
Dagur Valberg Johannsson b8c13d94bc Re-add license file 2020-01-09 11:34:49 +00:00
Dagur Valberg Johannsson aed6cbcd4b Remove non-protocol documentation 2020-01-09 11:28:01 +00:00
ghost43 a268315237 docs: fix method signature for blockchain.transaction.get (#930)
The 'merkle' arg might be added in a later protocol version
but it is not present atm.
2019-12-01 14:46:04 +00:00
Neil Booth 73bdd87a78 Prepare 1.13.0 2019-09-26 11:10:04 +01:00
Neil Booth 8bdbaff357 Remove donation address 2019-08-28 17:39:34 +01:00
Neil Booth e5c2b26525 docs: add a note about Unix privileged ports (gits7r)
Based on https://github.com/kyuupichan/electrumx/pull/880
2019-08-28 17:31:16 +01:00
Daniel Kraft 62af2f0386 Support names in "query" RPC command. (#875)
This extends the "query" RPC command so that it also allows querying
for the name index in Namecoin (and potential future coins that support
a name index as well).

Previously, that was not possible even when passing the normalised
script itself:  In that case, hashX_from_script would strip off the name
prefix again, and thus the query would only be for OP_RETURN.  (Thanks to
JeremyRand for analysing this bug!)
2019-07-26 11:06:02 +01:00
Neil Booth b01a54c306 Prepare 1.12.0 2019-05-13 21:36:31 +01:00
Neil Booth b76ec99850 protocol-basics.rst: update re message framing 2019-05-13 08:43:04 +01:00
Neil Booth 2de8e4a37c environment.rst: tweak documentation 2019-05-12 22:29:09 +01:00
Neil Booth 6c0ed89e2d Tweak docs; log advertized services 2019-05-10 09:48:59 +01:00
Neil Booth 4b9dca9f6f Add websocket support
- Introduce services to environment
- Update to serve the services, report them to peers, etc.
- Update tests
2019-05-10 00:23:02 +01:00
Neil Booth 226a284c90 Tweak docs and rpc log implementation 2019-04-18 13:18:29 +01:00
Neil Booth d96558a722 Prepare 0.11.0 2019-04-18 12:38:18 +01:00
Neil Booth 1a76e6ff39 Improve disconnect and log local RPC commands.
Remove lognew.  Update docs.
2019-04-18 12:38:18 +01:00
Neil Booth 131c9b8ef3 Change default REQUEST_TIMEOUT to 30 2019-04-18 10:21:26 +01:00
Neil Booth 5a2b0f505f Add protocol-ideas.rst 2019-04-16 14:59:58 +01:00
Neil Booth a12ec38a4d Update protocol docs 2019-04-16 14:45:31 +01:00
Neil Booth 3a71db37ce Portocol: add blockchain.scripthash.unsubscribe 2019-04-16 14:14:50 +01:00
Neil Booth 715968aa5a Add LOG_LEVEL environment variable
Closes #605
2019-04-16 12:36:42 +01:00
Neil Booth 208bbca507 electrumx_rpc: add lognew command 2019-04-14 17:52:47 +01:00
Neil Booth 573b423be9 Add REQUEST_TIMEOUT environment variable 2019-04-14 12:55:34 +01:00
Neil Booth 9abea080c9 environment.rst: tweak docs for SESSION_TIMEOUT 2019-04-13 23:00:55 +01:00
Neil Booth 2dda6be466 Prepare 1.10.1 2019-04-13 20:06:37 +01:00
Neil Booth 20447ea9a0 Fix doc typos 2019-04-12 22:25:21 +01:00
Neil Booth e3fd333805 Expose more session control knobs to the operator 2019-04-12 18:46:20 +01:00
Neil Booth 8c62307808 Change default soft and hard limits 2019-04-11 12:22:09 +01:00
Neil Booth 1c68d529e3 session.py: close sessions hitting the hard limit 2019-04-11 12:19:41 +01:00
Neil Booth a0301f93a3 docs/rpc-interface.rst: update 2019-04-11 10:22:06 +01:00
Neil Booth 9de75999a9 Generic session costing
* new env vars: COST_SOFT_LIMIT, COST_HARD_LIMIT, BANDWIDTH_UNIT_COST
* obsolete: BANDWIDTH_LIMIT, MAX_SESSION_SUBS, MAX_SUBS
* requires aiorpcX 0.12.0
2019-04-10 16:56:17 +01:00
ghost43 7ed7c52f4f local rpc: new field for getinfo: "sessions_with_subs" (#766) 2019-03-20 06:41:18 +08:00
Neil Booth d4d2698f01 Prepare 1.10.0 2019-03-15 10:00:58 +08:00
Neil Booth d767c8cbf3 Prepare 1.9.5 2019-02-08 12:58:38 +08:00