-
br-m
<spirobel:kernal.eu> made a video on monero wallet sync and monero-PSK
youtube.com/watch?v=dDH6cUQIwbw
-
br-m
<rbrunner7> Is there finally a formal spec of this "PSK" scheme in the works, that people we be able to review and check?
-
br-m
<rbrunner7> *will be able
-
br-m
<spirobel:kernal.eu> i think i will do a poc first then write the spec afterwards.
-
br-m
<spirobel:kernal.eu> but there is still some other work i want to do first
-
br-m
<spirobel:kernal.eu> at the very top of the stack is multisig msg exchange ...
-
br-m
<spirobel:kernal.eu> i remember you worked on this back in the day ... saw some demo video about it on yt
-
br-m
<spirobel:kernal.eu> i think it used something called bitmessage, correct brunner?
-
br-m
<rbrunner7> Yes, the PyBitmessage client was used for transport, and also for decoupling - the network stored messages for a day or more. RIP Bitmessage ...
-
br-m
<spirobel:kernal.eu> what happened to bitmessage .... ?
-
br-m
<spirobel:kernal.eu> just came accross this thread ...
monero-project/research-lab #51
-
br-m
<spirobel:kernal.eu> wild
-
br-m
<rbrunner7> Died by disinterest, basically. Never made the switch from Python 2 to Python 3 with any official release, which probably was a death sentence
-
br-m
<spirobel:kernal.eu> feel like indiana jones now exploring some old temple
-
br-m
<spirobel:kernal.eu> but tbh it seems like a nice thing
-
br-m
<spirobel:kernal.eu> but maybe too ambitious
-
br-m
<rbrunner7> Sure it's nice. Show me any other system with zero metadata that is so simple that you can understand why there won't be any metadata whatsoever in 3 minutes
-
br-m
<spirobel:kernal.eu> and it would use the normal monero nodes for communication ?
-
br-m
<rbrunner7> Not sure what you mean. Bitmessage was used for the wallet apps to talk to each other, to submit all that multisig related data
-
br-m
<spirobel:kernal.eu> but i mean they wouldnt talk directly to each other ? they would talk through the nodes right ? just skimmed over it and saw something about dandelion + pow thats why i assumed
-
br-m
<spirobel:kernal.eu> (assumed it must add an externality to the nodes)
-
br-m
<rbrunner7> Still not sure what you mean. My MMS was basically instances of the official CLI wallet apps sending messages directly to each other over the Bitmessage network.
-
br-m
<rbrunner7> Driving PyBitmessage over its API
-
br-m
<torir:unredacted.org> I was around for Bitmessage. The client was simple: a gossip protocol that mirrored all messages to all nodes, similiar to how transactions get propagated around the Bitcoin network. Same weaknesses I assume, such as being able to spy on the source of messages with enough spy nodes.
-
br-m
<torir:unredacted.org> Messages were end-to-end encrypted, and you blindly decrypted all messages to see which ones were for you. There was no useful metadata on the wire. A simple proof-of-work was used to prevent spam.
-
br-m
<rbrunner7> Right.
-
br-m
<rbrunner7> Over time, people were proposing all kinds of messaging software to replace PyBitmessage and save the MMS, but I never saw one with a nice API that could be used to programmatically send and receive messages. Implementing whole messaging protocols in Monero code on the other hand would probably be too much.
-
br-m
<rbrunner7> And many of those approaches also brought a "must be online at the same time" requirement with it
-
br-m
<torir:unredacted.org> Particl implemented an entire messaging protocol. The cryptocurrency nodes include a peer-to-peer messaging system. It's the main messaging system used for BasicSwapDex right now, BasicSwapDex is working on adding support for SimpleX and Nostr.
-
br-m
<rbrunner7> Yeah, with months of dev time on your hand you can do many things ...
-
br-m
<torir:unredacted.org> I'm not sure including a messaging protocol in the nodes is right for Monero... but it is an interesting idea.
-
br-m
<rbrunner7> Anyway, there is this really nice and fully working system Monero multisig GU app communicating over Tor, with the only limitation that people must be online at the same time, and it's basically ignored to death:
freigeist-m.github.io/monero-multisig-gui
-
br-m
<spirobel:kernal.eu> why do you think that is ?
-
br-m
<rbrunner7> Is that a trick question? :)
-
br-m
<spirobel:kernal.eu> no i am seriously interested
-
br-m
<spirobel:kernal.eu> you have worked on this for a long time
-
br-m
<rbrunner7> I think almost nobody wants to do "standalone multisig" with Monero. All the successful apps that I know that use and used multisig used it internally to make things safe.
-
br-m
<spirobel:kernal.eu> yes i agree by itself multisig is a demo ui of a lower level primitive used to build something larger that then solves a specific need for users
-
br-m
<spirobel:kernal.eu> so if this wallet api is used directly to build a gui without a users needs in mind it will feel like a demo
-
br-m
<torir:unredacted.org> Fork a mobile wallet, make a "joint account" feature that lets multiple devices share a wallet with multisig behind the scenes. Make it so that transactions can have a comment added that syncs to all devices that can see the wallet.
-
br-m
<rbrunner7> Well, there were once talks about replacing a single person doing CCS payouts by a small group of people doing it, and then using multisig to make everything safe. That could have used that GUI app. Never went to come, however.
-
br-m
<torir:unredacted.org> "Joe, Alice, and Steve authorized a transfer of 0.1 XMR with comment: Office supplies"
-
br-m
<rbrunner7> Anyway, as things stand now, "Monero multisig" is something like a black whole sucking dev time and dev ambitions into it, never to be seen again ...
-
br-m
<rbrunner7> *black hole
-
plowsof
until an onchain multi-sig transaction can prove who signed or didn't sign the n of N multisig tx, i feel it just becomes a plausible deniability scheme that works until a few decide to collude
-
br-m
<torir:unredacted.org> Multisig is used right now on XmrBazaar, and in Haveno. It just isn't used in a good way in any wallet.
-
br-m
<rbrunner7> Sure.
-
br-m
<rbrunner7> I was indeed talking about "standalone" multisig functionality.
-
br-m
<spirobel:kernal.eu> plowsof: has this shown to be a problem in practice?
-
br-m
<rbrunner7> No idea. Pretty sure not with Monero - where would things have gone as far as this possibly happening? No idea about Bitcoin.
-
br-m
<rbrunner7> If you don't do multisig you don't have any problems with it, simple, eh :)
-
plowsof
i dont know the technical details as to why this isnt possible, ive only been told not currently, and maybe with changes?
-
br-m
<rbrunner7> We go to great lengths that a final, submitted multisig transaction looks like any other, "normal" transaction. That's not a bug, or a weakness, or a defect, it's a core feature: You don't want to have those txs recognizable on the blockchain as such.
-
br-m
<rbrunner7> But there goes any way to later prove who signed and who not.
-
br-m
<spirobel:kernal.eu> serai can identify misbehaving participants
-
br-m
<rbrunner7> You mean find out if somebody wants to undermine the signing process by bad behavior? Well, that's something different than later being able to prove, after some CCS financed project goes down the drain, that I did not sign the payout because I was opposed from the start.
-
br-m
<rbrunner7> If I understand plowsof 's thinking correctly.
-
br-m
<rbrunner7> Or that I was not part of the collusion that drained all CCS money
-
plowsof
great examples yes
-
br-m
<spirobel:kernal.eu> i mean there are these dao dramas where people take over daos and steal the treasury or bring through votes that are to the detriment of the project because too many people were absent didnt pay attention
-
br-m
<rbrunner7> Are there still any working DAOs around, really? I thought they did not really get off the ground in the first place, or went the way of the Dodo in the meantime
-
plowsof
just say AI did it
-
br-m
<spirobel:kernal.eu> but i mean in normal legacy companies there are also office politics
-
plowsof
maybe someone exploited an unknown weakess in the multi sig scheme, sorry!
-
br-m
<rbrunner7> That's the new "the dog ate my homework"
-
plowsof
but on chain we can clearly see people signed it, another example
-
br-m
<spirobel:kernal.eu> and monkies scratching each others backs instead of focusing on the greater goal
-
br-m
<rbrunner7> Something that we would never do :)
-
br-m
<spirobel:kernal.eu> multisig is not a silver bullet to solve human / animal social dynamics forever
-
br-m
<spirobel:kernal.eu> it is just another tool in the toolbox
-
br-m
<rbrunner7> No, for that we have Ethereum smart contracts of course.
-
br-m
<spirobel:kernal.eu> to design the structure of an organization or a contract enforcement mechanism to achieve something more civilized than what ever existed before
-
br-m
<spirobel:kernal.eu> ethereum lacks privacy which is the biggest downside
-
br-m
<spirobel:kernal.eu> without privacy you cant really have " smart contract = a contract where you dont get fucked over"
-
br-m
<spirobel:kernal.eu> plowsof: with serai its also possible to see which validator misbehaved it will say which shares were invalid
-
br-m
<rbrunner7> afk, duties call
-
plowsof
nice
-
br-m
<spirobel:kernal.eu> you could still have a situation where two parties maliciously collude against a third. like bad arbitrator colludes with bad buyer or bad vendor against the respective other
-
br-m
<torir:unredacted.org> Are you looking for something like
eprint.iacr.org/2022/1636?
-
br-m
<torir:unredacted.org> No clue if that is compatible with Monero's blockchain.
-
br-m
<spirobel:kernal.eu> serai dkg / frost has this kind of feature
-
br-m
<spirobel:kernal.eu> what i mean is the incentives are either aligned or they aren't
-
br-m
<spirobel:kernal.eu> that is not orthogonal to multisig tbh. that is what i meant the other in the stressnet channel: multisig doesn't add anything to the security
-
br-m
<ofrnxmr> Simplex and nostr support are live > <@torir:unredacted.org> Particl implemented an entire messaging protocol. The cryptocurrency nodes include a peer-to-peer messaging system. It's the main messaging system used for BasicSwapDex right now, BasicSwapDex is working on adding support for SimpleX and Nostr.
-
br-m
<spirobel:kernal.eu> the tokenomics / game theory is what holds it together. if there is an incentive to collude and steal multisig can't prevent that. that applies to a 2 of 3 vendor, buyer, arbitrator situation or a 200 validator threshold DEX protocol
-
br-m
<spirobel:kernal.eu> @ofrnxmr: so you can do atomic swaps over nostr or particl nodes act as nostr nodes ?
-
br-m
<ofrnxmr> The reason for including it in the nodes makes shit like abusong txextra unnecessary > <@torir:unredacted.org> I'm not sure including a messaging protocol in the nodes is right for Monero... but it is an interesting idea.
-
br-m
<ofrnxmr> Its a separate database, self pruning, and basically just uses the peerlists to find peers etc
-
br-m
<ofrnxmr> @spirobel:kernal.eu: Ya
-
br-m
<ofrnxmr> The former
-
br-m
<ofrnxmr> and basicswap acts as a bridge between nostr/simplex/particl
-
br-m
<spirobel:kernal.eu> @ofrnxmr: what is the benefit of going over nostr/simplex vs particl
-
br-m
<torir:unredacted.org> You don't need to install Particl. Nostr and SimpleX have different threat models which might be more suitable for different. SimpleX has been audited. Also, mandatory Particl integration made CSS funding awkward so they talked them into adding other networks.
-
br-m
<torir:unredacted.org> That might have happened in this room, actually. Am I speak to the choir?
-
br-m
<ofrnxmr> @spirobel:kernal.eu: Running node requirement
-
br-m
<monerobull:matrix.org> That's an awesome change @ofrnxmr:monero.social:
-
br-m
<321bob321> Matrix bridge
-
felipeb
hi, i made a construction app that allows transfer in monero. the ai I used recommended to only use it at stagenet since it was ai made with no audit. I am no expert anyway
github.com/felipebrunet/konstruado. some code is in spanish (my native language). I have stagenet xmr to send if you want to try it.
-
ziggywitit
I vibe coded a Randomx V2 implementation in Zig with JIT for x86_64 and interpreter for the rest. Not tested that much but it does hash the official vectors correctly:
github.com/NateBrune/zig-randomx
-
br-m
<syntheticbird> well
-
br-m
<syntheticbird> zig devs are nonexistent in the monero space but/and this is still welcome
-
br-m
<syntheticbird> oh you managed to squeeze some performance
-
br-m
<thomasbuilds:matrix.org> general remark: would be better to use AI to improve existing projects rather than seeing constant ship, ship ship in all directions
-
ziggywitit
Yeah this was my first time messing with Zig. It seems cool.
-
br-m
<syntheticbird> username checks out
-
ziggywitit
:p
-
ziggywitit
I ported randomxv2 to zig cause I actually wanted to build this project:
github.com/NateBrune/yuzulock which cryptographically locks files for a set amount of time. RandomX V2 seemed to be the best hash in the game for this purpose because... Nation States cant build ASICs to do RandomX basically
-
ziggywitit
gud hash
-
plowsof
jeffro256 suggested a time puzzle for locking someones funds rather than using unlock_time . localmonero used to do this as a punishment for people and so requested unlock_time be not deprecated
-
br-m
<plowsof:matrix.org> reposting on matrix because my matrix puppet isnt here: jeffro256 suggested a time puzzle for locking someones funds rather than using unlock_time . localmonero used to do this as a punishment for people and so requested unlock_time be not deprecated
-
plowsof
all that fuss over unlock_time
monero-project/monero #9151
-
br-m
<plowsof:matrix.org> jpk68 likes zig
-
ziggywitit
using unlock_time as a punishment in localmonero is genius lol
-
ziggywitit
Time puzzles are interesting because you can theoretically lock something away from a nation state with very little upfront time/cost. Time / threads on cpu. So you can lock something for 5 years if you have 256 cores available and hashing for 1 week.
-
br-m
<jpk68:matrix.org> This is true :D
-
br-m
<jpk68:matrix.org> How did I not see this message yet
-
br-m
<jpk68:matrix.org> This may be interesting to you:
-
br-m
-
br-m
<jpk68:matrix.org> Though it's worth noting almost nothing works yet, including RandomX
-
br-m
<jpk68:matrix.org> I had initially planned to implement RandomX (v1) in Zig, but that was likely going to be too much work, so I planned to instead just write bindings for the main library, vendored in the source tree or something. Haven't got around to that yet, though
-
ziggywitit
oh im forking this
-
ziggywitit
jpk are you allergic to AI
-
br-m
-
br-m
<jpk68:matrix.org> lmao
-
br-m
<jpk68:matrix.org> Linking to an Amazon search page for "time-locked safe"
-
br-m
<jpk68:matrix.org> Me? Not really
-
br-m
<jpk68:matrix.org> I didn't use AI to write that project, though. I would be open to accepting LLM commits if they're sane and submitted by a human
-
ziggywitit
I cant guarantee sane
-
br-m
<thomasbuilds:matrix.org> he isn't
-
br-m
<jpk68:matrix.org> Maybe if we get a few contributors to quarry, there can be three working P2Pool implementations ;)
-
br-m
<jpk68:matrix.org> Sanity will be evaluated on a case-by-case basis
-
br-m
<jpk68:matrix.org> I once made the mistake of bringing up Monero in the Zig Matrix channel, and some guy kept yelling about how I was going to go to prison or something. It takes all kinds
-
ziggywitit
so wait you want this to be a p2pool node and miner?
-
ziggywitit
or just miner?
-
br-m
<jpk68:matrix.org> The original idea was for it to be both in one, so that there isn't added latency of Stratum messages from P2Pool <-> XMRig
-
br-m
<jpk68:matrix.org> So, the first one, essentially. Ideally, new functionality could be introduced in smaller commits rather than monolithic ones :)
-
br-m
<jpk68:matrix.org> Wasn't Babb doing some sort of Rust P2Pool thing as well?
-
ziggywitit
okay than to start i will try to get quarry to connect to p2pool with stratum server
-
ziggywitit
later we can reimplement p2pool in zig >:)
-
br-m
<ofrnxmr:xmr.mx> @syntheticbird: bitmain employee spotted
-
br-m
<jpk68:matrix.org> Billions must mine efficiently
-
ziggywitit
oh jpk i already know you're gonna hate me lol this about to be some HEAVY pr lol
-
br-m
<jpk68:matrix.org> Oh god 💀
-
br-m
<syntheticbird> @ofrnxmr:xmr.mx: lmao
-
ziggywitit
im mining p2pool
-
ziggywitit
-
br-m
<ofrnxmr:xmr.mx> #monero-community-dev:monero.social
-
br-m
<jpk68:matrix.org> Oh wow, this is quite a bit to go through, haha
-
br-m
<jpk68:matrix.org> I'll see what I can do this weekend
-
ziggywitit
okay well
-
ziggywitit
god speed
-
ziggywitit
we can hash it out on github
-
ziggywitit
fun project!