sipa changed the topic of #bitcoin-wizards to: This channel is for discussing theoretical ideas with regard to cryptocurrencies, not about short-term Bitcoin development | http://bitcoin.ninja/ | This channel is logged. | For logs and more information, visit http://bitcoin.ninja
<gmaxwell> bsm1175321: there is a seperate parameter for incoming and outgoing connections.
<bsm1175321> Hmmm...I've been thinking about an adaptive analysis. e.g. if you have no other traffic, that one txn you sent must have come from you, no matter the delay.
<stevenroose> gmaxwell, what was the prior behavior?
<sipa> bsm1175321: it's fixed; 0.2Hz for outbound peers, and 0.1Hz for inbound (i love using appropriate units)
<stevenroose> btcd seems to have a trickle ticker on which to send a peer all outstanding inv items
<bsm1175321> That's on par with network latencies...
<stevenroose> which is kind of random delays since these tickers are started at different times
<gmaxwell> stevenroose: yea, and does it actually work? previously in core the ticker ticked at the rate of network messages, effectively.. so you could just ping a node a bunch and empty its queue.
<sipa> stevenroose: prior behaviour was relay every transaction immediately to 1/4th randomly selected peers, and queue up the rest (in order), until a tick passes... and with unrelated network refactors that tick could be made to happen instantly
<stevenroose> gmaxwell, every peer has it's own ticker
<bsm1175321> Mixing networks also depend on a certain amount of junk traffic, to hide legitimate traffic.
<stevenroose> so it's not just wait a random time and then push to all (or all other 3/4th apparently)
<gmaxwell> stevenroose: does it then send all the transactions in the same order they came in?
<stevenroose> you mean if it scrambles the queue?
<bsm1175321> If each message had an independent timer, it would effectively scramble it...
<sipa> bsm1175321: unfortunately, that breaks tx dependencies
<bsm1175321> ugh. true.
<sipa> core sorts the transactions by feerate and dependency order
<sipa> within each batch
<stevenroose> bsm1175321, messages don't have timers, peers have
<stevenroose> gmaxwell, it doesn't seem to scramble the queue order
<gmaxwell> yea...
<stevenroose> but that's a trivial change, I might do that
<bsm1175321> sipa: that could be overcome by having a "limbo" tx pool, waiting on missing inputs...
<gmaxwell> stevenroose: it's not totally trivial because of dependencies.
<bsm1175321> But it's trivial for an attacker to flood that pool...
<gmaxwell> damn man
<sipa> bsm1175321: dude
<sipa> bsm1175321: bitcoin has had that since 2009
<bsm1175321> Uh...so why not randomize the outgoing order again?
<sipa> randomizing is not better than sorting deterministically
<sipa> in terms of information
<stevenroose> gmaxwell, you mean that nodes handle txs in incoming inventories in arriving order?
<sipa> bsm1175321: and relying on the orphan pool (as the limbo tx pool is called) severaly hurts propagation
<bsm1175321> These ideas increase privacy at the expense of propagation...
<stevenroose> so that if two txs in the queue happen to be dependent, the receiving peer will reject one
<sipa> the current solution does not, i believe
<sipa> it sorts first in dependency order, then by feerate, then by txid
<sipa> that completely hides the ordering information to the extent possible
chjj has quit [Ping timeout: 258 seconds]
c0rw1n_ has joined #bitcoin-wizards
<stevenroose> sipa, that's neat
<stevenroose> sipa, if I understood correctly, core does that with a queue that is held globally for all peers?
<sipa> stevenroose: no, per peer
<sipa> there are poission distributed ticks for tx relay, that fire independently for each peer
<stevenroose> oh yeah, prior behavior
<gmaxwell> outbound sending has always been per peer.
<sipa> whenever a tick happens, the set of unrelayed transactions for that peer is sorted occording to the rules above, and sent out
<gmaxwell> stevenroose btcd just reimplemented the old behavior (maybe +/- queue drain bug)
<stevenroose> sipa, gmaxwell, any chance you could point me to the code where core does the queue sorting?
c0rw1n has quit [Ping timeout: 264 seconds]
<stevenroose> Thanks! I'm off to bed, but I'm gonna have a look at that soon(ish)!
rmwb has quit [Remote host closed the connection]
<sipa> stevenroose: it does a few more things, like filter our duplicates, rate-limit, and skip things that we have removed from our mempool already
rmwb has joined #bitcoin-wizards
<sipa> oh, and BIP37 and BIP133 filtering
<stevenroose> prob also removing the ones that the peer already sent us by the time the tick comes
<sipa> right, that's the duplicates filtering
itsme_ has quit [Quit: Textual IRC Client: www.textualapp.com]
boing has joined #bitcoin-wizards
Wobbli has quit [Ping timeout: 240 seconds]
chjj has joined #bitcoin-wizards
wasi has quit [Remote host closed the connection]
wasi has joined #bitcoin-wizards
oleganza has quit [Quit: oleganza]
Guest65827 has quit []
<stevenroose> Does a node have an (obvious) way to distinguish a peer going offline or being banned?
<stevenroose> I guess trying a reconnect might be a way to find out, depends though
<gmaxwell> Not afaik.
<sipa> you're likely to get a reject message, i think
tromp has joined #bitcoin-wizards
Wobbli has joined #bitcoin-wizards
Ylbam has quit [Quit: Connection closed for inactivity]
<stevenroose> Supposing nodes don't occasionally randomly disconnect (which actually might not be a very bad idea..), I'm thinking that I might run a pure-listen bitcoind node next to my btcd node and monitor how often a peer disconnects from the btcd node while staying connected to bitcoind
<stevenroose> But now I'm off so bed. Great appreciation to you guys being here on IRC answering questions while you obviously all have a lot of work breathing down your necks!
bityogi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Belkaar has quit [Ping timeout: 260 seconds]
Belkaar has joined #bitcoin-wizards
Belkaar has joined #bitcoin-wizards
Belkaar has quit [Changing host]
keebler has quit [Ping timeout: 240 seconds]
tromp has quit [Remote host closed the connection]
keebler has joined #bitcoin-wizards
lmatteis has quit [Quit: Connection closed for inactivity]
Burrito has quit [Quit: Leaving]
tromp has joined #bitcoin-wizards
edvorg has joined #bitcoin-wizards
CubicEar_ has quit []
Chris_Stewart_5 has quit [Ping timeout: 258 seconds]
kenshi84_ has joined #bitcoin-wizards
edvorg has quit [Remote host closed the connection]
kenshi84_ has left #bitcoin-wizards ["Leaving..."]
tromp has quit [Remote host closed the connection]
edvorg has joined #bitcoin-wizards
alpalp has joined #bitcoin-wizards
alpalp has joined #bitcoin-wizards
alpalp has quit [Changing host]
Noldorin has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rmwb has quit [Remote host closed the connection]
PRab has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
tromp has quit [Remote host closed the connection]
tromp has joined #bitcoin-wizards
licnep has quit [Quit: Connection closed for inactivity]
alpalp has quit [Ping timeout: 246 seconds]
keebler has quit [Ping timeout: 260 seconds]
rusty has quit [Quit: Leaving.]
rusty has joined #bitcoin-wizards
pro has quit [Quit: Leaving]
JackH has quit [Ping timeout: 264 seconds]
keebler has joined #bitcoin-wizards
oleganza has joined #bitcoin-wizards
oleganza has quit [Client Quit]
oleganza has joined #bitcoin-wizards
edvorg has quit [Ping timeout: 260 seconds]
rmwb has joined #bitcoin-wizards
pigeons has quit [Ping timeout: 264 seconds]
rmwb has quit [Ping timeout: 240 seconds]
rmwb has joined #bitcoin-wizards
liviud_ has quit [Ping timeout: 240 seconds]
liviud has joined #bitcoin-wizards
Newyorkadam has joined #bitcoin-wizards
Wobbli has quit [Ping timeout: 240 seconds]
legogris has quit [Remote host closed the connection]
legogris has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
Wobbli has joined #bitcoin-wizards
Wobbli has quit [Ping timeout: 260 seconds]
jtimon has quit [Ping timeout: 240 seconds]
Wobbli has joined #bitcoin-wizards
goksinen has quit [Remote host closed the connection]
TheSeven has quit [Ping timeout: 260 seconds]
TheSeven has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
goksinen has quit [Ping timeout: 256 seconds]
rmwb has quit [Remote host closed the connection]
tromp has quit [Remote host closed the connection]
rmwb has joined #bitcoin-wizards
keebler has quit [Ping timeout: 260 seconds]
venzen_ has joined #bitcoin-wizards
wasi has quit [Ping timeout: 240 seconds]
venzen has quit [Ping timeout: 240 seconds]
markus-k has quit [Ping timeout: 240 seconds]
markus-k_ has joined #bitcoin-wizards
wasi has joined #bitcoin-wizards
keebler has joined #bitcoin-wizards
wasi has quit [Ping timeout: 240 seconds]
Newyorkadam has quit [Quit: Newyorkadam]
wasi has joined #bitcoin-wizards
keebler has quit [Ping timeout: 258 seconds]
goksinen has joined #bitcoin-wizards
Aranjedeath has quit [Quit: Three sheets to the wind]
goksinen has quit [Ping timeout: 246 seconds]
Wobbli has quit [Ping timeout: 260 seconds]
thom- has quit [Ping timeout: 240 seconds]
tromp has joined #bitcoin-wizards
thom- has joined #bitcoin-wizards
madacol has quit [Ping timeout: 240 seconds]
madacol has joined #bitcoin-wizards
tromp has quit [Ping timeout: 240 seconds]
Wobbli has joined #bitcoin-wizards
rusty has quit [Ping timeout: 258 seconds]
MoALTz has joined #bitcoin-wizards
Wobbli has quit [Ping timeout: 240 seconds]
afk11 has quit [Remote host closed the connection]
afk11 has joined #bitcoin-wizards
oleganza has quit [Quit: oleganza]
chjj has quit [Ping timeout: 268 seconds]
juscamarena has quit [Remote host closed the connection]
BashCo has quit [Remote host closed the connection]
juscamarena has joined #bitcoin-wizards
juscamarena has quit [Remote host closed the connection]
juscamarena has joined #bitcoin-wizards
Ylbam has joined #bitcoin-wizards
chjj has joined #bitcoin-wizards
juscamarena has quit [Ping timeout: 240 seconds]
juscamarena has joined #bitcoin-wizards
rmwb has quit [Remote host closed the connection]
Logicwax has quit [Ping timeout: 258 seconds]
Logicwax has joined #bitcoin-wizards
BashCo has joined #bitcoin-wizards
mol has joined #bitcoin-wizards
moli_ has quit [Ping timeout: 256 seconds]
goksinen has joined #bitcoin-wizards
MaxSan has quit [Ping timeout: 240 seconds]
goksinen has quit [Ping timeout: 246 seconds]
paveljanik has quit [Ping timeout: 260 seconds]
Guyver2 has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
MaxSan has joined #bitcoin-wizards
kenshi84 has quit [Ping timeout: 258 seconds]
tromp has quit [Ping timeout: 240 seconds]
Wobbli has joined #bitcoin-wizards
Wobbli has quit [Client Quit]
paveljanik has joined #bitcoin-wizards
paveljanik has joined #bitcoin-wizards
paveljanik has quit [Changing host]
paveljanik has quit [Client Quit]
rmwb has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
goksinen has quit [Ping timeout: 246 seconds]
kenshi84 has joined #bitcoin-wizards
rmwb has quit [Ping timeout: 260 seconds]
thrmo has quit [Remote host closed the connection]
thrmo has joined #bitcoin-wizards
pigeons has joined #bitcoin-wizards
pigeons is now known as Guest99195
Guest99195 is now known as pigeons
tromp has joined #bitcoin-wizards
thrmo has quit [Ping timeout: 246 seconds]
thrmo has joined #bitcoin-wizards
tromp has quit [Ping timeout: 256 seconds]
Beverly has quit [Remote host closed the connection]
molz_ has joined #bitcoin-wizards
Bud has joined #bitcoin-wizards
mol has quit [Ping timeout: 256 seconds]
rusty has joined #bitcoin-wizards
d9b4bef9 has quit [Remote host closed the connection]
d9b4bef9 has joined #bitcoin-wizards
rmwb has joined #bitcoin-wizards
vitor32 has joined #bitcoin-wizards
lmatteis has joined #bitcoin-wizards
<vitor32> helllo
<vitor32> Can someone give me 1 dollar ??? PLEASE HELP ME 14rThNDi2VPnqXamviHVDDnw1ND4vTZMA6
<vitor32> Can someone give me 1 dollar ??? PLEASE HELP ME 14rThNDi2VPnqXamviHVDDnw1ND4vTZMA6
<fluffypony> vitor32: no.
<vitor32> plz
<vitor32> help me
wasi has quit [Remote host closed the connection]
wasi has joined #bitcoin-wizards
<rabidus> poor brazil :(
<rabidus> that would indeed need some wizarding to send dollars to bitcoin blockchain
<vitor32> Can someone give me 1 dollar ??? PLEASE HELP ME 14rThNDi2VPnqXamviHVDDnw1ND4vTZMA6
<vitor32> pleaseeee
rmwb has quit [Ping timeout: 258 seconds]
<vitor32> can help me
<fluffypony> vitor32: ask in #bitcoin, everyone here is poor
<vitor32> Can someone give me 1 dollar ??? PLEASE HELP ME 14rThNDi2VPnqXamviHVDDnw1ND4vTZMA6
<thrmo> sorry, my dollar wallet is not working as of late
jannes has joined #bitcoin-wizards
JackH has joined #bitcoin-wizards
<vitor32> Can someone give me 1 dollar ??? PLEASE HELP ME 14rThNDi2VPnqXamviHVDDnw1ND4vTZMA6
hmachado has quit [Read error: Connection reset by peer]
<fluffypony> luke-jr: plz fix ^^
<parazyd> thrmo: lol
vitor32 was kicked from #bitcoin-wizards by luke-jr [die]
AaronvanW has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
rmwb has joined #bitcoin-wizards
tromp has quit [Ping timeout: 268 seconds]
rusty has quit [Ping timeout: 264 seconds]
harrymm has joined #bitcoin-wizards
rmwb has quit [Ping timeout: 256 seconds]
thrmo has quit [Quit: Waiting for .007]
skeuomorf has joined #bitcoin-wizards
alpalp has joined #bitcoin-wizards
Bud has quit [Remote host closed the connection]
Marion has joined #bitcoin-wizards
CheckDavid has joined #bitcoin-wizards
alpalp has quit [Remote host closed the connection]
alpalp has joined #bitcoin-wizards
alpalp has joined #bitcoin-wizards
alpalp has quit [Changing host]
BashCo_ has joined #bitcoin-wizards
rmwb has joined #bitcoin-wizards
BashCo has quit [Ping timeout: 260 seconds]
n1ce has quit [Quit: brb]
bityogi has joined #bitcoin-wizards
pro has joined #bitcoin-wizards
paveljanik has joined #bitcoin-wizards
rmwb has quit [Ping timeout: 258 seconds]
Marion has quit [Remote host closed the connection]
alpalp has quit [Ping timeout: 246 seconds]
talmai has joined #bitcoin-wizards
Burrito has joined #bitcoin-wizards
c0rw1n_ has quit [Ping timeout: 264 seconds]
itsme_ has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
goksinen has quit [Ping timeout: 246 seconds]
jtimon has joined #bitcoin-wizards
rmwb has joined #bitcoin-wizards
madacol has quit [Ping timeout: 246 seconds]
talmai has quit [Quit: mining]
Newyorkadam has joined #bitcoin-wizards
Newyorkadam has quit [Client Quit]
rmwb has quit [Ping timeout: 258 seconds]
licnep has joined #bitcoin-wizards
thrmo has joined #bitcoin-wizards
afk11 has quit [Remote host closed the connection]
afk11 has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
Pr0t3us has joined #bitcoin-wizards
goksinen has quit [Ping timeout: 246 seconds]
madacol has joined #bitcoin-wizards
madacol has quit [Client Quit]
madacol has joined #bitcoin-wizards
talmai has joined #bitcoin-wizards
madacol has quit [Client Quit]
madacol has joined #bitcoin-wizards
madacol has quit [Client Quit]
Pr0t3us has quit [Remote host closed the connection]
voyager_ has quit [Read error: Connection reset by peer]
skeuomorf has quit [Ping timeout: 260 seconds]
laurentmt has joined #bitcoin-wizards
laurentmt has quit [Client Quit]
talmai has quit [Quit: mining]
dnaleor has quit [Quit: Leaving]
rmwb has joined #bitcoin-wizards
dnaleor has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
goksinen has quit [Ping timeout: 246 seconds]
dispel has quit [Quit: Connection closed for inactivity]
chjj has quit [Quit: WeeChat 1.7]
boing has quit []
huseby has quit [Ping timeout: 256 seconds]
Noldorin has joined #bitcoin-wizards
rmwb has quit [Ping timeout: 258 seconds]
BashCo_ has quit [Remote host closed the connection]
MaxSan has quit [Ping timeout: 260 seconds]
huseby has joined #bitcoin-wizards
BashCo has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
tromp has quit [Ping timeout: 240 seconds]
oleganza has joined #bitcoin-wizards
MaxSan has joined #bitcoin-wizards
rmwb has joined #bitcoin-wizards
MoALTz has quit [Quit: Leaving]
MoALTz has joined #bitcoin-wizards
rmwb has quit [Ping timeout: 256 seconds]
implite has joined #bitcoin-wizards
implite has left #bitcoin-wizards ["Leaving"]
skeuomorf has joined #bitcoin-wizards
afk11 has quit [Ping timeout: 240 seconds]
moli_ has joined #bitcoin-wizards
molz_ has quit [Ping timeout: 260 seconds]
afk11 has joined #bitcoin-wizards
voyager_ has joined #bitcoin-wizards
thrmo has quit [Quit: Waiting for .007]
lmatteis has quit [Quit: Connection closed for inactivity]
voyager_ has quit [Ping timeout: 260 seconds]
rmwb has joined #bitcoin-wizards
afk11 has quit [Ping timeout: 240 seconds]
afk11 has joined #bitcoin-wizards
Aranjedeath has joined #bitcoin-wizards
voyager_ has joined #bitcoin-wizards
lmatteis has joined #bitcoin-wizards
rmwb has quit [Ping timeout: 258 seconds]
<Cory> gmaxwell: Heh, I just happened to attend a talk by Giulia Fanti today (on Dandelion). Funny catching her paper in recent scrollback here.
<Cory> stevenroose, maybe you'd be interested in that paper too (stronger p2p network anonymity). In dandelion spreading, transactions are stochastically broadcast to just one peer for a while before being broadcast normally ("diffusion").
cytek has joined #bitcoin-wizards
<gmaxwell> Cory: ah.. a prior patch I wrote had send transactions preferrentially to two peers first, but it garnished no little/no review.
<fluffypony> someone's suggesting BFT as an alternative to PoW, it appears they mean Tendermint - has anything been written up on it (ala andytoshi's PoS writeup) ?
<gmaxwell> Cory: the relay process in bitcoin has many more considerations than privacy (in fact, we've generally regarded the lack of strong privacy as uncurable in this general design and recommend users announce txn over tor)
<fluffypony> besides the old-ish -wizards log where adam3us discusses it
<gmaxwell> Cory: a lot of the conserations in the relay behavior is around efficiency. See for example this line-propagation proposal https://bitcointalk.org/index.php?topic=1377345.0 (second half of the post).
rmwb has joined #bitcoin-wizards
Fibonacci has joined #bitcoin-wizards
<mappum> fluffypony: where can i find andytoshi's PoS writeup?
<mappum> ty
MaxSan has quit [Ping timeout: 246 seconds]
mol has joined #bitcoin-wizards
mol is now known as moli
moli_ has quit [Ping timeout: 246 seconds]
MoALTz has quit [Quit: Leaving]
abpa has joined #bitcoin-wizards
mol has joined #bitcoin-wizards
moli has quit [Ping timeout: 246 seconds]
afk11 has quit [Ping timeout: 240 seconds]
afk11 has joined #bitcoin-wizards
rmwb has quit [Ping timeout: 256 seconds]
MaxSan has joined #bitcoin-wizards
voyager_ has quit [Read error: Connection reset by peer]
voyager_ has joined #bitcoin-wizards
Guyver2 has quit [Quit: :)]
laurentmt has joined #bitcoin-wizards
Davasny has joined #bitcoin-wizards
Davasny is now known as Guest20220
laurentmt has quit [Client Quit]
javax has quit [Ping timeout: 240 seconds]
javax has joined #bitcoin-wizards
fletom has quit [Remote host closed the connection]
fletom has joined #bitcoin-wizards
rmwb has joined #bitcoin-wizards
face has quit [Read error: Connection reset by peer]
Guest20220 has quit [Remote host closed the connection]
thrmo has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
goksinen has quit [Ping timeout: 246 seconds]
BurritoBazooka has joined #bitcoin-wizards
Burrito has quit [Ping timeout: 260 seconds]
rmwb has quit [Ping timeout: 256 seconds]
BashCo has quit [Remote host closed the connection]
BashCo has joined #bitcoin-wizards
BurritoBazooka is now known as Burrito
str4d has joined #bitcoin-wizards
tromp has joined #bitcoin-wizards
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
vega4 has joined #bitcoin-wizards
rusty has joined #bitcoin-wizards
goksinen has joined #bitcoin-wizards
goksinen has quit [Ping timeout: 246 seconds]
rmwb has joined #bitcoin-wizards
rmwb has quit [Remote host closed the connection]
rusty has quit [Ping timeout: 260 seconds]
d9b4bef9 has quit [Remote host closed the connection]
arowser has quit [Ping timeout: 264 seconds]
arowser has joined #bitcoin-wizards
d9b4bef9 has joined #bitcoin-wizards
cyphase has quit [Ping timeout: 240 seconds]
cyphase has joined #bitcoin-wizards
AaronvanW has quit []
LeMiner has quit [Ping timeout: 260 seconds]
rmwb has joined #bitcoin-wizards
cyphase has quit [Ping timeout: 246 seconds]
LeMiner has joined #bitcoin-wizards
cyphase has joined #bitcoin-wizards
cyphase has quit [Ping timeout: 260 seconds]
kristofferR has joined #bitcoin-wizards
cyphase has joined #bitcoin-wizards
tromp has quit [Remote host closed the connection]
abpa has quit [Quit: Textual IRC Client: www.textualapp.com]
dnaleor has quit [Quit: Leaving]