bitpay / bitcore

A full stack for bitcoin and blockchain-based applications
https://bitcore.io/
MIT License
4.85k stars 2.09k forks source link

[Insight] Handle expired txs; Parse output scripts #3682

Closed kajoseph closed 8 months ago

kajoseph commented 8 months ago

This PR does 3 things:

  1. Handles expired txs. Example tx: BTC testnet bcf7993cce13f4cd0319e0acd90e520b0c77ee87a3d01738c5c202d313ad0c98 (see screenshot)
  2. Parses scripts for the outputs, including OP_RETURNs (examples of OP_RETURNs: ed2419565502556b5bcdf367a9e6db40eb6cdf1ae1402368acfbe433bc4b86c4, 09e0f34d56855f3318703a80bd6f4011afc0ef3b16904c08b20827aaed28b021)
  3. Shows the outputs as spent when spent by unconfirmed txs

image