Skip to content

Mineable assets (G-PoW accrual model) - #1292

Open
Tylerlhess wants to merge 2 commits into
RavenProject:developfrom
Tylerlhess:feature/mineable-assets
Open

Mineable assets (G-PoW accrual model)#1292
Tylerlhess wants to merge 2 commits into
RavenProject:developfrom
Tylerlhess:feature/mineable-assets

Conversation

@Tylerlhess

Copy link
Copy Markdown

Summary

  • Adds mineable assets (&NAME) with block-accrual schedules, coinbase claims, and BIP9 mineable_assets deployment (version bit 12).
  • Adds additive reissuemineable (RVNE): extend total quantity and optionally tighten nth_block with pay-as-you-go recost rules; hard cap via nMaxTotalQty; owner-token gated.
  • Adds unit and chain regression coverage: dedicated mineable_* stress suite plus asset_regression_* matrix across standard, restricted, and mineable transaction types.

Design notes

  • Script tags: RVNM (issue mineable), RVNE (reissue mineable).
  • Accrual bucket: matured_periods - claimed_periods; claims may lag maturity.
  • Incompatible nth_block changes require reset to nth=1 with recost = remaining_periods × (old_nth - 1) × 1 RVN.
  • RIP draft: doc/rip-mineable-assets.md.

Test plan

  • ./src/test/test_raven --run_test=mineable_*
  • ./src/test/test_raven --run_test=asset_regression_*
  • Regtest activation of BIP9 mineable_assets bit
  • Manual RPC: issuemineable, reissuemineable, mine + claim flow

Made with Cursor

@corviato1

corviato1 commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Is the goal of this pull requst to add an asset type that will mint, or otherwise send assets to the winning block address?

I'm trying to understand what is the reason for doing this as an L1 vs an L2.

@Tylerlhess

Copy link
Copy Markdown
Author

This is based off a proposal many years old that would eliminate the development and pow needed to create a crypto token. You would be able to get the blockchain without running the blockchain. This would allow truly mineable meme coins without the smart contract risks and in a fairly distributed manor as they are part of the block reward. Yes you could do this as a layer 2 but then that becomes an additional failure point just like a smart contract is. Running it in layer 1 is possible and offers a unique asset class that isn't available in other chains mainly a clean and defined path to use the chain to do a fair launch of a coin with an optional dev distribution say for a charitable cause like meowcoin had done.

Tylerlhess and others added 2 commits September 1, 2026 14:53
Introduce issuemineable and additive reissuemineable schedules, coinbase
claims, BIP9 activation, and stress/regression coverage across all asset
transaction types including restricted operations.

Co-authored-by: Cursor <cursoragent@cursor.com>
Add Boost 1.71 glibc patch for depends, teach Solver about mineable
script types, scan all vouts for RVNM/RVNE payloads, fix nth=1 recost
math, and enable transfer-script-size in test helpers. Stress run still
has open failures on chain E2E and coinbase negative cases.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Tylerlhess
Tylerlhess changed the base branch from master to develop September 1, 2026 14:54
@Tylerlhess
Tylerlhess force-pushed the feature/mineable-assets branch from d41bfde to ad394b3 Compare September 1, 2026 14:55
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