-
jberman[m]
<reeemuru[m]> "jberman: sure no prob. will..." <- this is the most interesting one:
mymonero/mymonero-core-cpp #36
-
jberman[m]
this one is less interesting, just outdated code that doesn't match wallet2:
mymonero/mymonero-core-cpp #35
-
reeemuru[m]
<jberman[m]> "this is the most interesting one..." <- Interesting indeed. I have some old k-means models code in R. I will try repurpose / running on some transactions and see if I can provide any useful info.
-
reeemuru[m]
Haven't really dug into monero tx structure but looking forward to try and break stuff.
-
endogenic
on the topic of rpc vs lws, the rpc system is a functional subset of the lws API afaik
-
endogenic
meaning an rpc server can be implemented as backed by a lws scanner
-
endogenic
which, shortly before i decided i had to leave mymonero, i implemented here, mostly as something that would be very easily marketable to exchanges who're already coding to the RPC api
-
endogenic
-
endogenic
what i dont like about the rpc server as i recall is that it holds a wallet open - suppose some code forgets to match an open call with a close call or say the consumer crashes and can't close the wallet,.. that'd be somewhat bad
-
endogenic
of course there are ways to resolve that. you could put some sort of challenge token on each call
-
endogenic
i've developed a more privacy preserving authentication system for my own systems that i'll be sharing hopefully soon, probably not a bad time to mention it here, which is pretty straightforward.. it's just an interactive process where a server gives a client an ephemeral, fairly random token that the client must sign with its spend key
-
hyc
yeah current wallet-rpc is pretty braindead
-
hyc
the problem is using http-based RPC in the first place, since HTTP is inherently a stateless protocol
-
endogenic
i notice that mymonero says the system was never implemented but i suspect it's being sold
-
hyc
it should use an inherently stateful session-oriented protocol
-
endogenic
yeah i hear you hyc
-
hyc
a wallet client should open a connection and use it for the duration, then when the connection closes all of that session is disposed of
-
endogenic
overall the lws API itself can take some significant improvements which we also designed way back when but somehow they never got rolled out
-
endogenic
including a websocket API which has implicit sessions
-
endogenic
the websocket client is shown in that repo linked above
-
endogenic
so, i'm definitely going to be bringing that back
-
endogenic
when the time comes..
-
endogenic
reeemuru[m]: i'm curious about what you're working on and would be interested to see if it would be beneficial for us to collaborate
-
hyc
I guess there's no reason we can't write a brand new rpc system from the ground up. it's not like wallet-rpc itself is widely used
-
endogenic
yeah lots of this stuff just needs a ground up overhaul
-
hyc
and again I'd model it after LDAP protocol - an explicit login op to start a session, one session per connection, one connection per session
-
endogenic
my C++ developer team mate who's going to be introducing a CCS proposal for some wallet2 pure function factors with me got covid so we're slightly delayed on that
-
endogenic
but i think the factoring would be a big help in the direction of just overhauling all this stuff
-
endogenic
there's no reason e.g. monero-lws should be implementing its own scanning code afaik
-
hyc
indeed
-
endogenic
nor any reason, as Justin is seeing, for the lws client to implement its own tx creation entrypoints
-
endogenic
all that serialization and data structures can be shared
-
hyc
yeah that's prime code-reuse stuff there
-
reeemuru[m]
<endogenic> "reeemuru: i'm curious about what..." <- endogenic: i'm spending most of my time [here](
github.com/hyahatiph-labs/infosec) and monero codebase. trying to learn as much as i can
-
endogenic
looks cool
-
endogenic
overlaps with my work somewhat
-
endogenic
hah those are cool
-
endogenic
oops mistell
-
reeemuru[m]
for the rpc would it possible to have the request wrapped in an asynchronous thread which also wraps `open_wallet` and `close_wallet` around every `method`. (Would need to send username and password on each request?) Maybe use a new field in the json request context to extend the existing logic for these new requests. As far as syncing clients could call `refresh` at a threshold of blocks behind in background task or scheduler.
-
reeemuru[m]
Just tossing ideas out.
-
reeemuru[m]
I still need to look through the rpc code though
-
hyc
that would really suck since the entire wallet cache needs to be decrypted on each open
-
hyc
in the past we've discussed perf problems for monero wallets at busy exchanges
-
hyc
their wallet caches are huge
-
hyc
the biggest improvement in that case would be rewriting the wallet code to store state incrementally in LMDB, instead of slurping it all up at open time and writing it all out at save/close time
-
hyc
I finished implementing the DB encryption hooks in LMDB, for the wallet to use. but nobody has taken up the task of rewriting the wallet to use LMDB
-
rbrunner
hyc, about this statement of yours some hours ago: "I guess there's no reason we can't write a brand new rpc system from the ground up. it's not like wallet-rpc itself is widely used"
-
rbrunner
This assessment surprises me a little. I would have guessed that by now the RPC interface is "entrechend" in tons of places
-
rbrunner
Mostly where anything has to run in an automated way, means most exchanges
-
rbrunner
Or for most if not all those shopping system plugins
-
hyc
I suppose. but as I already mentioned, the existing wallet code sucks for exchanges
-
hyc
it needs an overhaul anyway
-
rbrunner
... and not to speak about my personal favorite subject right now, the coming of Seraphis, which again needs plenty of overhauls as it seems
-
rbrunner
I see scenarious to arrive at a Seraphis wallet that don't look crazy or dumb already at first glance that would lead to moving wallet2 out of the way and start afresh on a green field
-
endogenic
wallet2_and_a_half?
-
endogenic
jberman[m]: ^
-
endogenic
shout out
-
rbrunner
Well, we need at least wallet4, because there is already wallet3: tewinget is very busy with a full wallet rewrite over at Oxen
-
rbrunner
-
rbrunner
With a wallet cache as a Sqlite database. Take that, hyc :)
-
endogenic
i think by that standard we're already on like wallet9 or something lol
-
rbrunner
(thanks to selsta for that link, was interesting to see what they are up to)
-
endogenic
like this?
-
endogenic
-
endogenic
looks pretty good though
-
endogenic
not that i have really looked at it in any detail
-
endogenic
but it makes one wonder why tewinget didn't stick with monero
-
endogenic
hmmmm
-
endogenic
i dont understand proof of stake though
-
rbrunner
" but it makes one wonder why tewinget didn't stick with monero": gras, other side, greener :)
-
endogenic
pretty sure he got quite a lot of dough from his ccs proposal though, in case you didn't know
-
endogenic
i mean ffs proposal
-
rbrunner
Yeah, and why not. If they are doing good work for good currency. Which they do I would guess as they are still active member of the dev team.
-
hyc
tewinget? hasn't been active on monero in ages
-
hyc
and using sqlite for a wallet? blech
-
rbrunner
Yes, that's the point, as far as I know tewinget left Monero for Loki, now Oxen, years ago already and is working there probably on pay
-
rbrunner
Yes, sqlite complete with triggers to cover some consistency requirements :)
-
rbrunner
-
rbrunner
(Not that I recommend that, just for entertainment, as we don't seem to disturb too much research here right now :)
-
endogenic
that's not my point
-
endogenic
(your subsequent reply)
-
endogenic
if he was getting $$ here then why on earth did he have the reaction he did
-
endogenic
makes you wonder
-
endogenic
it's not an isolated incident
-
endogenic
it's sad, anyway
-
endogenic
but PoS tho lol wut
-
nikg83[m]
endogenic: Loki did lot of presale/mine and made good money to fund devs
-
nikg83[m]
Also mindset’s change, so who knows what triggered the move
-
endogenic
i'm sure some people know
-
nikg83[m]
Any idea if dr. Sarang will ever join mrl again ? or Cypherstack?
-
endogenic
yep
-
endogenic
thank you for asking, though
-
nikg83[m]
endogenic: More bright minds the better
-
endogenic
i'm just wondering though, what is it about monero that causes highly devoted people's sentiments to turn bitter or harsh?
-
endogenic
yes that's true
-
nikg83[m]
endogenic: Community driven projects will have different views imho, hopefully individuals researchers/devs look above it
-
endogenic
I dont think that was ever an issue for anyone used to publicly visible and critiqueable work
-
endogenic
something else is going on
-
endogenic
we probably have to start with the assumption that whatever it is, is not fully visible right now
-
endogenic
for example, why would someone feel more safe working on a different project?
-
endogenic
it's not just the money
-
endogenic
in any case, regardless, i think we could do better for our contributors
-
endogenic
i remember people used to debate whether or not to fund the Noethers loil
-
endogenic
lol
-
endogenic
can you imagine? after some of these other CCS proposals are getting easily funded now
-
nikg83[m]
endogenic: Maybe, keeping them anonymous would be better
-
endogenic
there really were people who used to quibble over whether we should fund the Noethers
-
endogenic
if they were even real
-
endogenic
yes nikg83[m] that is one aspect
-
nikg83[m]
endogenic: That was absurd indeed
-
endogenic
but it has downsides
-
endogenic
knowing these people for who they really are we see how absurd it is that we would ever do anything other than rally virtually our entire community around supporting them
-
rbrunner
There are always people. Everywhere. People doing, writing, saying dumb things. Just look at Monero's subreddit. They don't have to be our reference.
-
endogenic
they're not our reference, but i dont understand why you're apologizing for them
-
rbrunner
The world is like it is. Not a apology for anything.
-
endogenic
the world doesnt have to be like it is
-
endogenic
it wasnt always like this here either
-
endogenic
i'm doing what i can but am a bit behind, so i dont have my solutions to show for it yet. guess i should get back to it :)
-
rbrunner
If you have work that gives you pleasure, by all means continue.
-
endogenic
lol
-
endogenic
^ my coping mechanism
-
rbrunner
Yeah, mine as well.
-
midipoet
endogenic: why don't we ask the people that left to come and tell us what we can do to improve.
-
endogenic
we know what we can do
-
endogenic
i've also suggested it
-
endogenic
but it may take a specific person to do it
-
endogenic
so i am working on it
-
midipoet
midipoet: from what i saw the people that left, wanted to leave, but never really openly explained to the community the reason. the only person that was really open about wanting to leave was surae
-
midipoet
maybe i missed the convos, but that is how i saw it.
-
endogenic
well if i have my hand on a hot stove then i would *want* to pull it away
-
endogenic
bad example maybe
-
endogenic
how about something my hand is supposed to actually be on
-
endogenic
but which malfunctions
-
midipoet
endogenic: yeah, that's a great metaphor, but explains jack
-
endogenic
no it's not a great metaphor
-
midipoet
i would rather actually hear it from a person
-
endogenic
oh i'm not a person now lol
-
endogenic
i saw it with my own eyes
-
midipoet
i mean, there are the mediums for this sort of talk
-
endogenic
and i'm telling you what i saw
-
endogenic
you're right
-
midipoet
monerotalk, community talks, reddit threads.
-
endogenic
idk why you pinged me
-
midipoet
they can teach us
-
midipoet
otherwise we are just guessing
-
endogenic
no we're not
-
endogenic
stop lying lol
-
endogenic
lying includes saying what you dont know as if you do
-
midipoet
or listening to your preaching (just as bad)
-
endogenic
i should go
-
midipoet
indeed
-
w[m]
<endogenic> "if they were even real" <- Judging by what happened with the monero telegram channel, I think there are a lot of people getting paid to derail the convo.... (full message at
libera.ems.host/_matrix/media/r0/do…8abff90b42410943b56b48a4836013c4703)
-
endogenic
right?
-
endogenic
people dont even have to be paid
-
midipoet
> The first few days was non stop Nazi Jew spam < really?
-
midipoet
it doesn't have to be feds. could be rival projects trying to discredit the network.
-
midipoet
or even just individuals trying to discredit the network. it doesn't take much to be shit spreader.
-
w[m]
midipoet: It was *a lot*.
-
w[m]
And real people that would argue for hours
-
w[m]
Ive personally argues with pirate chain ppl, who clearly show up to start shit
-
midipoet
w[m]: like, i have sort of just realised that cryptocurrency is adversarial in general. everybody is thinking they are playing a zerosum game, with the winner measured by price. it's easier (and more advantageous) to talk shit about another project, than to try and foster friendships/connections. i mean, we do it as well for most of the transparent networks
-
fr33_yourself[m]
It is kind of zero sum for specific use cases
-
fr33_yourself[m]
IMO
-
jberman[m]
endogenic: check out @hyc's idea of a background sync cache here:
monero-project/monero #8082
-
endogenic
it doesnt matter who it is. anyone who disrupts the activists within the community who are trying to wake it up to how it must evolve is doing it a disservice .. and we can't just go on forever saying that the people who left were weaklings or had personality disorders
-
fr33_yourself[m]
Like z-cash vs monero
-
endogenic
jberman[m]: ty
-
jberman[m]
And check out my comment here, suggesting that it be implemented virtually identically to the lws scanner in an attempt to avoid leaks to 3rd party remote nodes:
monero-project/monero #8082#issuecomment-1007921314
-
jberman[m]
I think view only wallet scanning could be implemented like that as well
-
jberman[m]
So in reality, I think the best path on that idea lands us with an lws scanner inside the code base anyway
-
jberman[m]
I don't think it would be a huge challenge to wrap a light wallet API around that background sync cache, where the consumer of that API uses it to sync upon re-visiting, same as a light wallet client
-
jberman[m]
Unless there is objection to that comment I made, and it should really just be coded assuming honest nodes
-
endogenic
ah bloom filter rears its head again
-
endogenic
vtnerd had that idea in the past iirc.. maybe 4-5 yrs ago
-
midipoet
endogenic: > we can't just go on forever saying that the people who left were weaklings or had personality disorders < when have people said this????
-
endogenic
i'm sorry but social cooling is now in effect
-
endogenic
please return to your quarters
-
endogenic
i think we should take this to another chan in any case