Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/firoorg/electrumx-archived

Alternative implementation of spesmilo/electrum-server
https://github.com/firoorg/electrumx-archived

NetIdentity: remove nick_suffix

278a61ee7eca02e925cacf0f1d2e9ccf9c97674f authored over 5 years ago by Neil Booth <[email protected]>
Take is_valid_hostname from aiorpcx

Require aiorpcX 0.16.1

991d09ea8dbba56aba44132ca68900e602ed71ba authored over 5 years ago by Neil Booth <[email protected]>
Upgrade to aiorpcX 0.16.0

4120596fb8e2c87dd63efc8db7f820842e57b5e5 authored over 5 years ago by Neil Booth <[email protected]>
connection_made: call recalc_concurrency() here

Give connections a cost of 5.0

eb7cea5ecd81ba5a8f8b331d3c3e46dcc9097750 authored over 5 years ago by Neil Booth <[email protected]>
setup.py: use extras_require

0a279d2fe1a982d76129173d46a50a882a70ce3b authored over 5 years ago by Neil Booth <[email protected]>
server_base.py: handle KeyboardInterrupt robustly

a12640f6ed6a9bf5db1de2d57a8b136ee5115463 authored over 5 years ago by Neil Booth <[email protected]>
connection_lost: work around uvloop bug

Closes #743

a4ea34c6fb9bc887afb19779bde107d97006d8b7 authored over 5 years ago by Neil Booth <[email protected]>
Placate pycodestyle

108c4213a86d9bb7ef08d9d3505dfce2f8c67ecc authored over 5 years ago by Neil Booth <[email protected]>
Tweak docs and rpc log implementation

7a624d31c1cbc73d2b85f1aeb1a581e9a7944096 authored over 5 years ago by Neil Booth <[email protected]>
Improve disconnect and log local RPC commands.

Remove lognew. Update docs.

6030252e89d3b4de15eda83f194af09c0a28810d authored over 5 years ago by Neil Booth <[email protected]>
Prepare 0.11.0

425f40b907416e395067ec65965c529070eafb8b authored over 5 years ago by Neil Booth <[email protected]>
Change default REQUEST_TIMEOUT to 30

ef106c40fd39a288884602abf89c0a8732f009e3 authored over 5 years ago by Neil Booth <[email protected]>
History cache: add stats

Add cache invalidation for the merkle cache

6adea4cb4d9694f04716cb5cb1f348446e752109 authored over 5 years ago by Neil Booth <[email protected]>
Prefetcher: let cancellation through; just log it

Catch, log and ignore unexpected exceptions

651219d77543daf23c29b2346247406519868a15 authored over 5 years ago by Neil Booth <[email protected]>
Improve get_info stats

4e46a207e95a6d4dd6ad464cc76c545ca10bd45a authored over 5 years ago by Neil Booth <[email protected]>
Add request method stats

