Y
Hacker News
new
|
ask
|
show
|
jobs
by
sparkie
18 days ago
Bitcoin has a variable width encoding (`CompactSize`), but it doesn't prevent overlong encodings - however there are various canonicalization rules in the Bitcoin protocol to require minimal encoding.