333 Commits

Author SHA1 Message Date
Calin Culianu dc8300294e Merge pull request #3 from cculianu/revert-1-master
Revert "Add and document address and scripthash transactions subscription methods"
2022-07-25 21:05:41 -05:00
Calin Culianu 73b8911292 Revert "Add and document address and scripthash transactions subscription methods" 2022-07-25 21:05:19 -05:00
Calin Culianu e5202f7139 Merge pull request #1 from mainnet-pat/master
Add and document address and scripthash transactions subscription methods
2022-07-25 21:01:00 -05:00
Calin Culianu cd5fc09e5f Merge pull request #2 from zander/dsproof
Move link to one of the specification copies
2022-07-25 20:59:08 -05:00
tomFlowee a2fbb65e92 Move link to one of the specification copies 2022-06-10 22:34:15 +02:00
Calin Culianu ac4329b546 Reworded things a little bit. 2022-01-24 17:02:07 -06:00
Calin Culianu f31ffb58a1 Updated docs to remove limitations of Fulcrum batch requests
We just updated Fulcrum to no longer have the `id` limitations in batch
requests.  Batch requests are identical now to regular requests as far
as limitations go.
2022-01-24 16:57:16 -06:00
Calin Culianu de27a33a64 Updated electrum-cash-protocol documentation to indicate batch support
Also updated the docs to specify that we don't support JSON numerics
with fractional parts as the `id` of a JSON RPC message.
2022-01-21 14:23:34 -06:00
mainnet-pat e10abfb0a3 Bump version to 1.4.6; Add blochain.scripthash.transactions.subscribe, blochain.scripthash.transactions.unsubscribe, blochain.address.transactions.subscribe, blochain.address.transactions.unsubscribe methods 2021-09-13 14:00:48 +00:00
Calin Culianu 005253d108 Added blockchain.transaction.dsproof.* documentation
Plus misc fixups and added a section in Protocol Basics describing what
a double-spend proof object contains.

Bumped docs version to 1.4.5.
2021-03-02 16:40:56 +02:00
Calin Culianu 9061333153 Added blockchain.transaction.subscribe and unsubscribe
Plus misc. fixups.

Still left to document: the blockchain.transaction.dsproof.* methods.
2021-03-02 15:21:34 +02:00
Calin Culianu 5f7d78a12b Fix: Make blockchain.utxo.get_info use snake_case
The params were being listed in a weird way.

- fixed: prevoutHash -> tx_hash
- fixed: prevoutN -> out_n
2020-06-24 00:28:26 +03:00
Calin Culianu 4435f3b2b0 Added documentation for blockchain.utxo.get_info 2020-06-24 00:17:29 +03:00
Calin Culianu fa97adfe96 Corrected errata. get_balance returns numeric, not string balance
This has been an error for far too long. Finally fixed.
2020-06-23 21:16:26 +03:00
Calin Culianu 09bfe76816 Added ws_port and wss_port description to server.features 2020-04-16 01:47:11 +03:00
Calin Culianu 123aef81b1 Updated conf.py, also removed reference to AuXPoW data 2020-03-26 23:57:32 +02:00
Calin Culianu ed71040021 Updated conf.py 2020-03-26 23:51:02 +02:00
Calin Culianu d9a7152ba9 Updated conf.py, and also the blockchain.address.* address description 2020-03-26 23:48:44 +02:00
Calin Culianu 75c6ed0795 Update README.md 2020-03-26 21:06:09 +02:00
Calin Culianu be261d4cce Set docs version to 1.4.3 2020-03-26 20:53:06 +02:00
Calin Culianu f9ce2d910f More changes for Fulcrum 2020-03-26 20:49:29 +02:00
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