10913fa9daa117822e5dac21c556d7df65e0ddfd authored over 5 years ago by Neil Booth <[email protected]>
BTG bad RPC port fix + removal of dead service domain (#800)

ec778b45773e176630a9b25dc02dda210a8a0c40 authored over 5 years ago by ZhiKosta <[email protected]>
Clean up imports

93e012c6a57eed6b0e18e4dddda92b1b5f931e12 authored over 5 years ago by Neil Booth <[email protected]>
Handle ConnectionResetError

This is newly raised by aiohttp

32e8ea2940be46790216dac3684cc6a75e8882c1 authored over 5 years ago by Neil Booth <[email protected]>
Remove aiohttp bug workaround; follow up to prior

0b95badf5c4fcb988a8d630b3c30b49c71a2caeb authored over 5 years ago by Neil Booth <[email protected]>
Require aiohttp 3.3 or higher

That release of aiohttp fixed their CancelledError bug

94322f4583c66a65dd233623d11b15539f9da4b8 authored over 5 years ago by Neil Booth <[email protected]>
Fix prior

98daf5417a7081dc6f14fdbce7bbe652998b94c0 authored over 5 years ago by Neil Booth <[email protected]>
daemon.py: work around aiohttp bug

Also log unexpected exceptions in the prefetcher

d90d76cbddedda37bcc90d9b0ee3bacef68fa32e authored over 5 years ago by Neil Booth <[email protected]>
Add protocol-ideas.rst

f6e0962262c56d1879498f71add5ceb6821d171b authored over 5 years ago by Neil Booth <[email protected]>
Add missing await

374e8360b4308f9bb2b6acaf7f9b8b590447c077 authored over 5 years ago by Neil Booth <[email protected]>
Update protocol docs

c801cc0f40971aa564ab87e249e50a88d0d66051 authored over 5 years ago by Neil Booth <[email protected]>
Portocol: add blockchain.scripthash.unsubscribe

39817eec7e05c701c0760aeae37aa4dd568e005d authored over 5 years ago by Neil Booth <[email protected]>
Handle subscriptions whose history becomes too long

04ead9b68a4ecea2b9ac391cb01654801839cdc5 authored over 5 years ago by Neil Booth <[email protected]>
Ignore add_peer unless PEER_DISCOVERY is ON

Closes #731

2a8390abac3ce570e871f71066952f4ead4dbd5a authored over 5 years ago by Neil Booth <[email protected]>
Use normal loops

1d554ff579eb8c39aab5434e1890bf0c8c4908b2 authored over 5 years ago by Neil Booth <[email protected]>
Don't access _can_send base member.

56823805f14745f5627f5bf41437e79bc2856928 authored over 5 years ago by Neil Booth <[email protected]>
Handle subscriptions whose history becomes too long

304e44d5236cc7db5c1775581680b5a748f75fea authored over 5 years ago by Neil Booth <[email protected]>
Remove dead code for address subs

17519611bbb60580797f66bd86273f4a9ecc0ba5 authored over 5 years ago by Neil Booth <[email protected]>
Save a subscription only if address_status succeeds.

031d193d263bcc56ed13091717bb49b3ed90533d authored over 5 years ago by Neil Booth <[email protected]>
Strip the newlines form sys.version

ddfc87ecc9e1551aecefb690613d10ea8387b98c authored over 5 years ago by Neil Booth <[email protected]>
Add LOG_LEVEL environment variable

Closes #605

f651d166d22eb4702b6351668b0af2182bc6a85d authored over 5 years ago by Neil Booth <[email protected]>
limited_history: raise error on long histories

Requires aiorpcX 0.15.0

Fixes #566

dc790fcdf2c93892a3d4238158804089585d8933 authored over 5 years ago by Neil Booth <[email protected]>
dash: add CbTx version 2 support (#794)

cac452fbaeefe7fbb980ada6f3385c53fb585a46 authored over 5 years ago by zebra-lucky <[email protected]>
peers.py: use sent_request_timeout

eeb9c3e5b20fa38a480f74255c66e4c8d99e00e3 authored over 5 years ago by Neil Booth <[email protected]>
session.py: use MerkleCache, add a cache of them

e41c3dc5188114197d4d467013cac1453de7d216 authored over 5 years ago by Neil Booth <[email protected]>
session.py: bump history cache to 1000

0c86a833c11a7aaef1b1cc0dd72208926df73712 authored over 5 years ago by Neil Booth <[email protected]>
session.py: introduce an lrucache for block tx hashes

Adjust request costing based on whether cache is hit.

Add stats to RPC getinfo

dcd255b3b6d892edbe837d357d2e166730375d75 authored over 5 years ago by Neil Booth <[email protected]>
session.py: handle block tx hashes more efficiently

• only convert tx_hash from hex to bytes once
• keep the tx_hashes list in binary saving an expe...

9b4a3c9dff4cf41fc735e9f698293b0c79f34d94 authored over 5 years ago by Neil Booth <[email protected]>
session.py: don't bother showing the block hash

Don't sanity-check height twice

d7162311e52dc9a08a900fd832c261c76fdfca42 authored over 5 years ago by Neil Booth <[email protected]>
Use aiohttp session correctly when reading blacklist

5e161b1a25d0c8ae75bdf4bef1938544f3f3aa12 authored over 5 years ago by Neil Booth <[email protected]>
session.py: log_me is now in the aiorpcX base class

b05f3793f9264dda40303883fe850fffd0973f87 authored over 5 years ago by Neil Booth <[email protected]>
electrumx_rpc: add lognew command

377e8f3a5241067e5038bd761c99b94ea24c8775 authored over 5 years ago by Neil Booth <[email protected]>
Remove a condition that is always true now

516b04e6eb08c5f86353e5c6103bf5e21b7baffe authored over 5 years ago by Neil Booth <[email protected]>
setup.py: update

f02e551442cb114f40675660e6b066ee9c8516a1 authored over 5 years ago by Neil Booth <[email protected]>
_close_servers: close the servers before waiting

Might help #795

b71e95b1a5d0623e55597629d1bd829464c64312 authored over 5 years ago by Neil Booth <[email protected]>
Mark 4 env vars as obsolete

5e03dc038b8e598341133fdf0375d96ddb0c063b authored over 5 years ago by Neil Booth <[email protected]>
Add REQUEST_TIMEOUT environment variable

1129e5025263079fdd45a22ba6efd1d475ce838e authored over 5 years ago by Neil Booth <[email protected]>
Require aiorpcX 0.13.6

96537bd55447312b2eb50f485264d497b19ae86c authored over 5 years ago by Neil Booth <[email protected]>
Bitcoin SV scaling testnet support. (#796)

16914022bfb8bfd77c50ccb08c96a98f3c974173 authored over 5 years ago by Roger Taylor <[email protected]>
tx.py: clean up

9635ab6a8b46ccca7151b9c95a6f1202574e7a11 authored over 5 years ago by Neil Booth <[email protected]>
server_base.py, text.py: clean up

a04b84722a3f470c015494b69b2894e36f636ed9 authored over 5 years ago by Neil Booth <[email protected]>
script.py: clean up

3abaf87865dfac361894fe5aeb32324d9754520b authored over 5 years ago by Neil Booth <[email protected]>
merkle.py: clean up

22a8b0727c5eaedc4418c44c23030e17a11c7f77 authored over 5 years ago by Neil Booth <[email protected]>
coins.py: clean up

7fbde07b1cd8f8a297f93db3f5bcafac88422eb6 authored over 5 years ago by Neil Booth <[email protected]>
history.py: clean up

82b1a9d59ec55561018e4a459d54899d0aefdcf6 authored over 5 years ago by Neil Booth <[email protected]>
db.py: clean up

065c61c350e2eaa0e14e8a1df7edc8086b8c9a4c authored over 5 years ago by Neil Booth <[email protected]>
session.py: clean up

49c5e0af457b33569bf8d7f751db0790a99c4831 authored over 5 years ago by Neil Booth <[email protected]>
mempool.py: cleanup

e1abaa8fb416a8cbbf4deb1f0c6ff4160f13e69d authored over 5 years ago by Neil Booth <[email protected]>
peers.py: cleanup

08c55bbc6c79ebfb7d788085c9da4fd38da917ec authored over 5 years ago by Neil Booth <[email protected]>
daemon.py, blockprocessor.py: cleanup

a6785929c441fcdb48ec7d954b78328f038d63d0 authored over 5 years ago by Neil Booth <[email protected]>
environment.rst: tweak docs for SESSION_TIMEOUT

52993215cb14b1a413fa3ddf20175e1275eace7e authored over 5 years ago by Neil Booth <[email protected]>
Prepare 1.10.1

c881397f8eb1d31dd28d7494cc0e50226ef494a3 authored over 5 years ago by Neil Booth <[email protected]>
Tweak tx_hashes cost

Reduce it given SomberNight's optimisation

The logic and costing needs cleaning up here but thi...

12b07277221a33c288edb07ee5010e6fc44671fd authored over 5 years ago by Neil Booth <[email protected]>
ElectrumX: recalc concurrency on connect

Require aiorpcX 0.13.5

7ea05184dcb23827f294b2214b0f0e633ce246aa authored over 5 years ago by Neil Booth <[email protected]>
Rename CivX to EXOS for mainnet and testnet (#793)

e497a50cfb755ee124afe6abc2ae8a60a5edbfa9 authored over 5 years ago by turcol <[email protected]>
Fix doc typos

57baafde0f31bf957a5654e6d64ccef14e62c82e authored over 5 years ago by Neil Booth <[email protected]>
Expose more session control knobs to the operator

91576490c164e785878adffbd5ac59af9c6087a2 authored over 5 years ago by Neil Booth <[email protected]>
No longer a reason to sort the sessions

8d7fa58ac740bc494d6bf7649c70a495e5f0f4f4 authored over 5 years ago by Neil Booth <[email protected]>
other_cost: tweak costing

Based on suggestion of SomberNight

f843d26325f226ec8056b74003ed083f015508e9 authored over 5 years ago by Neil Booth <[email protected]>
Require aiorpcX 0.13.2

a8e1dff79d2a48aa1d2a7e043f38d9c6369779da authored over 5 years ago by Neil Booth <[email protected]>
Require aiorpcX 0.13.1

6c75734d4e531eb63cbcebe65766baf85a7be9ca authored over 5 years ago by Neil Booth <[email protected]>
Fix requests count

10cb7415fd13fa6778f266e3cf1d0777e9db9b4a authored over 5 years ago by Neil Booth <[email protected]>
Remove BitcoinSegwitElectrumX; add CRASH_CLIENT_VER to Coin

33da4a4e644a6e42d2e03f7af36aea0b54097f91 authored over 5 years ago by Neil Booth <[email protected]>
Revert "Move client crash code above the client name check"

This reverts commit b09608e6c38eaa99d6bab34e50c9f944bb8ccd4d.

b7a7b6df0d0377f4909d325539bb3f8ced205918 authored over 5 years ago by Neil Booth <[email protected]>
Move client crash code above the client name check

b09608e6c38eaa99d6bab34e50c9f944bb8ccd4d authored over 5 years ago by Neil Booth <[email protected]>
Require Electrum protocol at least 1.4

f89cea536c475267ddf869eed9b25fb300414b54 authored over 5 years ago by Neil Booth <[email protected]>
Fix test

072be11fa2aa2a9cc502fbb433c8a541ab0ef58f authored over 5 years ago by Neil Booth <[email protected]>
Report mempool and block sizes

fcbc30f5fcdaadf437d4d1e578659429c761cd48 authored over 5 years ago by Neil Booth <[email protected]>
Fix concurrency handling; require aiorpcx 0.13

b943760a19550c74afce5be6f8ee21bcf0bb1509 authored over 5 years ago by Neil Booth <[email protected]>
extra_cost: split retained cost in full over existing group sessions

acd4e1da99f9b7b50dd1bfdefba8e770f6c094c7 authored over 5 years ago by Neil Booth <[email protected]>
session.py: groups retain cost of closed sessions

Based on issues pointed out by and discussions with SomberNight

18c5fcad26b2859210d6e99d6fbc961866d02a68 authored over 5 years ago by Neil Booth <[email protected]>
ip_addr_bucket: to avoid doubt explode the address

4d1e02a5e76048d63261c89f4f2b86f438782d44 authored over 5 years ago by Neil Booth <[email protected]>
extra_cost: don't assume session is still present

Fixes #792

eb56b329872881c3f0192774b02766bb33dd9917 authored over 5 years ago by Neil Booth <[email protected]>
Fix tests

40b4536bc82b4710323253ecf11da7796308e71b authored over 5 years ago by Neil Booth <[email protected]>
Change default soft and hard limits

353f26be7128b7b9068feeda592a53c31bcc691c authored over 5 years ago by Neil Booth <[email protected]>
session.py: close sessions hitting the hard limit

4f65e3423f82cbbe1ed69167a54e6acd7aee5f18 authored over 5 years ago by Neil Booth <[email protected]>
docs/rpc-interface.rst: update

c0b8589f0f8a24292741234c2b9318140ad8657c authored over 5 years ago by Neil Booth <[email protected]>
Process sessions most-expensive first

So if they are cut off they no longer contribute to the group cost
of other sessions

90e2cf6efd51b38d12f220c8013b2109bfe62379 authored over 5 years ago by Neil Booth <[email protected]>
Add 2 groups for each session

One IP-address based, one time-based. A session accrues a fraction
of the costs of other sessio...

d3b3c26e4d68bcb6dd1d16b8e8b101bbf31c5048 authored over 5 years ago by Neil Booth <[email protected]>
session: rework transaction.get_merkle: avoid calling bitcoind (#789)

use ElectrumX's db instead

593fb548bf8f2dce1c7d8cfc3df20915f24cc130 authored over 5 years ago by ghost43 <[email protected]>
Generic session costing

* new env vars: COST_SOFT_LIMIT, COST_HARD_LIMIT, BANDWIDTH_UNIT_COST
* obsolete: BANDWIDTH_LIMI...

c03a72faa6bb8d4ceb3d08f8b15c28cf32a77487 authored over 5 years ago by Neil Booth <[email protected]>
Change peer list refresh / stale timeout from 24 hours to 1 hour (#787)

* Change staleness to 3 hrs

4252af006fa6dd09cd42ece1a5c9ea0003d3d487 authored almost 6 years ago by peleion <[email protected]>
BitcoinSV: update PEERS

1bafc3404e82750f48f517738fb8048bd180b532 authored almost 6 years ago by Neil Booth <[email protected]>
electrumx_rpc: raise timeout to 30s; show exception as string

a89eeaa7751e643dbce6c8199a23e03349a10c82 authored almost 6 years ago by Neil Booth <[email protected]>
session: properly disconnect unsupported clients in server_version (#786)

1f5115703f2af4d66c8bd34566ba960fd597f092 authored almost 6 years ago by ghost43 <[email protected]>