diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2e0b906ff2..40401e8a72 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -69,7 +69,7 @@ In addition, libsecp256k1 tries to maintain the following coding conventions: ``` * Use `unsigned int` instead of just `unsigned`. * Use `void *ptr` instead of `void* ptr`. -* Arguments of the publicly-facing API must have a specific order defined in [include/secp256k1.h](include/secp256k1.h). +* Arguments of the publicly-facing API must have a specific order defined in [include/secp256k1.h](src/secp256k1/include/secp256k1.h). * User-facing comment lines in headers should be limited to 80 chars if possible. * All identifiers in file scope should start with `secp256k1_`. * Avoid trailing whitespace. @@ -100,7 +100,7 @@ To create a HTML report with coloured and annotated source code: #### Exhaustive tests There are tests of several functions in which a small group replaces secp256k1. -These tests are *exhaustive* since they provide all elements and scalars of the small group as input arguments (see [src/tests_exhaustive.c](src/tests_exhaustive.c)). +These tests are *exhaustive* since they provide all elements and scalars of the small group as input arguments (see [src/tests_exhaustive.c](src/secp256k1/src/tests_exhaustive.c)). ### Benchmarks diff --git a/README.md b/README.md index 1e3d003ae1..5c80524768 100644 --- a/README.md +++ b/README.md @@ -178,10 +178,10 @@ In "Developer Command Prompt for VS 2022": Usage examples ----------- -Usage examples can be found in the [examples](examples) directory. To compile them you need to configure with `--enable-examples`. - * [ECDSA example](examples/ecdsa.c) - * [Schnorr signatures example](examples/schnorr.c) - * [Deriving a shared secret (ECDH) example](examples/ecdh.c) +Usage examples can be found in the [examples](src/secp256k1/examples) directory. To compile them you need to configure with `--enable-examples`. + * [ECDSA example](src/secp256k1/examples/ecdsa.c) + * [Schnorr signatures example](src/secp256k1/examples/schnorr.c) + * [Deriving a shared secret (ECDH) example](src/secp256k1/examples/ecdh.c) To compile the Schnorr signature and ECDH examples, you also need to configure with `--enable-module-schnorrsig` and `--enable-module-ecdh`. diff --git a/doc/README.md b/doc/README.md index 9f7c8d7ba7..45a815c310 100644 --- a/doc/README.md +++ b/doc/README.md @@ -70,7 +70,7 @@ The BGL repo's [root README](/README.md) contains relevant information on the de ### Miscellaneous - [Assets Attribution](assets-attribution.md) -- [Assumeutxo design](assumeutxo.md) +- [Assumeutxo design](design/assumeutxo.md) - [BGL.conf Configuration File](BGL-conf.md) - [CJDNS Support](cjdns.md) - [Files](files.md)