serai-dex / serai

Other
242 stars 45 forks source link

Bitcoin keys are reported on-chain as compressed points #550

Open kayabaNerve opened 2 months ago

kayabaNerve commented 2 months ago

Since Bitcoin only allows a single sign for their points, we should only report the x-coordinates.

kayabaNerve commented 2 months ago

This is also needed for Ethereum and a DoS. If any validators turn malicious and oraclize an invalid key, the processor will error as it assumes all generated keys are valid (though here, it'd be generated by an invalid set).

It's a self-DoS without benefit. It's still a DoS.