12019-02-23T00:04:15 *** dviola has quit IRC
22019-02-23T00:30:06 *** fanquake has joined #bitcoin-core-dev
32019-02-23T00:30:52 *** pinheadmz has quit IRC
42019-02-23T00:31:13 *** pinheadmz has joined #bitcoin-core-dev
52019-02-23T00:33:51 *** m8tion has quit IRC
62019-02-23T00:39:14 *** pinheadmz has quit IRC
72019-02-23T00:39:34 *** pinheadmz has joined #bitcoin-core-dev
82019-02-23T01:00:18 *** Murch has quit IRC
92019-02-23T01:06:08 *** pinheadmz has quit IRC
102019-02-23T01:27:45 *** mischa010 has joined #bitcoin-core-dev
112019-02-23T01:28:28 <mischa010> hi!
122019-02-23T01:28:40 <mischa010> do peers remember which peers were fastest in sending them data, how does this work? are INV's sent to the 'top ranked' peers first? where is the relevant code?
132019-02-23T01:34:30 *** zhangzf has joined #bitcoin-core-dev
142019-02-23T01:41:02 <sipa> mischa010: invs are sent to all peer, period
152019-02-23T01:41:33 <sipa> if multiple peers announce the same tx/block to us, we only getdata one of them
162019-02-23T01:48:25 <gmaxwell> though inv/getdata is used rarely for blocks and is slow...
172019-02-23T01:49:06 *** Karyon has quit IRC
182019-02-23T01:49:43 <gmaxwell> tx invs are queued to all peers and then the queues are drained at random times.
192019-02-23T01:49:54 *** Emcy has quit IRC
202019-02-23T01:59:30 *** ap4lmtree- is now known as ap4lmtree
212019-02-23T02:04:19 *** captjakk has quit IRC
222019-02-23T02:04:55 *** captjakk has joined #bitcoin-core-dev
232019-02-23T02:05:00 *** pinheadmz has joined #bitcoin-core-dev
242019-02-23T02:06:19 *** Chris_Stewart_5 has joined #bitcoin-core-dev
252019-02-23T02:09:31 *** captjakk has quit IRC
262019-02-23T02:21:20 *** kexkey has quit IRC
272019-02-23T02:23:49 *** Karyon has joined #bitcoin-core-dev
282019-02-23T02:37:49 <gmaxwell> MarcoFalke: re https://github.com/bitcoin/bitcoin/pull/15451 I assume that we broke some altcoin that has other kinds of invs, and the PR author is trying to suggest a comment change that would have avoided his confusion.
292019-02-23T02:38:40 <gmaxwell> (other kinds handled via generic getdata-anything-inved logic and not handled by special cases as we do)
302019-02-23T02:54:08 *** AaronvanW has quit IRC
312019-02-23T02:58:22 *** Chris_Stewart_5 has quit IRC
322019-02-23T03:07:39 *** morcos has quit IRC
332019-02-23T03:12:20 *** morcos has joined #bitcoin-core-dev
342019-02-23T03:28:51 *** AaronvanW has joined #bitcoin-core-dev
352019-02-23T03:32:50 *** pinheadmz has quit IRC
362019-02-23T03:35:17 *** murrayn has quit IRC
372019-02-23T03:39:19 *** murrayn has joined #bitcoin-core-dev
382019-02-23T03:39:19 *** murrayn has joined #bitcoin-core-dev
392019-02-23T03:40:01 *** mischa010 has quit IRC
402019-02-23T03:43:05 *** pinheadmz has joined #bitcoin-core-dev
412019-02-23T03:45:12 *** zhangzf has quit IRC
422019-02-23T03:59:25 *** pinheadmz has quit IRC
432019-02-23T04:01:22 *** pinheadmz has joined #bitcoin-core-dev
442019-02-23T04:02:38 *** zhangzf has joined #bitcoin-core-dev
452019-02-23T04:05:35 *** Karyon has quit IRC
462019-02-23T04:08:35 *** captjakk has joined #bitcoin-core-dev
472019-02-23T04:34:38 *** pinheadmz has quit IRC
482019-02-23T04:52:18 *** AaronvanW has quit IRC
492019-02-23T04:55:23 *** mildly_risky has joined #bitcoin-core-dev
502019-02-23T04:59:10 *** spinza has quit IRC
512019-02-23T05:05:44 *** spinza has joined #bitcoin-core-dev
522019-02-23T05:10:48 *** skyikot has quit IRC
532019-02-23T05:16:40 *** captjakk has quit IRC
542019-02-23T05:18:02 *** Karyon has joined #bitcoin-core-dev
552019-02-23T05:30:53 *** skyikot has joined #bitcoin-core-dev
562019-02-23T05:58:30 *** bralyclow has joined #bitcoin-core-dev
572019-02-23T05:59:37 *** bralyclow has quit IRC
582019-02-23T06:02:18 *** ddustin has quit IRC
592019-02-23T06:02:55 *** ddustin has joined #bitcoin-core-dev
602019-02-23T06:04:31 *** hebasto has joined #bitcoin-core-dev
612019-02-23T06:07:09 *** ddustin has quit IRC
622019-02-23T06:30:40 *** ap4lmtree has quit IRC
632019-02-23T06:30:59 *** ap4lmtree has joined #bitcoin-core-dev
642019-02-23T06:51:07 *** Squidicc has joined #bitcoin-core-dev
652019-02-23T06:52:27 *** Squidicuz has quit IRC
662019-02-23T07:11:33 <fanquake> promag around today?
672019-02-23T07:12:58 *** hebasto has quit IRC
682019-02-23T07:25:01 *** OneFive has quit IRC
692019-02-23T07:26:34 *** jimmysong_ has joined #bitcoin-core-dev
702019-02-23T07:26:43 *** skyikot has quit IRC
712019-02-23T07:29:31 *** booyah_ has joined #bitcoin-core-dev
722019-02-23T07:29:33 *** skyikot has joined #bitcoin-core-dev
732019-02-23T07:31:11 *** davec_ has joined #bitcoin-core-dev
742019-02-23T07:31:25 *** [\\\] has joined #bitcoin-core-dev
752019-02-23T07:34:51 *** zhangzf has quit IRC
762019-02-23T07:36:49 *** skyikot has quit IRC
772019-02-23T07:37:32 *** commavir_ has joined #bitcoin-core-dev
782019-02-23T07:40:29 *** booyah has quit IRC
792019-02-23T07:40:36 *** Soligor has quit IRC
802019-02-23T07:40:36 *** niska has quit IRC
812019-02-23T07:40:36 *** harrymm has quit IRC
822019-02-23T07:40:36 *** copumpkin has quit IRC
832019-02-23T07:40:36 *** cornfeedhobo has quit IRC
842019-02-23T07:40:36 *** jimmysong__ has quit IRC
852019-02-23T07:40:36 *** tripleslash has quit IRC
862019-02-23T07:40:36 *** commavir has quit IRC
872019-02-23T07:41:06 *** harrymm has joined #bitcoin-core-dev
882019-02-23T07:42:06 *** copumpkin has joined #bitcoin-core-dev
892019-02-23T07:42:12 *** niska has joined #bitcoin-core-dev
902019-02-23T07:42:38 *** CubicEarth has quit IRC
912019-02-23T07:44:53 *** davec has quit IRC
922019-02-23T07:45:54 *** CubicEarth has joined #bitcoin-core-dev
932019-02-23T07:47:49 *** cornfeedhobo has joined #bitcoin-core-dev
942019-02-23T07:55:07 *** IZooo has joined #bitcoin-core-dev
952019-02-23T07:58:22 <IZooo> hello
962019-02-23T08:02:38 *** Karyon has quit IRC
972019-02-23T08:12:06 *** mildly_risky has quit IRC
982019-02-23T08:14:47 <wumpus> helllo
992019-02-23T08:23:49 *** EagleTM has joined #bitcoin-core-dev
1002019-02-23T08:41:08 *** IZooo has quit IRC
1012019-02-23T08:44:24 *** promag_ has joined #bitcoin-core-dev
1022019-02-23T08:46:59 <promag_> fanquake: hi, need something?
1032019-02-23T08:58:23 <warren> https://github.com/bitcoin/bitcoin/pull/15277 Hoping people can help with what is hopefully a simple environment difference between Ubuntu and this other distro. dongcarl is really close to a deterministic replacement for gitian's toolchain. It may only be a matter of figuring out this linker issue then writing a wrapper around the entire thing.
1042019-02-23T09:05:41 <luke-jr> warren: FWIW, our current binaries aren't actually portable, so I'm not sure how important a 1:1 match on linkage is
1052019-02-23T09:06:03 <luke-jr> (I can't run the ones gitian makes)
1062019-02-23T09:08:00 <warren> luke-jr: oh did you report the issue? what distro are you running on?
1072019-02-23T09:08:12 <luke-jr> Gentoo, IIRC someone reported it years ago
1082019-02-23T09:08:33 <luke-jr> https://github.com/bitcoin/bitcoin/issues/6628
1092019-02-23T09:08:36 <warren> are you still using that oddball x32 arch?
1102019-02-23T09:08:54 <luke-jr> no, never migrated to it, only had it in a chroot for testing (and since gave up on it and deleted)
1112019-02-23T09:09:42 <luke-jr> I'm pretty sure it's something to blame Gentoo for, but who knows
1122019-02-23T09:09:58 <warren> I'm guessing this isn't more widespread?
1132019-02-23T09:10:05 <luke-jr> the glibc ebuild seems to carry some weird patch touching __chk_fail stuff
1142019-02-23T09:10:09 <luke-jr> dunno
1152019-02-23T09:10:40 <warren> We should be more concerned about the reason why we've wanted a deterministic toolchain to replace gitian.
1162019-02-23T09:12:20 <fanquake> promag_ a few thoughts/questions about 15204, but might just put them into the PR
1172019-02-23T09:12:52 <promag_> #15204
1182019-02-23T09:12:53 <gribble> https://github.com/bitcoin/bitcoin/issues/15204 | gui: Add Open External Wallet action by promag · Pull Request #15204 · bitcoin/bitcoin · GitHub
1192019-02-23T09:13:02 <promag_> go ahead
1202019-02-23T09:20:03 <fanquake> promag_ One is wether we should just be creating a new "wallet" in any directory selected from that menu.
1212019-02-23T09:20:19 <fanquake> It's not exactly obvious that's what will happen (or if it should be the default behaviour), rather than a "No wallet to load popup/error".
1222019-02-23T09:20:34 <promag_> it should not create
1232019-02-23T09:21:19 <fanquake> Right. At the moment I can select any directory on the system, wallet directory or not, and if it's not, it's turned into one.
1242019-02-23T09:21:19 <promag_> later create wallet can have a "select other destination" or something
1252019-02-23T09:21:28 <promag_> yeah I know
1262019-02-23T09:22:15 <promag_> I want to be able to just open, not createOrOpen
1272019-02-23T09:23:07 <fanquake> Yea, that would be the preferred behaviour
1282019-02-23T09:28:01 *** EagleTM has quit IRC
1292019-02-23T09:37:29 *** promag_ has quit IRC
1302019-02-23T09:46:39 <wumpus> luke-jr: it's also not portable to systems that don't use glibc at all-in my experience the gitian-produced executables work on a wide range of systems in the wild, but undoubtly there's always a limit to portability
1312019-02-23T09:47:24 <wumpus> and we all know that full static linking has its own slew of issues
1322019-02-23T09:49:36 <wumpus> the modern way of shipping portable applications for linux are these universal package things such as snap, flatpak, appimage
1332019-02-23T09:51:31 <wumpus> it prevents issues from the variance in possible environments by running in a predictable environment with predictable versions of libc and other libraries
1342019-02-23T10:09:18 *** promag has quit IRC
1352019-02-23T10:09:33 *** promag has joined #bitcoin-core-dev
1362019-02-23T10:22:24 <gmaxwell> IIRC years ago I tried using bitcoind on a uclibc system (or musl?) but I think I couldn't get boost working.
1372019-02-23T10:23:14 <luke-jr> I think at least musl has improved a lot since then
1382019-02-23T10:24:04 <promag> gmaxwell: https://github.com/ruimarinho/docker-bitcoin-core/blob/master/0.17/alpine/Dockerfile
1392019-02-23T10:24:16 <promag> alpine uses musl iirc
1402019-02-23T10:30:37 *** Emcy has joined #bitcoin-core-dev
1412019-02-23T10:31:37 *** spinza has quit IRC
1422019-02-23T10:45:34 *** spinza has joined #bitcoin-core-dev
1432019-02-23T10:47:33 *** promag has quit IRC
1442019-02-23T11:13:04 *** IZooo has joined #bitcoin-core-dev
1452019-02-23T11:26:46 *** zhangzf has joined #bitcoin-core-dev
1462019-02-23T11:45:09 *** commavir_ is now known as commavir
1472019-02-23T12:04:44 *** booyah_ is now known as booyah
1482019-02-23T12:06:51 *** AaronvanW has joined #bitcoin-core-dev
1492019-02-23T12:07:36 *** Aaronvan_ has joined #bitcoin-core-dev
1502019-02-23T12:11:09 *** AaronvanW has quit IRC
1512019-02-23T12:17:17 *** hebasto has joined #bitcoin-core-dev
1522019-02-23T12:22:25 *** sipa has quit IRC
1532019-02-23T12:24:03 *** sipa has joined #bitcoin-core-dev
1542019-02-23T12:39:54 *** Aaronvan_ has quit IRC
1552019-02-23T12:40:26 *** AaronvanW has joined #bitcoin-core-dev
1562019-02-23T12:42:19 *** Aaronvan_ has joined #bitcoin-core-dev
1572019-02-23T12:43:36 *** Aaronvan_ is now known as AaronvanW_
1582019-02-23T12:45:27 *** AaronvanW has quit IRC
1592019-02-23T13:03:47 *** IZooo has quit IRC
1602019-02-23T13:08:45 *** promag has joined #bitcoin-core-dev
1612019-02-23T13:11:26 *** DeanGuss has quit IRC
1622019-02-23T13:11:31 *** Dean_Guss has joined #bitcoin-core-dev
1632019-02-23T13:16:37 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1642019-02-23T13:31:50 *** AaronvanW_ has quit IRC
1652019-02-23T13:37:28 *** AaronvanW has joined #bitcoin-core-dev
1662019-02-23T13:57:04 *** AaronvanW has quit IRC
1672019-02-23T14:29:46 *** AaronvanW has joined #bitcoin-core-dev
1682019-02-23T14:34:18 *** AaronvanW has quit IRC
1692019-02-23T14:39:50 *** volkov has joined #bitcoin-core-dev
1702019-02-23T14:49:56 *** volkov has quit IRC
1712019-02-23T14:50:19 *** promag has quit IRC
1722019-02-23T14:52:43 *** AaronvanW has joined #bitcoin-core-dev
1732019-02-23T14:59:55 *** profmac has quit IRC
1742019-02-23T15:05:53 *** Chris_Stewart_5 has quit IRC
1752019-02-23T15:09:32 *** Karyon has joined #bitcoin-core-dev
1762019-02-23T15:10:55 *** Chris_Stewart_5 has joined #bitcoin-core-dev
1772019-02-23T15:11:41 *** IZooo has joined #bitcoin-core-dev
1782019-02-23T15:23:58 *** EagleTM has joined #bitcoin-core-dev
1792019-02-23T15:25:28 *** zhangzf has quit IRC
1802019-02-23T15:32:03 *** Chris_Stewart_5 has quit IRC
1812019-02-23T15:46:21 *** bitcoin-git has joined #bitcoin-core-dev
1822019-02-23T15:46:21 <bitcoin-git> [bitcoin] ken2812221 opened pull request #15468: wallet: Use fsbridge::ifstream to fix Windows path issue (master...win-wallet-fix) https://github.com/bitcoin/bitcoin/pull/15468
1832019-02-23T15:46:32 *** bitcoin-git has left #bitcoin-core-dev
1842019-02-23T16:21:55 *** ap4lmtree has quit IRC
1852019-02-23T16:22:14 *** ap4lmtree has joined #bitcoin-core-dev
1862019-02-23T16:23:30 *** kelemen has joined #bitcoin-core-dev
1872019-02-23T16:24:04 *** kelemen has left #bitcoin-core-dev
1882019-02-23T16:24:42 *** kelemen has joined #bitcoin-core-dev
1892019-02-23T16:30:01 *** kelemen has quit IRC
1902019-02-23T16:47:36 *** Guyver2 has joined #bitcoin-core-dev
1912019-02-23T16:53:01 *** qubenix has quit IRC
1922019-02-23T16:53:09 *** OneFive has joined #bitcoin-core-dev
1932019-02-23T17:14:54 *** IZooo has quit IRC
1942019-02-23T17:20:04 *** Karyon_ has joined #bitcoin-core-dev
1952019-02-23T17:23:21 *** Karyon has quit IRC
1962019-02-23T17:23:27 *** profmac has joined #bitcoin-core-dev
1972019-02-23T18:02:32 *** Karyon_ is now known as Karyon
1982019-02-23T18:26:07 *** JackH_ has joined #bitcoin-core-dev
1992019-02-23T18:28:18 *** JackH has quit IRC
2002019-02-23T18:50:17 *** mn9495881 has joined #bitcoin-core-dev
2012019-02-23T18:52:23 *** Chris_Stewart_5 has joined #bitcoin-core-dev
2022019-02-23T19:13:07 *** mischa010 has joined #bitcoin-core-dev
2032019-02-23T19:14:57 <mischa010> hi, im trying to understand how peers are ranked, for example, do peers that take less time to transmit things get priority somehow? what's the relevant bit of code?
2042019-02-23T19:15:20 <mischa010> gmaxwell? :)
2052019-02-23T19:15:38 <gmaxwell> priority for what?
2062019-02-23T19:15:46 <mischa010> sending an inv for example
2072019-02-23T19:16:07 <mischa010> or getting headers
2082019-02-23T19:16:15 <mischa010> what determines which peer gets one first
2092019-02-23T19:16:25 <gmaxwell> transaction invs are batched and are done at totally random times... the only real priority there is that the random times are more frequent for outbound peers.
2102019-02-23T19:17:03 <mischa010> why is it random instead of immediately?
2112019-02-23T19:17:27 *** fanquake has quit IRC
2122019-02-23T19:17:38 *** Karyon_ has joined #bitcoin-core-dev
2132019-02-23T19:17:50 <gmaxwell> because immediately would be toxic for privacy and would waste more bandwidth from INVs crossing in flight (so two peers would INV each other the same txn, which happens quite rarely now)
2142019-02-23T19:19:31 <mischa010> interesting
2152019-02-23T19:19:42 *** Karyon has quit IRC
2162019-02-23T19:22:20 <sipa> mischa010: the delay is in the order of a few seconds usually
2172019-02-23T19:23:53 <mischa010> and blocks? those aren't delayed right?
2182019-02-23T19:24:12 <sipa> indeed
2192019-02-23T19:24:13 <mischa010> but there'
2202019-02-23T19:24:23 <sipa> they're relayed as fast as possible
2212019-02-23T19:24:56 <mischa010> but there's no peer priority/ranking in relaying blocks? so it's possible a block is relayed to a slow peer instead of the n fastest ones?
2222019-02-23T19:25:33 <sipa> usually blocks are relayed using compact blocks, which are just a few kb
2232019-02-23T19:25:52 <sipa> which is too little to cause much contention on most uplinks
2242019-02-23T19:29:39 <mischa010> but outbound nodes have priority in some cases right?
2252019-02-23T19:30:19 <mischa010> there's a comment in net_processing.cpp about 'nice' peers
2262019-02-23T19:32:44 *** fanquake has joined #bitcoin-core-dev
2272019-02-23T19:38:19 *** qubenix has joined #bitcoin-core-dev
2282019-02-23T19:43:42 *** qubenix has quit IRC
2292019-02-23T19:48:23 *** qubenix has joined #bitcoin-core-dev
2302019-02-23T19:52:25 *** ap4lmtree has quit IRC
2312019-02-23T19:55:03 *** captjakk has joined #bitcoin-core-dev
2322019-02-23T19:59:04 *** AaronvanW has quit IRC
2332019-02-23T20:10:13 *** Karyon_ has quit IRC
2342019-02-23T20:11:01 *** Soligor has joined #bitcoin-core-dev
2352019-02-23T20:17:25 *** irc_viewer_test has joined #bitcoin-core-dev
2362019-02-23T20:18:37 *** captjakk has quit IRC
2372019-02-23T20:20:31 *** spinza has quit IRC
2382019-02-23T20:26:28 *** spinza has joined #bitcoin-core-dev
2392019-02-23T20:28:56 *** LeMiner has joined #bitcoin-core-dev
2402019-02-23T20:31:12 *** AaronvanW has joined #bitcoin-core-dev
2412019-02-23T20:35:40 *** ap4lmtree has joined #bitcoin-core-dev
2422019-02-23T20:35:58 *** AaronvanW has quit IRC
2432019-02-23T20:38:40 *** dviola has joined #bitcoin-core-dev
2442019-02-23T20:41:24 *** irc_viewer_test has quit IRC
2452019-02-23T20:45:31 *** LeMiner has quit IRC
2462019-02-23T20:45:40 *** ddustin has joined #bitcoin-core-dev
2472019-02-23T20:50:02 *** ddustin has quit IRC
2482019-02-23T21:04:42 *** AaronvanW has joined #bitcoin-core-dev
2492019-02-23T21:07:28 *** captjakk has joined #bitcoin-core-dev
2502019-02-23T21:09:06 *** AaronvanW has quit IRC
2512019-02-23T21:16:19 *** Karyon_ has joined #bitcoin-core-dev
2522019-02-23T21:33:46 *** Chris_Stewart_5 has quit IRC
2532019-02-23T21:44:36 *** fabianfabian has joined #bitcoin-core-dev
2542019-02-23T21:45:36 *** Karyon_ has quit IRC
2552019-02-23T21:50:07 *** AaronvanW has joined #bitcoin-core-dev
2562019-02-23T21:54:22 *** AaronvanW has quit IRC
2572019-02-23T21:58:15 <mischa010> in this thread it's claimed that compact blocks does indeed rank peers by their speed? https://www.reddit.com/r/Bitcoin/comments/5zo2ku/how_do_i_configure_my_node_to_use_highbandwidth/
2582019-02-23T21:58:21 <mischa010> is this true>
2592019-02-23T21:58:23 <mischa010> ?
2602019-02-23T22:01:20 <sipa> every node picks 3 peers which it asks to send compact blocks directly, instead of having them first announce the block
2612019-02-23T22:02:17 *** Guyver2 has quit IRC
2622019-02-23T22:06:05 *** Karyon has joined #bitcoin-core-dev
2632019-02-23T22:11:47 *** hebasto has quit IRC
2642019-02-23T22:13:11 <captjakk> Does anyone know why I would be getting a "connection refused" when connecting my lnd to my remote bitcoind instance
2652019-02-23T22:13:27 <captjakk> to be clear, I'm talking about the zmq port
2662019-02-23T22:13:36 <captjakk> also zmq isn't refusing connections from localhost
2672019-02-23T22:13:51 <captjakk> ufw (ubuntu) has been set to allow the zmq ports as well
2682019-02-23T22:20:27 *** owowo has quit IRC
2692019-02-23T22:25:37 *** owowo has joined #bitcoin-core-dev
2702019-02-23T22:25:38 *** owowo has joined #bitcoin-core-dev
2712019-02-23T22:30:27 <captjakk> looks like my zmq interface was set only to 127.0.0.1
2722019-02-23T22:32:06 *** captjakk_ has joined #bitcoin-core-dev
2732019-02-23T22:34:18 <echeveria> you really donât want to bind ZMQ to anywhere but local host.
2742019-02-23T22:34:43 <echeveria> if anyone is telling you otherwise, theyâre probably being insanely stupid.
2752019-02-23T22:35:52 *** captjakk has quit IRC
2762019-02-23T22:51:44 <captjakk_> even if i want to subscribe to zmq updates from a different machine?
2772019-02-23T22:54:28 *** spinza has quit IRC
2782019-02-23T22:54:58 *** skyikot has joined #bitcoin-core-dev
2792019-02-23T22:56:35 <jimpo>
2802019-02-23T23:00:24 *** Chris_Stewart_5 has joined #bitcoin-core-dev
2812019-02-23T23:01:30 <sipa>
2822019-02-23T23:03:04 <echeveria> captjakk_: like, donât.
2832019-02-23T23:03:25 <echeveria> itâs not authenticated. itâs not secure. it has a large attack surface. use a VPN if you have to.
2842019-02-23T23:03:34 <sipa> echeveria: within a local network it's fine
2852019-02-23T23:03:54 <sipa> but don't exoose it to the internet...
2862019-02-23T23:06:05 *** Chris_Stewart_5 has quit IRC
2872019-02-23T23:08:22 <gmaxwell> ZMQ also requires both end be running the same library version, so that also makes it not so attractive for things that aren't very tightly coupled.
2882019-02-23T23:09:00 *** IGHOR has quit IRC
2892019-02-23T23:09:27 *** spinza has joined #bitcoin-core-dev
2902019-02-23T23:10:09 <gmaxwell> mischa010: thats why I asked you to be specific earlier.
2912019-02-23T23:10:31 <gmaxwell> 11:14:57 < mischa010> hi, im trying to understand how peers are ranked, for
2922019-02-23T23:10:31 <gmaxwell> example, do peers that take less time to transmit things
2932019-02-23T23:10:31 <gmaxwell> get priority somehow? what's the relevant bit of code?
2942019-02-23T23:10:31 <gmaxwell> 11:15:20 < mischa010> gmaxwell? :)
2952019-02-23T23:10:31 <gmaxwell> 11:15:38 < gmaxwell> priority for what?
2962019-02-23T23:10:31 <gmaxwell> 11:15:46 < mischa010> sending an inv for example
2972019-02-23T23:10:54 <gmaxwell> INVs aren't used for relaying blocks except as a backwards compatible fallback.
2982019-02-23T23:11:55 <gmaxwell> Peers request the last three distinct peers to first provide them a block to request to compact blocks to them without first asking (alowing 0.5 RTT transmission in most cases).
2992019-02-23T23:12:21 <gmaxwell> when a block comes in, those requests are services first-- in partcular because they can be serviced prior to validation.
3002019-02-23T23:12:46 *** IGHOR has joined #bitcoin-core-dev
3012019-02-23T23:13:47 <gmaxwell> The 'order' doesn't really matter (at least not much) because CB messages are very small (10kb or so), and transmission is non-blocking.
3022019-02-23T23:14:33 <gmaxwell> I tried before trying to sort sends by the nodes own CB preference, but I was unable to measure an improvement even in a pretty contrived setup, so it wasn't worth PRing.
3032019-02-23T23:31:40 *** captjakk_ has quit IRC
3042019-02-23T23:32:13 *** captjakk has joined #bitcoin-core-dev
3052019-02-23T23:33:10 *** captjakk_ has joined #bitcoin-core-dev
3062019-02-23T23:36:32 *** captjakk has quit IRC
3072019-02-23T23:41:39 *** IGHOR has quit IRC
3082019-02-23T23:50:58 *** AaronvanW has joined #bitcoin-core-dev
3092019-02-23T23:52:08 *** promag has joined #bitcoin-core-dev
3102019-02-23T23:54:22 *** captjakk_ has quit IRC
3112019-02-23T23:55:32 *** AaronvanW has quit IRC
3122019-02-23T23:55:41 *** IGHOR has joined #bitcoin-core-dev