Files
p2pool-salvium/scripts/workflows/test-sync-check.sh
2025-12-25 20:03:29 +00:00

9 lines
366 B
Bash
Executable File

#!/bin/bash
# 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|ZMQReader disconnected|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
exit 1
fi