-
Right now our we use the "pubkey hash" as the identity in [RFC005](https://github.com/comit-network/RFCs/blob/master/RFC-005-SWAP-Basic-Bitcoin.md). This is the wrong choice for two reasons:
1. Thi…
-
Crash location:
https://github.com/apoelstra/rust-miniscript/blob/2aee5708e3e4f29a4d41301adc998d6b95fc4c76/src/policy/compiler.rs#L449-L452
When compiling `thresh(2,after(0),pk(),pk())`:
```
…
-
需要一定的可编程化。先探探路。主要先查阅BTC,以太坊,substrate等智能合约或脚本机制的方案和资料,有一定理解以后再考虑与现有模板机制结合。
-
If you run the simple miniscript.exe in REPL and write: 0.1, the console output will show you 1 as value.
This is an inconsistent result due to the cultureinfo.
I fixed it putting:
```csharp
do…
-
Compiling invalid policy `and(pk())` causes assertion failure:
```
thread 'main' panicked at 'assertion failed: `(left == right)`
```
Crash location:
https://github.com/apoelstra/rust-minis…
-
Compiling invalid policy `thresh(1,thresh)` causes `index out of bounds: the len is 0 but the index is 0`.
Crash location:
https://github.com/apoelstra/rust-miniscript/blob/2aee5708e3e4f29a4d413…
-
Compiling invalid policy `thresh(2,pk(),thresh(0))` causes `index out of bounds: the len is 0 but the index is 0`.
Crash location:
https://github.com/apoelstra/rust-miniscript/blob/2aee5708e3e4f…
-
Command-line MiniScript, written in C++ and defined by main.cpp in this repo, currently works great on Mac and Linux. We need to get it working on Windows too, including with standard command-line ed…
-
Compiling invalid policy `thresh(2,pk(),thresh(0,pk()))` causes `threshold subs, which we just compiled, typeck: TypeCheck("fragment «thresh(0,jtvc:pk_h())» has a threshold value of 0")`.
Crash loc…
-
Working on #1218 revealed the following:
- We can use miniscript to model our HTLC and create spending transactions for it. This is implemented in a PoC here: https://github.com/comit-network/comit…