Files
miner/scripts/submit_task.sh

13 lines
634 B
Bash
Executable File

echo "Submitting task to external miner service test..."
curl -X POST http://127.0.0.1:9833/mine \
-H 'Content-Type: application/json' \
-d '{
"job_id": "job-test-59",
"mining_hash": "376277d8aab575166b39e98b7b8028c7805446daa676ecb8e0efacc54d2a614f",
"difficulty": "54995039720",
"nonce_start": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"nonce_end": "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003e8"
}'
echo # Add a newline for cleaner terminal output