Commit Graph

1287 Commits

Author SHA1 Message Date
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
029d94388f Update .gitignore 2018-07-12 11:03:42 +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
71b3d30842 Server listening (#516)
* + server_listening Event in Controller (to know when server has fully started)
2018-07-11 08:50:10 +08:00
Lex Berezhny
f8ebcf35b4 Env accepts custom Coin class (#517)
* + support for passing an actual coin class to Env()

* unit test for Env() accept coin class

* doc string explaining optional Coin argument to Env and assert to make sure a coin is a Coin
2018-07-11 08:48:57 +08:00
Neil
c28b5af309
Export Controller and Env from the package (#515) 2018-07-10 14:17:49 +08:00
Lex Berezhny
45111898b3 make it easier to configure logging for electrumx (#514)
* make it easier to configure logging for electrumx
2018-07-10 11:17:42 +08:00
Lex Berezhny
ddae0079a7 + BitcoinCashRegtest coin class (#512) 2018-07-10 09:36:40 +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
e425b60ff3 Remove decred - mainnet fails to sync
This doesn't seem likely to be fixed soon given the protocol
is quite different.

Closes #414
2018-07-03 18:27:46 -07:00
Neil Booth
f2f19aeffc Cast verbose to int for daemon RPC
Fixes #506
2018-07-03 18:16:41 -07: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
Neil Booth
38d045c12a librocksdb is unauthenticated 2018-07-02 14:34:18 -07:00
cronos-polis
93e4b1f15a Add Polis, ColossusXT, GoByte, Monoeci (#504) 2018-07-02 14:24:02 -07:00
Neil
2cb89814b6
Force verbose to be a boolean (#503)
Fixes #502
2018-06-26 12:19:35 -04:00
wilsonmeier
068e230616 Add mainnet, testnet and regtest peers for BTG (#500) 2018-06-24 01:20:03 -04:00
Serge Victor
f968a45c23 Added working DASH Testnet server. (#501) 2018-06-24 01:19:07 -04:00
Neil Booth
4ae6af6959 Fix typo (contributed by gabriel-samfira) 2018-06-17 12:45:28 +01:00
Daniel Shakhmundes
b21987fb4c Hardcoded username directory replaced with ~ (#494)
This change will cd to the current user's directory, rather than /home/username
2018-06-14 23:09:31 +08: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
Neil Booth
23e484b1d9 Enforce pycodestyle in lib/ 2018-06-10 19:19:08 +09:00
Neil Booth
46adf543fc Enforce pycodestyle in server/ 2018-06-10 18:39:12 +09:00
Neil Booth
e29b692b9d Fix typo 2018-06-10 18:21:19 +09:00
WO
93ee197b48 Add Koto testnet (#491) 2018-06-09 11:07:36 +09:00
脇山P
0646d874be update version aiorpcx (#490) 2018-06-08 23:57:24 +09:00
Neil Booth
653b84e853 Update BitcoinCash metadata 2018-06-06 22:59:40 +09: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
Neil Booth
2559751ead Display aiorpcX version on startup 2018-06-05 00:10:11 +09:00
Neil Booth
b993bd8f8e Rename protocol_version_string to version_string 2018-06-05 00:07:16 +09:00
Neil Booth
52658cfc9c Set the shutdown event via call_soon
Fixes #480

Require aiorpcx 0.5.6, handle ConnectionError appropriately;
this ensures the same bug would give a better error message
2018-06-04 13:22:30 +09:00
Daniel McNally
6928b251f8 Change COIN to BitcoinSegwit (#486) 2018-06-03 14:43:37 +09:00
Neil Booth
69754a62eb Be more careful closing history DB
Fixes #485
2018-06-02 15:56:58 +09:00
Neil Booth
7d9ffbbed0 Minimum supported protocol version is 1.1 2018-05-29 13:31:40 +08:00
SuBPaR42
379fef17de Update coins.py (#477)
Updated TX_PER_BLOCK to 2018 YTD average.  Updated total transactions to a more recent block.
2018-05-26 22:39:08 +07:00
WO
8d42c23026 Update for Zcash v3 tx (#475) 2018-05-26 17:48:58 +07:00
Neil Booth
e0186d7661 Move clean_db() logic to when hist DB is opened 2018-05-26 09:27:24 +08:00
Neil Booth
e88b8c0dec Update compaction test
Version -> 1.4.4pre1
2018-05-26 00:02:33 +08:00
Neil Booth
5e1ed3ffa6 Separate history management into its own object
- the object also manages unflushed history
- the history DB has its own version, starting at 0

This is the first step to making history management into
a separate service and to larger block sizes.

The next step is an improved history format, which I hope will both
save space and be a solution to issue #185.  The DB should be able to
upgrade in-place without re-syncing the chain.
2018-05-25 23:36:18 +08:00
Neil Booth
5d22e27d52 Add .pytest_cache to .gitignore 2018-05-22 11:50:39 +08:00
Neil Booth
77051f83a4 Make HASHX_LEN a global, not a coin property 2018-05-22 11:44:27 +08:00
ddude
56de4dea67 Adding Xuez Coin (#472) 2018-05-19 09:49:54 +08:00
John L. Jegutanis
c813918b8b Add version to the getinfo result (#471) 2018-05-19 01:16:02 +08:00
Nico
9877e1f846 added Machinecoin (MAC) (#470) 2018-05-18 20:03:21 +08:00
cipig
a7a8a1bd32 add GameCredits (GAME) (#467) 2018-05-12 22:51:49 +08:00