<p>Ignore the idea above ^^^ It didn't work. But I have now commited code that makes the problem visible <em>in java</em> <a href="https://github.com/bodymindarts/bisq/tree/bad-bytes-repro">https://github.com/bodymindarts/bisq/tree/bad-bytes-repro</a>.<br>
Build + run it in mainnet. Eventually you should see an output:</p>
<pre><code>REPRO - BYTES OF LAST MESSAGE != BYTES OF THIS MESSAGE -> different serialization but same hash
</code></pre>
<p>Followed by some stringified objects (to compare the values). The output comes from <a href="https://github.com/bodymindarts/bisq/blob/bad-bytes-repro/p2p/src/main/java/bisq/network/p2p/storage/P2PDataStorage.java#L397-L418">this</a> section of code. Though there is other code added to make this work (best to review the diff).</p>
<p>This proves that, while locally serialization may be deterministic, globally it is not indicating that different nodes must be coming up with different hashes in some cases.</p>
<p>Or is there another explanation?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/3367?email_source=notifications&email_token=AJFFTNVZPAZJJYDMBQ5F233QNWQBTA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXINCA#issuecomment-539920008">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQ5YPMZ2WPIW5OTNZLQNWQBTANCNFSM4I55W3JQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNTT7CEJAUQLA44MRL3QNWQBTA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXINCA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/3367?email_source=notifications\u0026email_token=AJFFTNVZPAZJJYDMBQ5F233QNWQBTA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXINCA#issuecomment-539920008",
"url": "https://github.com/bisq-network/bisq/issues/3367?email_source=notifications\u0026email_token=AJFFTNVZPAZJJYDMBQ5F233QNWQBTA5CNFSM4I55W3J2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAXINCA#issuecomment-539920008",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>