spacemeshos / research

Spacemesh research tasks tracking issues
2 stars 0 forks source link

Switch to 16 bytes account format #28

Open avive opened 4 years ago

avive commented 4 years ago

Move from 20 bytes pub key suffix to 16 bytes? As discussed in the research summit.

lrettig commented 4 years ago

Is the idea that we still generate the pub/priv key the same way, and still hash the pubkey, but just truncate it even further?

avive commented 4 years ago

yes

barakshani commented 4 years ago

20 bytes makes (expected) random collisions (in the wallet addresses) after 2^80 addresses generated. With 16 bytes collisions happen after 2^64 addresses generated. I wouldn't recommend it.