HathorNetwork / HathorNetwork/hathor-core
Simulation not producing blocks/txs when using a single peer
- Dominant language
- Python
- Stars
- 92
- Forks
- 45
- PR merge metrics
- No merged PRs in 30d
Description
> Should we create an issue to handle it later?
_Originally posted by @msbrogli in https://github.com/HathorNetwork/hathor-core/pull/393#discussion_r855934651_
This was discovered on a PR that will be merged soon. Apparently the tests that fall on this behavior aren't hiding any bugs, that is, fixing this behavior doesn't seems like it would uncover a bug. I've worked around this on another test by just adding a dummy peer, which seems to trigger the "transaction adding".
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test name, or entry point is identified. Start by locating the simulation tests described in the issue and compare single-peer behavior with the dummy-peer workaround; done means the simulation produces blocks and transactions with one peer without requiring a dummy peer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100