Skip to content

build: prepare v0.18.4.1 #9946

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: release-v0.18
Choose a base branch
from

Conversation

selsta
Copy link
Collaborator

@selsta selsta commented Jun 7, 2025

A couple smaller bug fixes have accumuluated.

@plowsof
Copy link
Contributor

plowsof commented Jun 7, 2025

monero-blockchain-export --data-dir /var/lib/monero/.bitmonero --blocksdat --output-file blockchain.dat --block-stop 3428800
sha256sum blockchain.dat 
007c93e1cea98d3ac2e6f46bb1f82495469292ca90486bc48c57a110ad94d660  blockchain.dat
height="3428800"
difficulty="0x679a68b5c7c3610"
hash="5f15dbe24d4c029d713f8bd46cf7d4f7277da922bbc10220b32d72ea3f9fd3e0"
node=127.0.0.1:18081
REQ=$(curl http://${node}/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"get_block_header_by_height","params":{"height":'${height}'}}' >
DATA=$(echo $REQ | jq '.result.block_header')
actual_difficulty=$(echo $DATA | jq -r '.wide_cumulative_difficulty' )
actual_hash=$(echo $DATA | jq -r '.hash')
if [ "$actual_hash" != "$hash" ]; then 
        echo "hashes don't match"; exit
fi
if [ "$difficulty" != "$actual_difficulty" ]; then
        echo "difficulty not equal"; exit
fi
echo "OK"

✔️

@selsta selsta mentioned this pull request Jun 12, 2025
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants