--- Log opened Thu Dec 05 00:00:10 2024 00:20 -!- Zenton [~Zenton@user/zenton] has quit [Read error: Connection reset by peer] 00:20 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 00:37 -!- Zenton [~Zenton@user/zenton] has quit [Remote host closed the connection] 00:37 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 01:08 -!- __gotcha [~Thunderbi@193.190.253.145] has joined #bitcoin-core-pr-reviews 01:09 -!- __gotcha [~Thunderbi@193.190.253.145] has quit [Client Quit] 01:10 -!- __gotcha [~Thunderbi@193.190.253.145] has joined #bitcoin-core-pr-reviews 01:14 -!- Zenton [~Zenton@user/zenton] has quit [Remote host closed the connection] 01:14 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 01:25 -!- sebastianvstaa [~sebastian@dsl-212-100-46-253.pool.bitel.net] has joined #bitcoin-core-pr-reviews 01:41 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Remote host closed the connection] 01:42 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-core-pr-reviews 01:55 -!- sliv3r__ [~sliv3r__@user/sliv3r-:76883] has joined #bitcoin-core-pr-reviews 01:56 -!- sliv3r__ [~sliv3r__@user/sliv3r-:76883] has quit [Client Quit] 02:05 -!- Zenton [~Zenton@user/zenton] has quit [Remote host closed the connection] 02:05 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 02:18 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 02:21 -!- Zenton [~Zenton@user/zenton] has quit [Ping timeout: 248 seconds] 02:37 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 02:37 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 02:41 -!- Zenton_ [~Zenton@user/zenton] has quit [Read error: Connection reset by peer] 02:41 -!- Zenton__ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 02:59 -!- Zenton__ [~Zenton@user/zenton] has quit [Remote host closed the connection] 02:59 -!- Zenton__ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 03:15 -!- Zenton__ [~Zenton@user/zenton] has quit [Remote host closed the connection] 03:15 -!- Zenton__ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 03:36 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 03:37 -!- Zenton__ [~Zenton@user/zenton] has quit [Ping timeout: 246 seconds] 03:38 -!- __gotcha [~Thunderbi@193.190.253.145] has quit [Ping timeout: 252 seconds] 03:40 -!- chinggg [~chinggg@141.5.46.6] has joined #bitcoin-core-pr-reviews 03:45 -!- kevkevin [~kevkevin@2601:243:197e:8f10:3581:7920:80d9:4fec] has joined #bitcoin-core-pr-reviews 03:49 -!- kevkevin [~kevkevin@2601:243:197e:8f10:3581:7920:80d9:4fec] has quit [Ping timeout: 260 seconds] 04:28 -!- Zenton [~Zenton@user/zenton] has quit [Remote host closed the connection] 04:28 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 04:36 -!- chinggg [~chinggg@141.5.46.6] has quit [Ping timeout: 240 seconds] 04:38 -!- Guest9 [~Guest9@2a02:1210:621d:e200:2025:77f7:2bb2:5d35] has joined #bitcoin-core-pr-reviews 04:39 -!- Guest9 [~Guest9@2a02:1210:621d:e200:2025:77f7:2bb2:5d35] has quit [Client Quit] 04:41 -!- ioannis [ion-@user/ion-] has quit [Remote host closed the connection] 04:51 -!- sebastianvstaa [~sebastian@dsl-212-100-46-253.pool.bitel.net] has quit [Quit: Client closed] 05:00 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 05:03 -!- Zenton [~Zenton@user/zenton] has quit [Ping timeout: 272 seconds] 05:06 < glozow> dergoegge: thanks for the branch! 05:07 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9e2:4262:46ee:c0d] has joined #bitcoin-core-pr-reviews 05:12 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9e2:4262:46ee:c0d] has quit [Ping timeout: 260 seconds] 05:18 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 05:23 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 05:29 -!- greypw14 [~greypw@user/greypw] has quit [Remote host closed the connection] 05:30 -!- __gotcha [~Thunderbi@193.190.253.145] has joined #bitcoin-core-pr-reviews 05:34 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 05:45 -!- kevkevin [~kevkevin@2601:243:197e:8f10:80b1:579f:79ae:fda2] has joined #bitcoin-core-pr-reviews 05:50 -!- kevkevin [~kevkevin@2601:243:197e:8f10:80b1:579f:79ae:fda2] has quit [Ping timeout: 248 seconds] 05:52 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 276 seconds] 05:56 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-core-pr-reviews 05:57 -!- Emc99 [~Emc99@212.129.73.228] has joined #bitcoin-core-pr-reviews 05:59 -!- nymius [~nymius@user/nymius] has joined #bitcoin-core-pr-reviews 05:59 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 05:59 -!- nymius [~nymius@user/nymius] has quit [Client Quit] 05:59 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 05:59 -!- nymius [~nymius@user/nymius] has joined #bitcoin-core-pr-reviews 06:00 -!- sebastianvstaa [~sebastian@212.100.46.253] has joined #bitcoin-core-pr-reviews 06:01 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 06:01 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 06:03 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 06:08 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 06:14 -!- abubakarsadiq [uid602234@id-602234.hampstead.irccloud.com] has joined #bitcoin-core-pr-reviews 06:19 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 06:24 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 06:24 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 06:29 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 06:29 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 06:34 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 245 seconds] 06:34 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 06:39 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 06:39 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 06:42 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 06:42 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 06:45 -!- Emc99 [~Emc99@212.129.73.228] has quit [Ping timeout: 240 seconds] 06:56 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 06:57 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 06:59 -!- Zenton__ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 07:00 -!- Zenton__ [~Zenton@user/zenton] has quit [Remote host closed the connection] 07:01 -!- Zenton_ [~Zenton@user/zenton] has quit [Ping timeout: 248 seconds] 07:02 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 07:03 -!- Zenton [~Zenton@user/zenton] has quit [Remote host closed the connection] 07:04 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 07:15 -!- Zenton [~Zenton@user/zenton] has quit [Remote host closed the connection] 07:16 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 07:27 -!- kevkevin [~kevkevin@c-73-111-168-5.hsd1.il.comcast.net] has joined #bitcoin-core-pr-reviews 07:34 -!- Murch[m] [~murch@user/murch] has changed host 07:38 -!- nymius [~nymius@user/nymius] has quit [Quit: nymius] 07:43 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 07:56 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 08:00 -!- sebastianvstaa [~sebastian@212.100.46.253] has quit [Quit: Client closed] 08:03 -!- lucasbalieiro [~lucasbali@187.99.228.77] has joined #bitcoin-core-pr-reviews 08:09 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 08:11 -!- Zenton [~Zenton@user/zenton] has quit [Ping timeout: 248 seconds] 08:19 -!- Zenton_ [~Zenton@user/zenton] has quit [Read error: Connection reset by peer] 08:19 -!- lucasbalieiro [~lucasbali@187.99.228.77] has quit [Ping timeout: 252 seconds] 08:19 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 08:24 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 08:24 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 08:29 -!- __gotcha [~Thunderbi@193.190.253.145] has quit [Ping timeout: 248 seconds] 08:41 -!- sebastianvstaa [~sebastian@212.100.46.253] has joined #bitcoin-core-pr-reviews 08:46 -!- chinggg [~chinggg@cspsrv00-ext.mpi-sp.org] has joined #bitcoin-core-pr-reviews 08:57 -!- Zenton__ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 08:58 < glozow> hi 08:58 < glozow> folks here? :) 08:58 < chinggg> hi 08:59 -!- Zenton_ [~Zenton@user/zenton] has quit [Ping timeout: 246 seconds] 08:59 < instagibbs> 👋 08:59 -!- Emc99 [~Emc99@212.129.73.228] has joined #bitcoin-core-pr-reviews 08:59 < glozow> yayyy 08:59 < marcofleon> hello 09:00 < glozow> #startmeeting 09:00 < glozow> welcome back! 09:00 < glozow> this is part 2 of https://bitcoincore.reviews/31397 09:01 < marcofleon> woo! 09:01 -!- monlovesmango [monlovesma@gateway/vpn/protonvpn/monlovesmango] has joined #bitcoin-core-pr-reviews 09:01 < dergoegge> hi 09:01 < glozow> did anybody review the PR any further between yesterday and now? 09:01 < glozow> thanks for the reviews btw dergoegge and instagibbs 09:02 < marcofleon> A little but not much unfortunately 09:03 < glozow> We can pick up where we left off and ofc bring up any questions you have: Prior to this PR, what are all the `TxOrphanage` methods that remove an orphan, and where in the code are they called? 09:03 < marcofleon> Took a look at dergoegge's alternate solution 09:03 < glozow> I'll give the first of 5 links: we remove an orphan when it's accepted to mempool by calling `EraseTx`, here https://github.com/bitcoin/bitcoin/blob/dbc8ba12f3b3548dd6955293c5d650320ca39c5b/src/node/txdownloadman_impl.cpp#L301 09:03 < instagibbs> LimitOrphans, for timeouts and random eviction 09:04 < chinggg> EraseTx, EraseForPeer, EraseForBlock 09:05 < marcofleon> called in BlockConnected, DisconnectedPeer, mempoolAcceptedTx, and MempoolRejectedtx 09:05 < glozow> instagibbs: yep, https://github.com/bitcoin/bitcoin/blob/dbc8ba12f3b3548dd6955293c5d650320ca39c5b/src/node/txdownloadman_impl.cpp#L375 09:05 < glozow> chinggg: yep! those are the functions, you just missed `LimitOrphans` 09:05 < glozow> marcofleon: yep, got em 09:05 < dergoegge> there is a 6th: `~TxOrphanage()` 😎 09:05 < marcofleon> LimitOrphans is called in MempoolRejected too 09:06 < glozow> dergoegge: hah 09:06 < glozow> marcofleon: yes, what are the 2 conditions within `MempoolRejectedTx`? 09:09 < glozow> ok so one of them is when the orphan is found to be invalid for a reason other than missing inputs https://github.com/bitcoin/bitcoin/blob/dbc8ba12f3b3548dd6955293c5d650320ca39c5b/src/node/txdownloadman_impl.cpp#L444 09:09 < marcofleon> One is to limit DoS yeah? LimitOrphans 09:09 < glozow> marcofleon: correct, we call `LimitOrphans` each time we add a transaction to orphanage 09:09 < marcofleon> which is in the missing inputs and parents aren't rejected 09:09 < glozow> yep 09:11 < marcofleon> nice, thanks 09:11 < glozow> taking a look at the logic for adding a tx to the orphanage within this PR: [logic](https://github.com/bitcoin-core-review-club/bitcoin/commit/c04d1a876cdbcd159c53dde55d57a55675c41f38#diff-3fc44df0a49b8a2fa4cb515b41fae470b794c32c93e632edb18ae14e8fcb159dR462-R481) 09:11 < glozow> Is it possible that there are candidate peers but `AddTx` is not called - how? Why is that important? 09:12 -!- effexzi [uid474242@id-474242.ilkley.irccloud.com] has joined #bitcoin-core-pr-reviews 09:13 < marcofleon> I wasn't too sure how to interpret the question but I thought no it's not possible. Whenver there's a peer that passes OrphanResolutionCandidate the orphan tx gets added 09:13 < instagibbs> If you get an INV after tx is orphanage already you add announcer via wtxid? 09:13 < marcofleon> AddTx won't be called basically if there are no candidate peers 09:14 < glozow> marcofleon: is there any case where `OrphanResolutionCandidate` returns `std::nullopt`? 09:14 < marcofleon> wait yeah ofc 09:15 < glozow> instagibbs: right. this logic only operates on the existing announcers though, it's when we just found out the tx is an orphan 09:15 < glozow> marcofleon: and what's the case? 09:15 < marcofleon> if a peer without relay permission has too many tracked annoucements 09:15 < marcofleon> and then if the peer doesn't exist in m_peer_info 09:16 < instagibbs> hmm? I think im missing the actual question 09:16 < chinggg> `if (m_txrequest.Count(nodeid) + m_orphan_resolution_tracker.Count(nodeid) >= MAX_PEER_TX_ANNOUNCEMENTS) return std::nullopt;` 09:17 < glozow> instagibbs: maybe the link doesn't render well. we're looking at the code block in `MempoolRejectedTx` where we're `add_orphan_reso_candidate` ing 09:17 < glozow> chinggg: marcofleon: yep! 09:17 < glozow> so if a peer is flooding us with invs, we'll drop them as an orphan reso candidate 09:18 < dergoegge> glozow: yea the link doesn't jump to the highlighted section for some reason 09:18 < glozow> thank you github 09:18 < marcofleon> I guess I was interpreting candidate to mean a peer that passes.... but that's not really the defintion of candidate 09:18 -!- premitive2 [~halloy664@user/premitive2] has joined #bitcoin-core-pr-reviews 09:18 < glozow> importantly, if they are the only announcer, we won't call `AddTx` at all 09:19 < dergoegge> that changes behavior from before right? 09:19 < glozow> yeah 09:19 < glozow> I don't like the fact that a new orphan always gets added 09:20 < dergoegge> we won't resolve the parents anyway so that seems fine 09:20 < glozow> In the future we should modify `OrphanResolutionCandidate` to also drop if e.g. this peer is already taking up half our orphanage space 09:20 < glozow> or 100KvB, or 10 orphans, or something 09:20 -!- jonatack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 09:20 < instagibbs> more like OrphanResolutionNominee 09:20 < chinggg> another step to prevent DoS on orphan 09:21 < glozow> This PR edits some of the erasures to potentially keep the transaction in the orphanage and only modify the announcers list instead. Which places are these, and why? 09:21 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-core-pr-reviews 09:22 < marcofleon> eraseForPeer and the new function EraseOrphanOfPeer 09:23 < marcofleon> We only want to erase the orphan for the peer that announced, not erase the orphan entirely as we did before 09:23 < premitive2> I'm thinking so that another candidate can be called in GetRequestsToSend if another peer is disconnected or otherwise unresponsive 09:23 < glozow> premitive2: yes exactly 09:25 < glozow> Commit [7badc73](https://github.com/bitcoin-core-review-club/bitcoin/commit/7badc7e004e288aef645404b1b09699be8b87d1e) stores missing parent txids in the `TxOrphanage` entry. Another approach could be to re-calculate the missing parents prior to sending out requests; the missing parents may change over time as well. Which approach do you prefer, and why? 09:26 < instagibbs> IIUC passing in the missing parents means you can calculate it once, then delegate handling duplications etc inside txrequest module 09:27 < premitive2> I was a little confused about what you meant with 'the missing parent may change over time as well, although I like the approach and the fact that GetChildrenFromDifferentPeer was dropped 09:27 < glozow> instagibbs: right, seemed better to just calculate it once 09:27 < instagibbs> premitive2 parents get resolved over time, you may only have one left but list says N left 09:28 < glozow> Yeah. the main recalculation point would be if somebody sends an inv for an orphan. 09:28 < instagibbs> ah hm 09:28 < premitive2> @instagibbs Ahhh, now I understand. Makes sense, thanks! 09:30 < glozow> Ah, we should be filtering for `AlreadyHaveTx` again when we add the parents to txrequest 🤔 09:30 < instagibbs> txrequests get filtered before going out the door at GetRequestsToSend, so a request may get queued and dropped? 09:30 < glozow> instagibbs: ah yeah good point 09:31 < glozow> ok, that's not a problem then 09:31 -!- chinggg [~chinggg@cspsrv00-ext.mpi-sp.org] has quit [Quit: Client closed] 09:31 < instagibbs> txrequest doing some heavy lifting, you might think temp that your honest peer has more inflights but I guess that's very short lived 09:31 -!- chinggg [~chinggg@cspsrv00-ext.mpi-sp.org] has joined #bitcoin-core-pr-reviews 09:31 < glozow> right 09:32 < glozow> I haven't thought of ways that dergoegge's approach doesn't work 09:32 < glozow> so I guess the next question is kinda moot if we do that instead 09:33 < glozow> Why might we prefer to resolve orphans with outbound peers over inbound peers? 09:33 < dergoegge> Storing the parent txids does change the memory usage assumption a bit (eyeball 2x increase?) 09:33 < glozow> dergoegge: yeah, it's extra for sure 09:33 < dergoegge> perhaps worth adjusting the comment, but otherwise not concerning 09:34 < glozow> I am wondering if we should accompany this with new memory-based orphan limits, based on the current maximum memory usage 09:34 < instagibbs> outbounds are selected by the node more directly, means it's harder to get sybil'ed by those connections 09:34 < glozow> right now the limit is really large and we probably never hit it 09:34 < marcofleon> Are outbound peers less likely to be malicious? 09:35 < marcofleon> instagibbs: +1 becuase we choose them yes 09:35 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 260 seconds] 09:35 < glozow> what instagibbs said. I'm not sure the best way to phrase this but my mental model is to just assume that all inbounds are trying to attack you 09:36 < premitive2> Malicious nodes *looking* for targets to attack will always be inbound mhm 09:36 < chinggg> make sense. I wonder where the code implement the logic of preferring outbound peers over inbound peers 09:36 < instagibbs> inbounds are very often spy services :) 09:36 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 09:36 < instagibbs> outbounds generally are not, or if they are, they're doing useful things like handing you blocks and whatnot 09:36 < marcofleon> gotta be adversarial out there 09:38 < glozow> dergoegge: I don't think it's a 2x increase, but it can be large. it's a function of the tx's size. oh wow i just realized we could just store a bit vector that corresponds to its inputs. 09:38 < chinggg> oh there is a functional test `test_orphan_handling_prefer_outbound` 09:38 -!- Zenton__ [~Zenton@user/zenton] has quit [Ping timeout: 248 seconds] 09:38 < glozow> instead of a `std::vector` 09:38 < glozow> duh *facepalm* 09:39 < monlovesmango> so with dergoegge's method, is there a way to track total orphan resolution's in flight by peer? 09:39 < glozow> monlovesmango: very good question 09:40 < glozow> we can implement this in `TxOrphanage` by storing a map of number of orphans provided by each peer 09:40 < glozow> I have this implemented and planned it for later, but maybe we bring this into the current PR 09:41 < glozow> What are the disadvantages of resolving orphans by requesting parent txids? 09:42 < premitive2> I haven't read all of BIP331 but a fake child tx with lots of inputs might be bad 09:43 < monlovesmango> is there concern with having witness be malleable? like there could be multiple parents with same txid but different wtxid? 09:43 < marcofleon> The witness could be malleated 09:44 < chinggg> sounds like requesting parent txid will cause more attack surface 09:44 < glozow> yeah, txid-based relay sucks 09:45 < glozow> If you have multiple missing parents as well, downloading them one by one seems really inefficient as well. You'd re-evaluate the orphan over and over again (always still getting missing inputs) until the last parent gets in 09:46 < dergoegge> since we can't really cache invalidity by txid, can policy differences cause us to re-download parents many times? 09:46 < glozow> dergoegge: yeah 09:46 < dergoegge> with the PR we'd retry with all the announcers 09:47 < glozow> ah, well, we'd `ForgetTxHash` after the parent fails 09:47 < glozow> wait no, that would be by wtxid 09:47 < glozow> hah, yeah, we'd just keep downloading it 09:48 < dergoegge> should be wtxid, otherwise that'd be censorship 09:48 < glozow> yeah. if the first peer gives us a bad one, we can't just give up - that's the whole point 09:48 < glozow> sorry misspoke 09:48 < glozow> however we wouldn't re-validate the same tx, since it would be in recent rejects 09:49 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 09:50 < dergoegge> hm right so only some bandwidth waste 09:50 < glozow> yes 09:50 < glozow> this is just the nature of any txid-based relay 09:51 < glozow> so that's what ancpkginfo is for - tell me the wtxids of the ancestors, and then I can figure out how to download them 09:52 < glozow> when you retry with other peers, you also first ask them for the wtxids, and only download if you think there's a chance it'll be valid 09:52 < glozow> Last question 09:52 < glozow> Commit [3e16a36](https://github.com/bitcoin-core-review-club/bitcoin/commit/3e16a36959f70da59846621f099c1f1df4a210ed) edits the 1p1c logic to no longer try packages of transactions from different peers. What was the original motivation for this section, and why is removing it ok? 09:53 -!- abubakarsadiq [uid602234@id-602234.hampstead.irccloud.com] has quit [Quit: Connection closed for inactivity] 09:53 < premitive2> Parents are kept within the orphanage now so it seems like the orphan matching is no longer needed 09:54 < glozow> premitive2: no, we still do matching for 1p1c. the difference is we require the originating peer be the same 09:54 < marcofleon> It made sense before becuase we weren't keeping track of all the peers that are announcing 09:54 < monlovesmango> bc orphan tracker is systematically doing what this is attempting to opportunistically do 09:54 < marcofleon> so we would wnat to try a different peer if we had a parent that was reconsiderable? 09:55 < marcofleon> try looking for a child that is 09:55 < glozow> marcofleon: yeah, really we *only* want to try 1p1cs from the same peer 09:55 < glozow> but since we didn't remember all peers before, we had this logic just in case 09:55 < premitive2> The parent was used to find other peers from the children to request, like @monlovesmango it now can do everything it did without that code 09:56 < premitive2> to validate for a package, not req* 09:56 < glozow> we don't really need the orphan tracker for this either, it's more than `TxOrphanage` remembers more announcers 09:56 < glozow> more that* 09:58 < marcofleon> wait why do we only want it from the same peer? 09:58 < glozow> marcofleon: why would you want it from different peers? 09:58 < marcofleon> hmmm 09:59 < glozow> You could imagine that a peer can give you an infinite number of children for any given transaction. So let's not sign up to 1p1c all of them haha 09:59 < marcofleon> if we have the child from someone else and they don't have the parent yet... but we have the parent from another peer we just won't form a 1p1c package? 09:59 < glozow> but there should only be 1 honest package 09:59 < marcofleon> right yes got it 09:59 < glozow> if they have the child, they must have the parent 09:59 < glozow> otherwise how did they validate it? 10:00 < marcofleon> Yes ofc, I missed that 10:00 < glozow> that's time! 10:00 < instagibbs> good timing 10:00 < glozow> indeed! 10:00 < marcofleon> got it, thanks glozow! 10:00 < marcofleon> what a time 10:00 < chinggg> Thanks glozow and everyone! 10:00 < premitive2> Thanks again for hosting @glozow! 10:00 < dergoegge> thanks glozow! 10:00 < glozow> Thanks for doing 2 whole review clubs everybody! I feel like we had some really great discussions here 10:00 < monlovesmango> thanks glozow! 10:00 < instagibbs> fwiw dergoegge's commit is a lot shorter 😅 10:01 -!- Emc99 [~Emc99@212.129.73.228] has quit [Quit: Client closed] 10:01 < glozow> haha I think there's a small bug but I do think I will end up taking it 10:01 < instagibbs> didn't validate correctness or anything 10:01 < dergoegge> (i'm only convinced it works because it passes the tests, there might be bugs) 10:01 < glozow> We should maybe spend some time thinking about what other parts of the orphan handling buffs we want to include in this first chunk 10:01 < glozow> #endmeeting 10:02 -!- monlovesmango [monlovesma@gateway/vpn/protonvpn/monlovesmango] has quit [] 10:02 -!- grettke [~grettke@syn-184-055-133-000.res.spectrum.com] has joined #bitcoin-core-pr-reviews 10:05 -!- ioannis [ion-@user/ion-] has quit [Remote host closed the connection] 10:07 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-pr-reviews 10:08 -!- premitive2 [~halloy664@user/premitive2] has quit [Ping timeout: 246 seconds] 10:22 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 10:25 -!- Zenton [~Zenton@user/zenton] has quit [Read error: Connection reset by peer] 10:26 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 10:27 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 260 seconds] 10:31 -!- BenA [~BenA@2600:8806:3512:fb00:6949:2a65:179d:bd9f] has joined #bitcoin-core-pr-reviews 10:55 -!- Zenton [~Zenton@user/zenton] has quit [Remote host closed the connection] 10:55 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 11:04 -!- Zenton [~Zenton@user/zenton] has quit [Read error: Connection reset by peer] 11:05 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 11:07 -!- grettke [~grettke@syn-184-055-133-000.res.spectrum.com] has quit [Quit: grettke] 11:09 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 11:10 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 11:11 -!- Zenton [~Zenton@user/zenton] has quit [Ping timeout: 248 seconds] 11:13 -!- BenA [~BenA@2600:8806:3512:fb00:6949:2a65:179d:bd9f] has quit [Ping timeout: 240 seconds] 11:16 -!- ioannis [ion-@user/ion-] has quit [Remote host closed the connection] 11:20 -!- chinggg [~chinggg@cspsrv00-ext.mpi-sp.org] has quit [Ping timeout: 240 seconds] 11:32 -!- grettke [~grettke@syn-184-055-133-000.res.spectrum.com] has joined #bitcoin-core-pr-reviews 11:33 -!- grettke [~grettke@syn-184-055-133-000.res.spectrum.com] has quit [Client Quit] 11:33 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 11:38 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 11:44 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 11:54 -!- ioannis [ion-@user/ion-] has quit [Remote host closed the connection] 12:03 -!- gordo-btc [~gordo-btc@2800:810:542:e25:e531:29d9:1cc6:1205] has joined #bitcoin-core-pr-reviews 12:03 -!- gordo-btc [~gordo-btc@2800:810:542:e25:e531:29d9:1cc6:1205] has quit [Client Quit] 12:05 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 12:06 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 12:09 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 12:15 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 276 seconds] 12:22 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 12:25 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 252 seconds] 12:26 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-core-pr-reviews 12:28 -!- ioannis [ion-@user/ion-] has quit [Remote host closed the connection] 12:33 -!- Talkless [~Talkless@mail.dargis.net] has quit [Remote host closed the connection] 12:45 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 12:49 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 12:51 -!- jonatack [~jonatack@user/jonatack] has quit [Ping timeout: 252 seconds] 12:52 -!- effexzi [uid474242@id-474242.ilkley.irccloud.com] has quit [Quit: Connection closed for inactivity] 12:52 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-core-pr-reviews 13:11 -!- sebastianvstaa [~sebastian@212.100.46.253] has quit [Ping timeout: 240 seconds] 13:27 -!- jonatack [~jonatack@user/jonatack] has quit [Read error: Connection reset by peer] 13:28 -!- kevkevin [~kevkevin@c-73-111-168-5.hsd1.il.comcast.net] has quit [Remote host closed the connection] 13:29 -!- jonatack [~jonatack@user/jonatack] has joined #bitcoin-core-pr-reviews 13:53 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 13:58 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 265 seconds] 14:11 -!- __gotcha [~Thunderbi@79.132.252.63] has joined #bitcoin-core-pr-reviews 14:15 -!- __gotcha [~Thunderbi@79.132.252.63] has quit [Ping timeout: 255 seconds] 14:16 -!- __gotcha [~Thunderbi@79.132.252.63] has joined #bitcoin-core-pr-reviews 14:51 -!- grettke [~grettke@syn-184-055-133-000.res.spectrum.com] has joined #bitcoin-core-pr-reviews 14:52 -!- grettke [~grettke@syn-184-055-133-000.res.spectrum.com] has quit [Client Quit] 15:04 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 15:09 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 255 seconds] 15:17 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has joined #bitcoin-core-pr-reviews 15:26 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has quit [Ping timeout: 276 seconds] 15:47 -!- __gotcha [~Thunderbi@79.132.252.63] has quit [Ping timeout: 255 seconds] 16:17 -!- abubakarsadiq [uid602234@id-602234.hampstead.irccloud.com] has joined #bitcoin-core-pr-reviews 16:28 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 16:29 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 16:34 -!- Zenton_ [~Zenton@user/zenton] has quit [Ping timeout: 252 seconds] 16:56 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 16:57 -!- grettke [~grettke@syn-184-055-133-000.res.spectrum.com] has joined #bitcoin-core-pr-reviews 17:01 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 17:11 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has quit [Ping timeout: 264 seconds] 17:11 -!- ghost43 [~ghost43@gateway/tor-sasl/ghost43] has joined #bitcoin-core-pr-reviews 17:11 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has joined #bitcoin-core-pr-reviews 17:12 -!- BlueMatt[m] [~bluematt@2620:6e:a000:ce11::d] has quit [Ping timeout: 245 seconds] 17:13 -!- kanzure [~kanzure@user/kanzure] has quit [Ping timeout: 245 seconds] 17:15 -!- kanzure [~kanzure@user/kanzure] has joined #bitcoin-core-pr-reviews 17:25 -!- BlueMatt[m] [~bluematt@2620:6e:a000:ce11::d] has joined #bitcoin-core-pr-reviews 17:49 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has quit [Remote host closed the connection] 17:50 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has joined #bitcoin-core-pr-reviews 17:56 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has quit [Ping timeout: 260 seconds] 18:03 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 18:07 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 265 seconds] 18:36 -!- kevkevin [~kevkevin@c-73-111-168-5.hsd1.il.comcast.net] has joined #bitcoin-core-pr-reviews 18:39 -!- Zenton [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 18:43 -!- kevkevin [~kevkevin@c-73-111-168-5.hsd1.il.comcast.net] has quit [Ping timeout: 246 seconds] 19:11 -!- Netsplit *.net <-> *.split quits: ghost43, kanzure, grettke, johnzweng, theStack, S3RK 19:12 -!- Netsplit *.net <-> *.split quits: jonatack, maxedw, amiti___, jesseposner, hebasto, glozow, marcofleon, pinheadmz, Zenton, jonasschnelli, (+56 more, use /NETSPLIT to show all of them) 19:19 -!- gnusha [~gnusha@user/gnusha] has joined #bitcoin-core-pr-reviews 19:19 -!- Topic for #bitcoin-core-pr-reviews: https://bitcoincore.reviews | meetings on the first Wednesday of each month at 17:00 UTC 19:19 -!- Topic set by glozow [sid453516@user/glozow] [Sun Jan 28 13:52:40 2024] 19:19 -!- Irssi: #bitcoin-core-pr-reviews: Total of 73 nicks [0 ops, 0 halfops, 0 voices, 73 normal] 19:19 -!- b10c [~quassel@static.33.106.217.95.clients.your-server.de] has joined #bitcoin-core-pr-reviews 19:19 -!- b10c [~quassel@user/b10c] has changed host 19:20 -!- PaperSword [~Thunderbi@securemail.qrsnap.io] has joined #bitcoin-core-pr-reviews 19:20 -!- katsu [~0x0ff@user/0x0ff/x-0302470] has joined #bitcoin-core-pr-reviews 19:20 -!- Channel #bitcoin-core-pr-reviews created Wed May 19 12:43:59 2021 19:23 -!- Irssi: Join to #bitcoin-core-pr-reviews was synced in 190 secs 20:21 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 20:26 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 248 seconds] 20:28 -!- Talkless [~Talkless@mail.dargis.net] has joined #bitcoin-core-pr-reviews 21:15 -!- Talkless [~Talkless@mail.dargis.net] has quit [Remote host closed the connection] 21:29 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 21:33 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has joined #bitcoin-core-pr-reviews 21:34 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 248 seconds] 21:37 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has quit [Ping timeout: 246 seconds] 22:07 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 22:09 -!- ioannis [ion-@user/ion-] has quit [Remote host closed the connection] 22:26 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 22:30 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 260 seconds] 23:16 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 23:21 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 252 seconds] 23:24 -!- Zenton_ [~Zenton@user/zenton] has quit [Remote host closed the connection] 23:24 -!- Zenton_ [~Zenton@user/zenton] has joined #bitcoin-core-pr-reviews 23:30 -!- ioannis [ion-@user/ion-] has joined #bitcoin-core-pr-reviews 23:34 -!- ioannis [ion-@user/ion-] has quit [Ping timeout: 248 seconds] 23:54 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has joined #bitcoin-core-pr-reviews 23:59 -!- kevkevin [~kevkevin@2601:243:197e:8f10:9082:cc39:1f3a:b549] has quit [Ping timeout: 260 seconds] --- Log closed Fri Dec 06 00:00:15 2024