Bitcoin Stack Exchange is a question and answer site for Bitcoin crypto-currency enthusiasts. It only takes a minute to sign up.
Sign up to join this communityAnybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
An example Miniscript is:
and_v(or_c(pk(B),or_c(pk(C),v:older(1000))),pk(A))
(Generated using this Miniscript site).
What would a fragment be here? What should I call the underscore letter (_v
)? And the (v:
)?
What would a fragment be defined as here?
The functions in Miniscript (e.g. and_v
, older(1000)
) are referred to as fragments.
What should I call the underscore letter (
_v
)?
and_v
is the fragment and the _v
part of it is the suffix.
And the (
v:
)?
The v:
in v:older(1000)
is a wrapper.
Some additional definitions may be of interest.
We use the term valid for any correctly typed Miniscript. And we use the term safe for any sane Miniscript, ie one whose satisfaction isn't malleable, which requires a key for any spending path, etc.
Thanks to individuals for answering this on IRC.
You can get bonuses upto $100 FREE BONUS when you:
π° Install these recommended apps:
π² SocialGood - 100% Crypto Back on Everyday Shopping
π² xPortal - The DeFi For The Next Billion
π² CryptoTab Browser - Lightweight, fast, and ready to mine!
π° Register on these recommended exchanges:
π‘ Binanceπ‘ Bitfinexπ‘ Bitmartπ‘ Bittrexπ‘ Bitget
π‘ CoinExπ‘ Crypto.comπ‘ Gate.ioπ‘ Huobiπ‘ Kucoin.
Comments