< phantomcircuit>
morcos, #7589 why create a new class instead of adding those methods to CBlockTemplate
< phantomcircuit>
something like CBlockTemplate::buildFromMempool(CTxMempool& mempool)
< morcos>
phantomcircuit: good question. I suppose it could ahve been done that way.
< morcos>
I'm not a super big fan of CBlockTemplate honestly
< morcos>
perhaps when we have more time on our hands we can do a more radical redesign....
< phantomcircuit>
morcos, what dont you like about it?
< jtimon>
oh, bip9 now has a graph with the state machine, very nice
< phantomcircuit>
gmaxwell, are you aware of any libraries for forward error correction which are mit licensed and competently done?
< sipa>
phantomcircuit: tell me if you find one
< phantomcircuit>
sipa, not encouraging! :P
< sipa>
phantomcircuit: i'd say BlockAssembler is an encapsulation of the state maintained during the runtime of CreateNewBlock, but not useful afterwards
< sipa>
CBlockTemplate is the result, and its behaviour is defined by the GBT RPC call
< gmaxwell>
phantomcircuit: forward error correction is a pretty broad space, I'd need more info.
< phantomcircuit>
gmaxwell, split block into lots of udp packets and attempt to reassemble on the other end
< midnightmagic>
zfec
< midnightmagic>
the tahoe guys use it -- as far as I'm aware it's also the fastest
< gmaxwell>
cpu time of an RS code is going to be too slow for your application.
< gmaxwell>
very likely.
< gmaxwell>
(if followed up with phantomcircuit off channel)
< instagibbs>
im still getting a ton of potential deadlocks, and got this overnight, which I believe crashed bitcoind: sync.cpp:112: void potential_deadlock_detected(const std::pair<void*, void*>&, const LockStack&, const LockStack&): Assertion `onlyMaybeDeadlock' failed.
< GitHub22>
[bitcoin] rebroad opened pull request #7642: Avoid "Unknown command" messages when receiving getaddr on outbound c… (master...GetAddrUnknownCommand) https://github.com/bitcoin/bitcoin/pull/7642
< morcos>
instagibbs: do you have the rest of the stack information so we could see where that might have been called from?
< instagibbs>
morcos, first time it's happened, I assume I can't get the stack after the fact
< GitHub116>
[bitcoin] JeremyRubin opened pull request #7643: Remove always true cases in wallet/crypter.cpp encrypt and decrypt function (master...master) https://github.com/bitcoin/bitcoin/pull/7643
< gmaxwell>
https://news.ycombinator.com/item?id=11223266 latest timing attacks on ECDSA paper is now published. #bitcoin-core-user-not-impacted. Though perhaps we should CVE versions prior to 0.10.
< GitHub118>
[bitcoin] promag opened pull request #7646: Fix lockunspents help message (master...support/fix-lockunspent-help-message) https://github.com/bitcoin/bitcoin/pull/7646