--- Log opened Mon Oct 26 00:00:58 2020 00:49 < kcalvinalvin> 492 is an odd number 00:50 < kcalvinalvin> Lol 381 is special because it's the first block in testnet3 with a spend 00:51 < kcalvinalvin> 383 is the first with multiple spends 01:31 -!- belcher_ [~belcher@unaffiliated/belcher] has joined #utreexo 01:35 -!- belcher [~belcher@unaffiliated/belcher] has quit [Ping timeout: 272 seconds] 01:46 -!- belcher_ is now known as belcher 07:14 -!- ghost43_ [~daer@gateway/tor-sasl/daer] has joined #utreexo 07:15 -!- ghost43 [~daer@gateway/tor-sasl/daer] has quit [Ping timeout: 240 seconds] 07:22 < adiabat> 429 probably has some other "first", like first 0-duration spend 07:23 < adiabat> no that's 383 actually 07:23 < adiabat> i'm sure 429 has a first something, if I see what it is that will lead to the bug 12:39 -!- mdrollette [~mdrollett@cpe-70-123-125-237.tx.res.rr.com] has quit [Quit: bye] 13:04 -!- mdrollette [~mdrollett@cpe-70-123-125-237.tx.res.rr.com] has joined #utreexo 13:05 -!- mdrollette [~mdrollett@cpe-70-123-125-237.tx.res.rr.com] has quit [Client Quit] 18:31 < adiabat> hm nope never mind it's non-deterministic. 18:31 < adiabat> so it's nothing in the block. probably some TCP code that hangs up then stops once the buffer is done 18:37 < adiabat> oh man this PR... so many weird bugs. I don't think I'm very good at network code 18:37 < adiabat> it's some non-deterministic network deserialization thing... sometimes it gets to block 800... 19:15 < adiabat> ... and if I put in printfs to see what's going wrong, it fixed the problem. seriously. 19:15 < adiabat> but only because it's slowing it down a lot 19:16 < adiabat> TCP means all the bytes get there in order, right? And nothing gets dropped..? 19:39 < adiabat> haha now I took the printfs out and the bug isn't showing up anymore... 19:54 < adiabat> ok. Bet I know how to fix this. 19:54 < adiabat> In btcd, they never have an io.reader r and call r.Read(). Ever. 19:55 < adiabat> they use io.ReadFull(r, dest) 19:55 < adiabat> so... clearly r.Read(dest) doesn't work and io.ReadFull(r, dest) works. because it reads the whole thing instead of part. 19:56 < adiabat> gotta find everywhere I say r.Read and change it. bet that fixes it. 20:01 < adiabat> yup that was it. sigh. 20:07 < ja> nice, congrats :) 20:14 < adiabat> well now there's some other bug at height 4110 20:14 < adiabat> which is the first really big block that's 999238 bytes 20:14 < adiabat> so... testnet3 is good for testing because mainnet doesn't have a block like that for years --- Log closed Tue Oct 27 00:00:58 2020