-
m-relay
<theelevated:matrix.org> How to set up monero as a payment option on a ecom site? Any open source apps to do that? If possible can it also be multi currency for convenience sake
-
m-relay
<endor00:matrix.org> theelevated: the question is better suited for #monero-community-dev:monero.social
-
m-relay
<endor00:matrix.org> (This room is for developing Monero itself)
-
m-relay
<theelevated:matrix.org> Sorry
-
selsta
we will skip v0.18.3.0 and release v0.18.3.1 instead, if someone wants to contribute to reproducible builds please wait for the new tag. current plan is tomorrow if luigi is available.
-
selsta
if someone has already built .0 please run it on your node and wallet, more testers are always good
-
rbrunner
Uh, that max_blocks bug could be my bad ...
-
selsta
rbrunner: not your bug I think
-
sech1
Oh, it looks like Android gitian build fixed itself
-
rbrunner
Hmm, could be that I had to merge in that #8355 improvement during the very long history of my "incremental" PR, and I might have missed that. Whatever :)
-
rbrunner
Shows once again the value of good reviews, and good testing
-
selsta
wait now i'm getting confused if my bug fix is even correct lol will double check
-
rbrunner
Yeah, looks like the number of blocks is at the end? Confused myself now.
-
selsta
will update it
-
rbrunner
I think I remember now. *Two* parameters to that method were added, one boolean by me, and that block number by somebody else.
-
rbrunner
Why would that need setting? It defaults to max, no?
-
rbrunner
See the .h file
-
selsta
the last false is currently setting it to 0, instead of max
-
selsta
that causes issues during refresh
-
rbrunner
That's the signature:
-
rbrunner
void refresh(bool trusted_daemon, uint64_t start_height, uint64_t & blocks_fetched, bool& received_money, bool check_pool = true, bool try_incremental = true, uint64_t max_blocks = std::numeric_limits<uint64_t>::max());
-
rbrunner
-
rbrunner
And `try_incremental` has to go to false, as the comment explains
-
rbrunner
Oh no, it looks like the signature of that `refresh` call is different now between master and release-0.18
-
selsta
yes
-
selsta
that also explains it why this bug wasn't triggered on master until now
-
selsta
it only happens on release due to different signature
-
rbrunner
Ufff
-
selsta
my patch is correct for release branch, but it's more important to fix why they got swapped in the first place
-
rbrunner
Within master alone, I don't think something got swapped. Like I said, 2 new parameters, and I think when merging I opted for the number of blocks at the end
-
rbrunner
No idea yet how that got reversed on the release branch. Maybe me in a bad moment, maybe not ...
-
rbrunner
I claim that on master we don't have a bug.
-
selsta
-
selsta
will double check if something else is also flipped
-
rbrunner
Good idea. I am too tired right now to see fully through, but your new 9011 PR looks like the way to go for me.
-
rbrunner
So this thing shot down a release? Crass.
-
selsta
no, there's a second patch tomorrow
-
rbrunner
Lol
-
selsta
but this would have also been a bad bug
-
selsta
breaking CLI refresh in some cases
-
selsta
or all cases even
-
rbrunner
Sounds strange. Will see tomorrow what you come up with :)
-
rbrunner
I and j-berman tested a great deal on master with that stuff, being aware that it had the potential to break refresh which of course is very important
-
rbrunner
Maybe release did not get the testing it deserved
-
rbrunner
Ah, I think I misunderstand. The patch tomorrow is something else, not refresh *again*, right?
-
selsta
yes
-
selsta
unrelated to refresh
-
rbrunner
Ok. But yeah, this is bad enough.
-
rbrunner
And now we all blame C++ with its lax type rules.
-
rbrunner
I mean, come on, a boolean gets accepted as uint64_t just like that, do I see that right?
-
rbrunner
My "incremental" PR to the release branch doesn't have the number of blocks yet
-
rbrunner
-
rbrunner
Which I find a bit confusing, thinking about it ...
-
rbrunner
Ah bah, I have to put that away now.
-
selsta
-
selsta
I didn't see that they got flipped and approved it
-
rbrunner
So it might have been moneromooo who opted for the other way round as order for the two parameters, and did not adjust the simplewallet line?
-
rbrunner
Which, because of the C++ peculiarities, did not result in a compile error?
-
selsta
I just hope mooo didn't flip it because he something else flipped
-
rbrunner
Don't understand
-
rbrunner
Sarcasm? /s
-
rbrunner
Looking at this wonderful confusion, I wonder what kind of bugs we will have in the final stretch of testing the Seraphis and Jamtis release
-
rbrunner
If we ever get that far, that is :)
-
selsta
everything should be good now with 9011 merged
-
selsta
haven't been this confused in a long time lol
-
rbrunner
Isn't this line in the RPC server still wrong?
-
rbrunner
-
selsta
yes
-
selsta
will do a `grep refresh(` to make sure nothing else is left
-
rbrunner
Spendid idea
-
rbrunner
*Splendid
-
rbrunner
I just hope nobody built something yet on top of this code which then would also have to flip
-
rbrunner
That `refresh` method is public, after all
-
selsta
we only merged it 2 weeks ago to release branch, doubt anyone already integrated it
-
rbrunner
Alright
-
selsta
.merge+ 9011
-
xmr-pr
Added
-
moneromoooo
I reckon it's just a bad merge, I might have mixed up one line. I don't recall flipping parameters on purpose for some particular reason.
-
sech1
Is it the only place where refresh is called?
-
sech1
I mean called with this number of parameters?
-
selsta
once in simplewallet.cpp and once in wallet_rpc_server.cpp
-
selsta
I check with grep both branches now and everything should be correct now
-
sech1
I would temporarily rename that "refresh" to "refresh_blablabla" in all known places, and try to compile. Compilation will really show all places where it was used
-
selsta
will try
-
selsta
there are other places where the refresh function is called but they are setting default value
-
luigi1111w
do we need to release again?