HathorNetwork / HathorNetwork/hathor-core

When starting a full-node, validate the local transactions in a thread and let twisted's main loop runs

Open
#7 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
92
Forks
45
PR merge metrics
No merged PRs in 30d

Description

Currently, when we start a full-node, all local transactions are verified before entering into twisted's main loop.

We can validate the local transactions in a thread after entering twisted's main loop. The primary advantage is that we can use the HTTP API + WebSocket to follow the initialization.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the full-node startup path where local transactions are verified before Twisted's main loop begins. Trace how validation, the HTTP API, and WebSocket initialization interact. Done means local transaction validation runs in a thread after the main loop starts, while the HTTP API and WebSocket can report initialization progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design, blockchain
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.