Commit Graph

1253 Commits

Author SHA1 Message Date
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
Peter Bushnell
e5cd5f3067 Add Uniform Fiscal Object (UFO) (#463)
* Add Uniform Fiscal Object

* Remove spaces in name

* Rename test
2018-05-06 07:15:14 +08:00
Roman Zeyde
ee7e536a38 Fix small typo in protocol-basics.rst (#462) 2018-05-05 05:50:37 +08:00
Neil Booth
55e060c318 RPC member is 'message' not 'msg'
Fixes #455
2018-04-25 01:04:46 +08:00
Neil Booth
acb18155d0 Update the roadmap 2018-04-22 21:51:00 +08:00
脇山P
3749900d65 Fix bitzeny params and header (#453) 2018-04-18 19:29:24 +08:00
Nico Van Severen
7ef6e78bc9 Add NewYorkCoin testnet in coins.py (#452) 2018-04-18 10:38:14 +08:00
Neil Booth
46f245891c Point to readthedocs 2018-04-14 04:44:17 +08:00
脇山P
a858b3fc2d fix height is not define (#450) 2018-04-13 23:34:05 +08:00
Neil Booth
ec2565679a Force close stale sessions that aren't closing 2018-04-12 21:43:25 +08:00
Neil Booth
d586a745e1 Fix doc build 2018-04-12 11:58:23 +08:00
Yuki Akiyama
3bedef6de3 indent fix (#449) 2018-04-11 13:10:33 +09:00
Lucas Betschart
dc309d3835 Feathercoin activated SegWit (#447) 2018-04-10 22:37:37 +09:00
Neil Booth
0dc99d7c63 Fix RPCError import
Closes #443
2018-04-10 14:16:49 +09: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
f54c4e6e25 Resolve address locally if proxy and not tor
and report it correctly in peers output

Requires aiorpcX 0.5.5
Closes #301
2018-04-09 14:35:26 +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
fec2ee1d8f Set PROTOCOL_MIN to 1.0
Earlier protocol versions are used by 2.9.x clients of Electrum and
Electron Cash.  They all have the local daemon vulnerability, so
it seems a good time to phase out support for those clients.
2018-04-09 09:37:07 +09:00
Neil Booth
8bf30fba0e Move server/version.py to Controller class 2018-04-09 09:37:07 +09:00
Neil Booth
34c45e6601 Remove down / obsolete servers 2018-04-09 08:01:26 +09:00
Neil Booth
837bea217a Remove controller.groups 2018-04-08 17:51:00 +09:00
Neil Booth
e92c9bd486 ElectrumX 1.4 2018-04-08 10:16:36 +09:00
Neil Booth
415552989b Fix group consolidation logic 2018-04-08 10:16:36 +09:00
Neil Booth
fbf0ec4d9b Update BitcoinSegwit peers 2018-04-08 10:16:36 +09:00
Neil Booth
381593fba3 Update BCH servers 2018-04-08 10:16:36 +09:00
Neil Booth
bc6093a8fe Fully integrate aiorpcX 2018-04-08 10:16:36 +09:00
Neil Booth
804306907b Use aiorpcx in electrumx_rpc script 2018-04-05 15:28:46 +09:00
Neil Booth
e69b1d930f Convert PeerSession to use aiorpcX 2018-04-05 15:28:46 +09:00
FujiCoin
0ef6267396 mod fujicoin SegWit (#435) 2018-04-05 08:29:48 +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
TheLazieR Yip
02ab8e5742 Add block tests for DASH (#431) 2018-03-30 17:42:42 +09:00
-k
a1802b436b add AXE support (#429) 2018-03-30 11:38:36 +09:00
Neil Booth
c1ba211d43 Remove code appropriate for future aiorpcX
Closes #428
2018-03-26 21:20:35 +09:00
Neil Booth
a2635f4df9 Bump reported version to 1.3.1 2018-03-26 17:27:48 +09:00