06:53:03 c​atduck101:matrix.org: .merges
18:55:39 b​inarybaron:matrix.org: what is tx_extra going to be limited to with the next hardfork?
19:00:47 Cindy_: tx_extra is gonna get limited more?
19:01:00 b​inarybaron:matrix.org: I thought so
19:01:06 Cindy_: tx_extra is already limited
19:01:40 b​inarybaron:matrix.org: I think its only a tx relay policy limit, not consensus.
19:01:57 Cindy_: well if everyone believes in it, it is consensus
19:02:05 Cindy_: it's limited to about 1060 bytes
19:08:55 b​inarybaron:matrix.org: That seems correct, thanks
19:08:55 b​inarybaron:matrix.org: I'm trying to transmit around 170 bytes of arbitrary bytes to someone who has the view keys to a Monero wallet to which I have the view keys as well. My current approach would be to encrypt the message with the public view key.
19:08:57 b​inarybaron:matrix.org: Probably with ECDH (compute shared secret point with random r) -> KDF (derive symmetric key) -> ChaCha20-Poly1305 (encrypt the message) ?
19:08:59 b​inarybaron:matrix.org: Is there an easier way? Payment IDs are pretty similar to what I am trying to do but they are deprecated and limited to 32 bytes.
19:13:09 Cindy_: limited to 8 bytes*
19:13:52 Cindy_: the 8-byte new payment IDs use a XOR cipher i think
19:13:56 b​inarybaron:matrix.org: The deprecated (unencrypted) payment IDs are limited to 32 bytes: https://github.com/monero-oxide/monero-oxide/blob/097728ea0b26488a3b51a060842e7ad91f63adb5/monero-oxide/wallet/src/extra.rs#L36-L41
19:14:05 Cindy_: ah yeah that's true
19:15:05 Cindy_: what's the use case for this anyway?
19:15:18 b​inarybaron:matrix.org: Ah, so I could just use per-transaction secret (r) ? that seems a lot simpler
19:16:16 Cindy_: may i ask?
19:18:57 b​inarybaron:matrix.org: This is for our atomic swap protocol. The taker needs to transmit a certain secret (adaptor signature) to the maker at a certain point during the swap. Currently we do this over our P2P networking protocol over Tor with hidden services but they fail more often than you'd think. Taker and maker already have a shared Monero wallet (both have the view key) so my idea is that we can u<clipped message>
19:18:57 b​inarybaron:matrix.org: se it to transmit the adaptor signature "over the blockchain". It's the last step that requires an active connection and interactivity (except for the swap negotiation at the start).
19:19:12 b​inarybaron:matrix.org: It is a bit of a hack but I think it'd increase reliability substantially
19:19:20 b​inarybaron:matrix.org: (https://github.com/eigenwallet/core)
20:24:50 r​ucknium:monero.social: binarybaron: Is a description of the new atomic swap protocol available?
20:25:44 b​illycipher:matrix.org: Hey guys, I’m able to see yalls messages even tho my home server is matrix?
20:26:33 Cindy_: isn't that how it works?
20:27:36 b​illycipher:matrix.org: In the description it says “Matrix .org users can not receive PM's / see messages from several home servers (including Monero .social). Please consider using a non-Matrix .org account” my bad, it’s my first time using this
20:28:41 o​frnxmr:xmr.mx: Old, needs update
20:42:41 plowsof: ACK
21:58:32 b​inarybaron:matrix.org: It is based on https://arxiv.org/abs/2101.12332 but with a few modifications. We are a fork of the MVP developed by COMIT. Mostly a few protocol features that require good-will from the other party:
21:58:33 b​inarybaron:matrix.org: 1. Maker can allow a refund before the refund timelock expires (tx_btc_early_refund)
21:58:35 b​inarybaron:matrix.org: 2. Maker can allow taker to redeem Monero even after the punish timelock expires (cooperative_xmr_redeem)
21:58:37 b​inarybaron:matrix.org: 3. Some protocol changes to protect against DOS risks (partial_refund)
21:58:39 b​inarybaron:matrix.org: We also made a few modifications that make the whole things more resilient but those are mostly implementation details:
21:58:41 b​inarybaron:matrix.org: 1. We scan the the multi-sig wallet instead of requiring an out proof to be transmitted over the network (to reduce the need for interactivity)
21:58:43 b​inarybaron:matrix.org: 2. Built in hidden-services with Arti
21:58:45 b​inarybaron:matrix.org: 3. Replaced monero-wallet-rpc with FFI to wallet2, we also use monero-oxide for a bunch of stuff
21:58:47 b​inarybaron:matrix.org: 4. Rewrote the entire networking and peer discovery stack
21:58:49 b​inarybaron:matrix.org: A few of them (some of which haven't been implemented yet) are written down here: https://github.com/eigenwallet/protocol. But mostly the code is the source of truth for the protocol spec.
21:59:49 b​inarybaron:matrix.org: at its core its the same protocol as the one implemented by farcaster
22:10:07 b​inarybaron:matrix.org: You can read through this if you want to understand how it works. The state machine is fairly high level: https://github.com/eigenwallet/core/blob/master/swap/src/protocol/bob/swap.rs
22:12:51 DataHoarder: the soft-limits that exist on relay were just made hard on tx verification and inclusion post FCMP++