tevador proposed: 1) switch to monotonic timestamps from v17; 2) switch DAA to ASERT or WTEMA from v18 (at least ship the first if the second cannot). Discussion covered historical reasons for non-monotonic timestamps, FTL reduction (2h → 30min), potential temporary forks from clock skew/FTL handling, pool behavior, and economic analyses (Noda et al. 2026) comparing Monero’s DAA to early BCH and favoring ASERT for long-term stability. tevador noted Monero’s current DAA is weak against profit-switching miners (mitigated by high hashrate); ASERT is battle-tested on BCH, WTEMA on Grin. sech1 will review; topic stays on agenda. selsta supports.
tevador: The proposal is: 1) Switch to monotonic timestamps from v17. 2) Switch the DAA to ASERT or WTEMA from v18. If the second one can't be done, we should at least ship the first change.
rucknium: Was there a reason for non-monotonic timestamps? Lost in the minds of the original Cryptonote developers? Was it to be too forgiving to poorly-behaved miners?
tevador: I think the point was so a later block can "correct" an incorrect future timestamp, but this causes more problems that it solves.
selsta: not a researcher but I support this proposal
rucknium: Would be good to get sech1's view on this.
tevador: Pools will simply use max(current_time(), parent.timestamp + 1)
vtnerd: couldn’t the proposed algorithm cause chain splits with that max check? admittedly not full versed on this new proposal
tevador: Do you mean the FTL check? That already exists today.
vtnerd: ftl?
tevador: The proposal just reduces it from 2 hours to 30 minutes, which is more sensible IMO.
tevador: Future time limit
tevador: How much a block's timestamp can be in the future
vtnerd: ah I somehow missed. that
vtnerd: yes thats what was I referencing
vtnerd: the risk is primarily just someone not running ntp for the most part
rucknium: I have a question about FTL. Say I get a block that has a timestamp just beyond the FTL. I reject it. A few minutes later with no one finding a block in the meantime, the block becomes valid. What happens?
tevador: I think current monerod rejects it, but the correct behavior is to wait until the block becomes valid.
ofrnxmr: So some nodes could accept it?
rucknium: Couldn't current behavior cause a chainsplit if an adversary timed block propagation just right?
ofrnxmr: My clock at 1701 and ruckniuns at 1658, block tinestamp is 1729
rucknium: Especially if the block wsa deliberately slow to propagate, e.g. had a lot of non-txpool txs in it
rucknium: was*
tevador: Yes, that can happen. Each node uses its local clock. 30 minute FTL means we accepts nodes with local time up to 15 minutes off
ofrnxmr: If waiting for block to become valid, it would become an alt block and then higher diff chain wins, which sounds correct. But if ruckniun rejects the block, that sounds like a chainsplit?
rucknium: IIRC the rejected alt chains cache was removed by jeffro256:monero.social , so that helps.
ofrnxmr: s/would/could
tevador: not really a split, just a temporary fork
rucknium: It could be a good idea to test this behavior in a simulation to make sure there isn't a hidden problem.
rucknium: gingeropolous:monero.social: ^
tevador: In any case, this is mostly unrelated to the proposal.
rucknium: I've begun working my way through economic analyses of DAAs, starting with Noda, S., Okumura, K., & Hashimoto, Y. (2026). An Economic Analysis of Difficulty Adjustment Algorithms in Proof‐of‐Work Blockchain Systems (
https://moneroresearch.info/316)
tevador: The proposal does not change the behavior, only the FTL value.
rucknium: They say that Monero's DAA is close to the DAA of Bitcoin Cash between 2017 and when BCH implemented ASERT, with a few differences.
rucknium: The model is restrictive. They assume that miners are "small", i.e. no miners with a large percentage of hashpower that could individually influence the DAA adjustment.
rucknium: They say that ASERT is better than DAA-2 (the Monero/early BCH DAA), in long-term stability terms.
tevador: Yes, Monero's DAA is not very good, hence the proposal. It's very bad against profit switching miners. Monero is less affected because of the network high hashrate.
rucknium: At the moment I would lean towards ASERT instead of WMETA because ASERT has been battle-tested on mainnet in BCH for years.
rucknium: But I will look into it more.
tevador: WTEMA has been battle tested on Grin since 2021
tevador: Or maybe just tested. Not sure about the battle part. It's on mainnet anyways.
rucknium: Is Grin the main coin for its hash algorithm?
sech1: I will take a look at the diff adjustment algorithm proposal. Right now I can't say anything, I haven't seen it before
rucknium: Thanks, sech1
tevador: rucknium: probably yes
selsta: jeffro256: sent you an LLM review 10916, one of the findings is marked high and definitely needs to be fixed
rucknium: More on this topic? It will stay on the agenda for next week definitely.
View quoted note →