raiden-contracts icon indicating copy to clipboard operation
raiden-contracts copied to clipboard

Make balance_hash less predictable

Open pirapira opened this issue 5 years ago • 1 comments

balance_hash's are meant to hide concrete transferred amounts from MonitoringServices, but in the current form, they have not enough entropy so that an observer can easily recover the contents of balance hashes from monitoring requests.

This issue keeps track of adding a salt to balance_hash.

pirapira avatar Jul 12 '19 09:07 pirapira

A native implementation causes

data/source/raiden/TokenNetwork.sol:735:9: Compiler error: Stack too deep, try removing local variables.

pirapira avatar Jul 12 '19 15:07 pirapira