0xmichalis / chiapos

🍃 Chia's initial Proof of Space implementation
Other
26 stars 9 forks source link

Batch x encryption #4

Closed 0xmichalis closed 4 years ago

0xmichalis commented 4 years ago

Currently all xs are encrypted one by one but they can be batched in a single AES block to speed up the generation of the first table. Already documented in https://www.chia.net/assets/proof_of_space.pdf.

The verification code should also be updated to account for this change.

0xmichalis commented 4 years ago

Fixed by https://github.com/kargakis/proofofspace/commit/d4e29e4a5356e6993a889d47cf263e50b519faeb