Skip to content
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

build: prepare v0.18.3.0 #8988

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

selsta
Copy link
Collaborator

@selsta selsta commented Sep 10, 2023

No description provided.

@plowsof
Copy link
Contributor

plowsof commented Sep 10, 2023

./monero-blockchain-export --data-dir /var/lib/monero/.bitmonero --blocksdat --output-file blockchain.dat --block-stop 2971000
sha256sum blockchain.dat
10b24cd1f61aeb4b07a0569af6b80db91d58f12bdc93cd4711e52a1410c7b5f5
height="2971000"
difficulty="0x436e532738b8b5b"
hash="3d4cac5ac515eeabd18769ab943af85f36db51d28720def0d0e6effc2c8f5ce3"
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}'}}' -H 'Content-Type: application/json')
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"

@luigi1111 luigi1111 merged commit 533bbc3 into monero-project:release-v0.18 Sep 15, 2023
16 of 17 checks passed
@selsta selsta deleted the prepare-v0.18.3.0 branch October 1, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants