Skip to content

Conversation

@Arvolear
Copy link

@Arvolear Arvolear commented Dec 24, 2025

Removed MAX_MONEY restriction as it is only useful for Bitcoin. As discussed with Andrew, rest-elements should be chain-agnostic, so no need for this check to exist.

I believe this restriction may also be relaxed in the elements repository for alternative assets. By doing so, it would allow more useful information to be stored on-chain (up to 12 more bits per UTXO!).

@Arvolear Arvolear changed the title Lifted MAX_MONEY to i64::MAX Removed MAX_MONEY Dec 25, 2025
@apoelstra
Copy link
Member

Please remove e8cff54 from this PR.

@apoelstra
Copy link
Member

I believe this restriction may also be relaxed in the elements repository for alternative assets.

This would be a hardforking change. See ElementsProject/ELIPs#31 for a first step toward correcting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants