mirror of
https://github.com/kaspanet/kaspad.git
synced 2026-02-18 09:43:47 +00:00
IsUnspendable takes a public key script and returns whether it is spendable. Additionally, hook this into the mempool isDust function, since unspendable outputs can't be spent. This mimics Bitcoin Core commit 0aad1f13b2430165062bf9436036c1222a8724da
13 KiB
13 KiB