Bitcoin Cryptocurrency Mastering Development

Could it be possible to secure transactions against double-spending with other utxos?

I’m new to Bitcoin Script, and I was wondering if it is possible to use funds from one utxo to “insure” that other utxo will not be double-spent (until the Lightning Network will save us all). Suppose I have 0.1 bitcoin in a utxo with pubkey pubKey1, and 10 bitcoins that I would send to […]