Added empty check for pruned_blob before debug deserialize, Added exclusions for no connections to other p2pool nodes, m_transactionHashes is empty, calc_miner_tx_hash fast path

This commit is contained in:
Matt Hess
2025-12-24 18:35:01 +00:00
parent 4f4b3d4753
commit 5ce7dbf9f0
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
grep 'ERROR ' p2pool.log | grep -E -v 'submit_block|failed to bind|ZMQ is not running|block header for seed' > errors.log
# Filter out expected/transient errors during CI sync test
grep 'ERROR ' p2pool.log | grep -E -v 'submit_block|failed to bind|ZMQ is not running|block header for seed|no connections to other p2pool nodes|m_transactionHashes is empty|calc_miner_tx_hash fast path' > errors.log
if [ -s errors.log ]; then
cat errors.log

View File

@@ -1239,7 +1239,7 @@ void P2PServer::on_broadcast()
LOGERR(1, "compact blob broadcast is broken, error " << result);
}
}
{
if (!data->pruned_blob.empty()) {
PoolBlock check;
const int result = check.deserialize(data->pruned_blob.data(), data->pruned_blob.size(), m_pool->side_chain(), nullptr, false);
if (result != 0) {