gottstech / gotts

A blockchain for non-collateralized stable-coins, follow MimbleWimble protocol but with explicit amount.
https://gotts.tech
Apache License 2.0
49 stars 4 forks source link

Remove the transaction offset which has no value in Gotts #7

Closed garyyu closed 5 years ago

garyyu commented 5 years ago

The offset is used to solve the subset-sum problem in MimbleWimble.

But in Gotts, since we use public value, it's always possible to find out the original transaction graph (i.e. relationships between Inputs and Outputs) by the public values. The objective of Gotts is NOT a pure privacy coin anymore, the public value definitely has the consequence of a public transaction graph.

So, let's remove this offset, to save 32 bytes for transaction data. Also, the total offset in block header will be removed later.