Does it break untraceability or unlinkability (or something else) if everyone can see the sender's address (or one of the senders because of mixins)?
And I mean doing it for example for every 10th address used in Monero network (only use it with primary addresses, not any sub or ghost addresses).
Btw the extra part is public (not encrypted), just for you to know.
Thanks for the great answer, but when I call
curl -X POST http://localhost:19835/json_rpc -d '{"jsonrpc":"2.0","id":"0","method":"transfer","params":{"destinations":[{"amount":1,"address":"cczJn1gS7VT37m1t5oDUjTFmPZRDSoNq2Bry2JurELfrDfrmqA6z7AVZ2nsKrDo2jTMCt2ZeUaPXN24oxj1y84F75Z1HAVWBKR"}],"payment_id":"000000000000000000000000000000000000000000000000000000000005a1da","mixin":1,"get_tx_key":false,"unlock_time":0,"priority":3}}' -H 'Content-Type: application/json'
and then
./build/debug/bin/citicashd print_tx bf9e43bfbe73b0f27bdc201748b8f039fec740ea7a82b6e8232ee480313a5281
I get a transaction, where I can clearly see the extra
"extra": [ 2, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 161, 218, 1, 216, 55, 28, 200, 30, 163, 246, 76, 59, 40, 154,148, 229, 12, 181, 10, 210, 145, 179, 0, 168, 137, 145, 88, 85, 71, 5, 235, 101, 133, 255, 225, 4, 0 ]
=> 5, 161, 218
is 5a1da
and it's unencrypted
It's sumokoin, not monero, but I think it works the same way, so the payment_id is public in both cryptocurrencies.
So should the payment_id be encrypted or not?