-
hi, how to add prototype to function?
```
funcRef.a=function()
>>> print "hello"
>>> end function
> (@print)["a"]
Runtime Error: Key Not Found: 'a' not found in map [line 1]
> (@print).a
Ru…
-
In the following I expected `dateTime.hour(now)` to return `16`, instead I got `17`:
```py
» miniscript
MiniScript
Command-Line (Linux) v1.3; language v1.6.2 (Jul 13 2024)
> import "dateTime"
…
-
### REPL
```py
» miniscript
MiniScript
Command-Line (Linux) v1.3; language v1.6.2 (Jul 15 2024)
> // # This is fine:
> sqrt(2)
1.414214
> 1.2345
1.2345
> _dateStr 77777777777777777
-1830…
-
The planning module has been added to `rust-miniscript` so this crate is no longer needed.
https://docs.rs/miniscript/latest/miniscript/plan/index.html
-
In cmd:
```
> _dateStr 1e20
PS C:\Users\13390> // MiniScript aborts
```
In MM:
```
]_dateStr 1e14 // null
]_dateStr 1e15
7909-01-14 12:55:42 // wrong date
]_dateStr 1e16
2634-12-20 03:40…
-
We got a crash on `miniscript_string` target due to validation of numbers. For `older()`, `after()`, `thresh()` and maybe other fragments, Bitcoin Core accept the usage of the `+` sign, e.g. (`l:older…
-
While parsing descriptor which uses `SortedMulti` function as shown ->
``` rust
let a=Descriptor::::parse_descriptor(&secp, "sortedmulti(2,03acd484e2f0c7f65309ad178a9f559abde09796974c57e714c…
-
Sorry if it's a dumb question, as far as I understand there is a recursion depth limit on `from_slice_delim` to avoid running out of stack space (based on https://github.com/sipa/miniscript/pull/5) wh…
-
When using the complex miniscript policy below, it yields the following type error.
> TypeError: expecting bool or Boolean, not `(2, [pk.dave, pk.eve, pk.frank])`.
Snippet which raises the error…
-
`or_d(dv:0,0)` is sane for Bitcoin Core (`IsSane()` returns true) but fails for rust-miniscript due to "fragment «or_d(dv:0,0)» requires its left child be a unit (outputs exactly 1 given a satisfying …