Skip to content

Commit eb10eb2

Browse files
committed
doc/compiler.md:fix taproot_compiler.pdf link
1 parent a280447 commit eb10eb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/compiler.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ to re-arrange the policy tree to produce a even more efficient Miniscript. When
3232
It is possible that higher weight, but lower opcode exists sub-compilation might be best compilation, because the smaller weight sub-policy compilation that we chose exceeds the op-code count. There is also a similar issue with initial stack element count. The compiler does not try to optimize for these cases. If the final compiler output is not a valid Miniscript, it will simply fail and not try sub-optimal compilation that could fit inside these resource limits.
3333

3434
These problems are addressed to a large extent with taproot descriptors as the resource limitations are either really large or completely removed.
35-
This library also supports a taproot descriptor compiler. The details of taproot compiler are can be found in the [taproot compiler document](doc/taproot_compiler.md).
35+
This library also supports a taproot descriptor compiler. The details of taproot compiler are can be found in the [taproot compiler document](./taproot_compiler.pdf).
3636

3737
### Non-determinism and stability guarantees of compiler
3838

3939
The compiler outputs are not stable. They can change from version to version, machine to machine or even execution to execution on the same machine. The rust and C++ versions can produce different outputs even if the policy is the same. There could also be other implementations of compiler optimizing for different resource limits.
40-
However, the compiler will **always** output a valid Miniscript which might not be the same as some previous execution. As a simple example, `and_b(A,B)` could become `and_b(B,A)`. Therefore, it is **not recommended** to use policy as a stable identifier for a Miniscript. You should use the policy compiler once, and then use the Miniscript output as a stable identifier.
40+
However, the compiler will **always** output a valid Miniscript which might not be the same as some previous execution. As a simple example, `and_b(A,B)` could become `and_b(B,A)`. Therefore, it is **not recommended** to use policy as a stable identifier for a Miniscript. You should use the policy compiler once, and then use the Miniscript output as a stable identifier.
File renamed without changes.

0 commit comments

Comments
 (0)