Implement batch block transfer with server side ancestor fill, BLOCK_BATCH_MAX_COUNT reduced from 50 to 10 to avoid contention warnings, fix get_seed failure in add_external_block returning false
This commit is contained in:
@@ -81,7 +81,7 @@ public:
|
||||
bool get_genesis_info(hash& id, uint64_t& timestamp, uint64_t& height) const;
|
||||
void purge_sidechain();
|
||||
|
||||
[[nodiscard]] const PoolBlock* get_block_blob(const hash& id, std::vector<uint8_t>& blob) const;
|
||||
[[nodiscard]] const PoolBlock* get_block_blob(const hash& id, std::vector<uint8_t>& blob, hash* parent_hash_out = nullptr) const;
|
||||
[[nodiscard]] bool get_outputs_blob(PoolBlock* block, uint64_t total_reward, std::vector<uint8_t>& blob, uv_loop_t* loop) const;
|
||||
|
||||
void print_status(bool obtain_sidechain_lock = true) const;
|
||||
|
||||
Reference in New Issue
Block a user