Fix: more robust startup sequence

This commit is contained in:
SChernykh
2025-05-29 17:26:42 +02:00
parent 7cd21f5d0e
commit 0d7b110f15
2 changed files with 89 additions and 42 deletions

View File

@@ -112,7 +112,11 @@ public:
void update_block_template_async(bool is_alternative_block = false);
void update_block_template();
void download_block_headers(uint64_t current_height);
// TODO refactor this bullshit later
void download_block_headers1(uint64_t current_height);
void download_block_headers2(uint64_t current_height);
void download_block_headers3(uint64_t start_height, uint64_t current_height);
void download_block_headers4(uint64_t start_height, uint64_t current_height);
bool chainmain_get_by_hash(const hash& id, ChainMain& data) const;