CashScript / cashscript

⚖️ Easily write and interact with Bitcoin Cash smart contracts
https://cashscript.org
MIT License
111 stars 77 forks source link

rename 'tx.age' #197

Open mr-zwets opened 2 weeks ago

mr-zwets commented 2 weeks ago

tx.age uses the nSequence field of the current UTXO, that's why I suggest changing tx. to something that signals that its a UTXO property.

https://github.com/bitcoin/bips/blob/master/bip-0112.mediawiki

Alternative names are this.activeInputAge, this.age or this.sequence.