Pascal Berrang

Results 8 comments of Pascal Berrang

The BLS12-381 implementation of the pairing library already allows for short signatures (of the same size as the x-coordinate only) by using [G1Compressed](https://docs.rs/pairing/0.14.2/pairing/bls12_381/struct.G1Compressed.html). It takes advantage of unused bits to...

That sounds like a good idea to me. > * Even after fixing the above, there's still the issue that we only select the larger radix after exhausting all powers...

> #### Questions: > * Is it a bug or is the serialization format different in zexe? If it's different, is it documented somewhere? Maybe, to quickly answer this part...

Can you confirm that it only happens with Windows 10 after update 1803 using WSL?

Apparently, Microsoft has broken cache coherency between read/write and mmap operations in its recent update. Later today, I will release a temporary workaround that you can use when compiling Nimiq...

Please try using the code published on the branch [paberr/wsl-workaround](https://github.com/nimiq-network/core/tree/paberr/wsl-workaround). Tell me if further issues exist.

Note that using levelDB instead can only be a temporary workaround, as it might result in "This method does not work reliably using LevelDB" errors when trying to retrieve transactions.

Moreover, the change in the `Blake2sWithParameterBlock` struct removed the possibility to run the [Blake2X](https://www.blake2.net/blake2x.pdf) algorithm for an extensible-output function. To be fair, it seems that the `blake2` crate doesn't support...