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:
@@ -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
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user