mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-01-03 22:13:06 +00:00
Closes: #2. Libp2p supports multiple cryptographic curves, however we have currently only implented support for secp256k1. This needs to be run with the compiler flag `libp2p_pki_schemes` set to `secp256k1`. If running the tests, this can be run like so: `nimble test —libp2p_pki_schemes=secp256k1` to put secp as the first supported crypto scheme.
1 line
48 B
Nim
1 line
48 B
Nim
switch("define", "libp2p_pki_schemes=secp256k1") |