spesmilo / spesmilo/electrumx

MemoryError in logs and broadcast tx package

Open
#329 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
568
Forks
447
PR merge metrics
No merged PRs in 30d

Description

Hello there

I've noticed the below error quite a bit recently and it got me thinking, is the 1MB limit in aiorpcx (which is where this error comes from) going to be an issue when clients are now sending broadcast_package messages (which I assume could easily hit this limit)?

ClientSession - MemoryError('dropping message over 1,000,000 bytes and re-synchronizing')

Grateful for your thoughts.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining the aiorpcx 1 MB message limit and how broadcast_package messages are handled. Determine whether these messages can exceed the limit and what behavior is expected; the issue is complete only when that impact and any required follow-up are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, backend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.