Commit Graph

1244 Commits

Author SHA1 Message Date
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
Neil Booth
81141eb390 Proxy detection improvements
- don't detect in a loop.  Only detect at startup, and later if
  needed and 15 minutes has passed since the last attempt
2018-03-26 17:27:47 +09:00
Neil Booth
1b65bd8d50 attr->envvar for NET 2018-03-26 16:55:13 +09:00
Neil Booth
ebfe93e15c Lower case doc files 2018-03-26 16:49:58 +09:00
Neil Booth
8c54111139 Improve envvar docs 2018-03-26 16:48:37 +09:00
Snowgem
b33cf8b8ce modify SnowGem header (#427) 2018-03-25 22:55:11 +09:00
脇山P
991ddf1dbd update monacoin server (#421) 2018-03-23 17:37:32 +09:00
脇山P
8b669b6466 update koto server (#422) 2018-03-23 17:37:01 +09:00
danny91
3ac2e826a6 Add arihanc to various coins (#416)
* Add arihanc clearnet and tor to bitcoinsegwit

* Add arihanc tor to bitcoincash

* Add arihanc tor (V3) address to bitcoin segwit testnet

* Add arihanc clearnet and tor (v3) to bitcoincashtestnet
2018-03-17 08:18:20 +08:00
Neil Booth
0e7cd498ca More improvements to HOWTO.rst 2018-03-16 09:59:27 +08:00