-
selsta
.merges
-
xmr-pr
7342 7616 7823 7828 7855 7858 7875 7880 7883 7884 7898 7899
-
luigi1111
Wednesday
-
selsta
k
-
mx7[m]
Hello. Have a question about RandomX. Why isn't the key change every block, say using previous block hash or some other data from previous block? RandomX doc says "the key should change every 2048 blocks (~2.8 days) and there should be a delay of 64 blocks (~2 hours) between the key block and the change of the key K. This can be achieved by changing the key when blockHeight % 2048 == 64 and selecting key block such that keyBlockHeight % 2048
-
mx7[m]
== 0" but there is no detail of any security assumptions and why 2048 and a delay of 64 blocks is ideal. Maybe there was a discussion about this somewhere?
-
selsta
mx7[m]: did you consider reorgs? there is unlikely a 64 block deep reorg
-
selsta
but I don't know, hyc or sech1 can explain
-
mx7[m]
Ok thx, pinging hyc and sech1 ^
-
ErCiccione
are
monero-project/monero #6810 and
monero-project/monero #7412 only in master or also in the latest release?
-
selsta
I think only master
-
ErCiccione
ok
-
ErCiccione
a clarification on
monero-project/monero #7789. Is the ledger minimum version 1.7.6 now (changed from 1.6.0)? We say min firmware version for ledger nano s is 1.6.1 on getmonero
-
selsta
firmware version is not the same as app version
-
ErCiccione
yeah, got confused because they were almost the same version. thanks selsta
-
selsta
.merge+ 7773
-
xmr-pr
Added
-
selsta
.merge+ 7906
-
xmr-pr
...
-
mj-xmr[m]
I'm running local tests of the random mining test crash since yesterday. It occurred in about 10% of cases on two series of tests. Similarly on Github. I applied the PR 7867 and still no crashes after 30 tries. Therefore I'd ask for a reviewer for this PR, if you're looking for something that stabilizes the CI:
-
mj-xmr[m]
-
mj-xmr[m]
And for the release branch:
-
mj-xmr[m]
-
mj-xmr[m]
Other UB branches of mine have not much more complexity than these two and could save a lot of irritation for the Users.
-
mj-xmr[m]
Here's a filter for the UB branches:
-
mj-xmr[m]
-
wfaressuissia
Can you speed up reproduction of failure to few minutes at least ? I want to check under debugger what is going on there
-
mj-xmr[m]
-
mj-xmr[m]
-
mj-xmr[m]
wfaressuissia[m]: this should get you going.
-
mj-xmr[m]
2 minutes on my machine.
-
sech1
mj-xmr you could just call WalletImpl::pauseRefresh(); instead of renaming methods
-
sech1
"pauseRefresh();" -> "WalletImpl::pauseRefresh();"
-
sech1
then 7867 would be one-liner
-
mj-xmr[m]
hmmm this makes sense.
-
wfaressuissia
20 minutes gone, not reproduced with debug build
-
mj-xmr[m]
It's called Undefined Behavior for a reason.
-
wfaressuissia
"Can you speed up reproduction of failure to few minutes at least ? ..." thanks for suggestion, but it doesn't allow to reproduce it within few minutes
-
mj-xmr[m]
I'm not sure if you read correctly - I said it occurs in 10% of cases.
-
mj-xmr[m]
and not necessarily in Debug mode.
-
wfaressuissia
36 runs with release build and no error
-
mj-xmr[m]
cmake -S . -B build -D ARCH="default" -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release
-
mj-xmr[m]
This is what the CI uses, where the bug reoccurs.
-
wfaressuissia
bad that there is no docker with equivalent environment to github actions
-
wfaressuissia
I'm recompiling with gcc now, previous try was with clang
-
wfaressuissia
not reliable reproduction, not even 10% :(
-
plowsof[m]
If any of you would like to have a 'wishlist' on your freely hosted github page (think 'your own ccs') take a look at this. Hopefully its of use to some here
github.com/plowsof/xmr-wishlist-aaS/blob/main/README.md
-
plowsof[m]
s/If any of you would like to have a 'wishlist' on your freely hosted github page (think 'your own ccs') take a look at this. Hopefully its of use to some here
github.com/plowsof/xmr-wishlist-aaS/blob/main/README.md/If any of you would like to have a 'wishlist' on your freely hosted github page (think 'your own ccs') take a look at this. Hopefully its of use to some here
github.com/plowsof/xmr-wishlist-aaS
-
wfaressuissia
gcc build, 65 runs, no error
-
mj-xmr[m]
<wfaressuissia[m]> "not reliable reproduction, not..." <- Damn computers.
-
wfaressuissia
It's expected that all those UB patches are at most protection against further changes of code. Without reproduction stop_mining() failure I can't event test this claim " applied the PR 7867 and still no crashes after 30 tries. ...".
-
wfaressuissia
"
eel.is/c++draft/class.cdtor#4" it's good example of problems with virtual methods in constructor, but in our case there is no such complex hierarchy.
-
wfaressuissia
if there is any good test to see problems in reality without those UB patches, then let me now.
-
wfaressuissia
98 runs, no error
-
wfaressuissia
I'm going to stop now.
-
mj-xmr[m]
<wfaressuissia[m]> "if there is any good test to see..." <- It seems, that your machine is a poor way of reproducing what happens on Github CI, unlike mine. We typically run our forks' master periodically on GH to reproduce GH problems.
-
wfaressuissia
Can you wrap it into docker ?
-
wfaressuissia
I know you can, please, do :)
-
mj-xmr[m]
Maybe later.
-
wfaressuissia
wrap, check locally that it reproduces the error and share dockerfile
-
wfaressuissia
Also problem with virtual methods should appear deterministically. But in this case it isn't true, so we need real source of problem there.
-
sgp_[m]
What is the status of the next upgrade timeline? It seems we have circled a late November release, but afaik, nothing has been committed to
-
sgp_[m]
I'm also not really sure how to go about moving forward on this
-
luigi1111
changes are not too exciting so that kinda fuels lethargy in proceeding
-
karce[m]
Any Monero projects out there that need a Rust/Python developer? Don't know C++, or really have any interest in re-learning it, but wanted to offer just in case there were some Monero/Rust related projects that want some love.
-
nikg83[m]
<karce[m]> "Any Monero projects out there..." <- Maybe check at #monero-rs on libera.chat
-
selsta
karce[m]: #monero-swap is all rust
-
luigi1111
that said we could branch next week if we want
-
UkoeHB
Is the fee PR being postponed?
-
selsta
no
-
selsta
UkoeHB: or why do you ask?
-
UkoeHB
> that said we could branch next week if we want
-
UkoeHB
The PR doesn't seem to be 1 week away.
-
selsta
BP+ also has to bereviewed
-
selsta
so yea, 1 week won't happen
-
Rucknium[m]
<sgp_[m]> "What is the status of the next..." <- I think jberman and I would be able to produce a more thoroughly-vetted medium-term overhaul of the mixin selection algorithm if a hardfork was later than late November. The medium-term solution doesn't necessarily have to be included in the hardfork, though, since it is not a consensus item. Including it with the hardfork would help ensure transaction uniformity, though.
-
sgp_[m]
Rucknium[m]: this is probably best to punt imo
-
sgp_[m]
just because who knows what will happen there
-
Rucknium[m]
"This" meaning mixin selection algorithm?
-
sgp_[m]
we need reviews of both BP+ and the fee implementation? I thought BP+ was reviewed already
-
sgp_[m]
yeah punt the algo change
-
sgp_[m]
punt, bump, idk what people use. but to not include as a blocker for this upgrade
-
Rucknium[m]
sgp_: I think punting would be OK. It may be good to wait a week or so to make a final GO/NO GO call on it, after luigi1111 and moneromoooo review some work of myself and jberman.
-
luigi1111
ok so we'll branch next week
-
luigi1111
(jk)
-
sgp_
pls tho ;p
-
zkao
karce[m]: the btc-xmr atomic swap project is in rust:
github.com/farcaster-project we hang out at #monero-swap
-
karce[m]
Ok thanks zkao I'll come over there where the cool kids hang out.
-
Rishab[m]
<karce[m]> "Any Monero projects out there..." <- We have a xmr-btc atomic swap project in rust :) There is also bitcoin and libp2p involved. We are currently overloaded with user created issues and feature requests:
github.com/comit-network/xmr-btc-swap/issues and doing our best to address them.