Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename 'tx.age' #197

Open
mr-zwets opened this issue Jun 20, 2024 · 0 comments
Open

rename 'tx.age' #197

mr-zwets opened this issue Jun 20, 2024 · 0 comments
Labels
cashc-compiler Relates to the cashc compiler
Milestone

Comments

@mr-zwets
Copy link
Member

mr-zwets commented Jun 20, 2024

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.inputAge or simply this.age.

@mr-zwets mr-zwets added the cashc-compiler Relates to the cashc compiler label Oct 14, 2024
@mr-zwets mr-zwets added this to the v0.11 milestone Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cashc-compiler Relates to the cashc compiler
Projects
None yet
Development

No branches or pull requests

1 participant