< jonasschnelli> wumpus: what do you think by adding https://github.com/bitcoin/bitcoin/pull/6948 to 6917? It would at least allow me to easily generate a build over gitian.
< GitHub187> [bitcoin] laanwj closed pull request #6919: Backport chainstate obfuscation to 0.11 (0.11...2015_10_backport_chainstate_obfuscation) https://github.com/bitcoin/bitcoin/pull/6919
< GitHub127> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/193f7b553e0a...79456524f8f5
< GitHub127> bitcoin/master fb9857b Pieter Wuille: Squashed 'src/leveldb/' changes from 7d41e6f..20ca81f...
< GitHub127> bitcoin/master f0343e9 Pieter Wuille: Update LevelDB
< GitHub127> bitcoin/master 7945652 Wladimir J. van der Laan: Merge pull request #6944...
< GitHub14> [bitcoin] laanwj closed pull request #6944: Update LevelDB tree to include #6917 (master...leveldbfix0.12) https://github.com/bitcoin/bitcoin/pull/6944
< wumpus> jonasschnelli: this works, too
< GitHub57> [bitcoin] laanwj pushed 3 new commits to 0.11: https://github.com/bitcoin/bitcoin/compare/dfe55bdc32b5...2c8248552492
< GitHub87> [bitcoin] laanwj closed pull request #6945: Update LevelDB tree to include #6917 (0.11) (0.11...leveldbfix0.11) https://github.com/bitcoin/bitcoin/pull/6945
< GitHub57> bitcoin/0.11 0af5b8e Pieter Wuille: Squashed 'src/leveldb/' changes from 7d41e6f..20ca81f...
< GitHub57> bitcoin/0.11 70de437 Pieter Wuille: Update LevelDB
< GitHub57> bitcoin/0.11 2c82485 Wladimir J. van der Laan: Merge pull request #6945...
< GitHub53> [bitcoin] laanwj pushed 3 new commits to 0.10: https://github.com/bitcoin/bitcoin/compare/72a0adfb3c36...cbc4e3bd37da
< GitHub53> bitcoin/0.10 5216f3c Pieter Wuille: Squashed 'src/leveldb/' changes from 7d41e6f..20ca81f...
< GitHub53> bitcoin/0.10 94b67e5 Pieter Wuille: Update LevelDB
< GitHub53> bitcoin/0.10 cbc4e3b Wladimir J. van der Laan: Merge pull request #6946...
< GitHub168> [bitcoin] laanwj closed pull request #6946: Update LevelDB tree to include #6917 (0.10) (0.10...leveldbfix0.10) https://github.com/bitcoin/bitcoin/pull/6946
< jonasschnelli> wumpus: okay. So building https://github.com/bitcoin/bitcoin/pull/6948 on top of master should include #6917 i guess
< wumpus> jonasschnelli: yep
< * jonasschnelli> has kicked his gitian builder
< wumpus> yes that reminds me that gitian doesn't do any merging/rebasing like the travis build does, so having #6917 in master wouldn't actually help by default
< jonasschnelli> wumpus : IIRC my script does add PRs on top of master before building the custom git state: https://bitcoin.jonasschnelli.ch/pulls/6917/
< wumpus> oh, cool!
< btcdrak> wumpus: ping mempool-MPL revert undo and 0.11 backport #6934, #6884
< GitHub30> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/79456524f8f5...3694b74fa9c8
< GitHub30> bitcoin/master abd8b76 MarcoFalke: [qt] Properly display required fee instead of minTxFee
< GitHub30> bitcoin/master 53238ff MarcoFalke: Clarify what minrelaytxfee does
< GitHub30> bitcoin/master 3694b74 Wladimir J. van der Laan: Merge pull request #6887...
< GitHub59> [bitcoin] laanwj closed pull request #6887: [qt] Update coin control and smartfee labels (master...MarcoFalke-2015-qtMaxMin_Fee_and_Max_Fee) https://github.com/bitcoin/bitcoin/pull/6887
< GitHub35> [bitcoin] laanwj closed pull request #6726: AcceptToMemoryPool: Don't fee-check wallet-created transactions (master...MarcoFalke-2015-rejectWtxFix) https://github.com/bitcoin/bitcoin/pull/6726
< GitHub47> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/3694b74fa9c8...3038eb63e8a6
< GitHub47> bitcoin/master e4e5334 Gregory Maxwell: Restore MedianTimePast for locktime....
< GitHub47> bitcoin/master d1c3762 Gregory Maxwell: Revert "Revert "Enable policy enforcing GetMedianTimePast as the end point of lock-time constraints""...
< GitHub47> bitcoin/master 3038eb6 Wladimir J. van der Laan: Merge pull request #6934...
< GitHub106> [bitcoin] laanwj closed pull request #6934: Restores mempool only BIP113 enforcement (master...undo_undo) https://github.com/bitcoin/bitcoin/pull/6934
< GitHub41> [bitcoin] laanwj pushed 3 new commits to 0.11: https://github.com/bitcoin/bitcoin/compare/2c8248552492...df616ae43ed4
< GitHub115> [bitcoin] laanwj closed pull request #6884: Backport #6566, median-past locktime, rebased against 0.11 (0.11...mpl-0.11) https://github.com/bitcoin/bitcoin/pull/6884
< GitHub41> bitcoin/0.11 a1d3c6f Mark Friedenbach: Add rules--presently disabled--for using GetMedianTimePast as endpoint for lock-time calculations...
< GitHub41> bitcoin/0.11 f720c5f Mark Friedenbach: Enable policy enforcing GetMedianTimePast as the end point of lock-time constraints...
< GitHub41> bitcoin/0.11 df616ae Wladimir J. van der Laan: Merge pull request #6884...
< jtimon> gmaxwell: re transaction cost formula: when you use it only as policy, it has nothing to do with the blocksize limit, when you use it to calculate the size of blocks it does (that's whatI meant by "we can make it consensus")
< fanquake> Has anyone been testing core with Boost 1.59.0 ?
< jonasschnelli> wumpus: still facing "Corruption: error in middle of record" with #6948
< wumpus> fuck fuck fuck
< wumpus> fanquake: yes, works fine here
< * jonasschnelli> is still on boost 1.58
< jonasschnelli> wumpus: also did shut down / power off the host (mac) and there where no issues with the database.
< wumpus> well I never managed to get an error in the middle of record with #6948, so at least it should be more rare now
< jonasschnelli> Steps i did (maybe i did something wrong): my snapshot has a synced chain up to ~350000 form PR https://github.com/bitcoin/bitcoin/pull/6917
< jonasschnelli> then i stopped bitcoin-qt and started bitcoin-qt from https://github.com/bitcoin/bitcoin/pull/6948
< jonasschnelli> did a power off hard shutdown
< jonasschnelli> restarted win8.1 ... restarted bitcoin-qt from 6948
< jonasschnelli> -> resulted in "Corruption: error in middle of record"
< wumpus> but if that doesn't fix it I don't know, I really don't know anymore
< jonasschnelli> switch away from leveldb
< wumpus> maybe FlushFileBuffers on windows doesn't really flush the buffers
< wumpus> no, I don't want to hear that
< jonasschnelli> I'll do the test again ... maybe i missclicked somewhere.
< wumpus> well, unless, have you tried this with another database at all?
< jonasschnelli> sqlite3 was to slow i heard... i'd though about trying it with the unstable sqlite4 branch
< wumpus> it would be somewhat interesting to try this with jgarzik's sqlite patch. At least to have a measurement point.
< jonasschnelli> jgarzik uses seqlite3 which is certenly much slower then leveldb... sqlite4 sounds promising... and unstable.
< wumpus> for this experiment I don't care about slowness - I wonder if *anything * can handle this kind of corruption succesfully
< jonasschnelli> when i restore my snapshot based on a ~synced chain with #6917, bitcoin-core crashed,... but can be started again with 100% success. Can that be a problem? I assume no?
< fanquake> jonasschnelli Do you have VM snapshots available for download? I can contribute some more time to testing this, having a VM to boostrap from would be handy.
< jonasschnelli> fanquake: I have plenty of VMs (multiple harddrives full of vms), just tell me what you need. I can even get some of you access to VMs if someone needs to track down an issue.
< jonasschnelli> Maybe you'd like to start with the Win8.1 VM... you need VMWare Fusion 8 (or higher)
< fanquake> I'd take copies of the ones your using to test #6948
< wumpus> I suppose what leveldb should do when it encounters corruption in the middle of a record (probably a run of 0000000 like debug.log) is to simply discard that batch and anything after it
< fanquake> I'm actually setup somewhere with a decent internet connection atm, so downloading won't be so hard.
< fanquake> Can't run in virtualbox?
< jonasschnelli> nope.
< fanquake> Ah ok, I'll spin up something on VB then.
< wumpus> be careful to actually test #6948 on top of master, it's currently rebased to a pre-#6917 branch so as-is it won't test the robust version
< jonasschnelli> Yes. I'm using https://bitcoin.jonasschnelli.ch/pulls/6948/... has 22e780737db57bcb18b3824eb8158e19a4775cb6 and fb9857bfd68c13b52e14bc28dd981bc12501806a
< fanquake> wumpus I'll also get back to you about the gitian switch to trusty
< * jonasschnelli> is starting bitcoin-qt <master + #6948> after a power off hard shutdown...
< jonasschnelli> "Error opening block database"
< fanquake> What resources are you giving your vms? Just curious.
< jonasschnelli> 1GB Ram, 1 Core... not that much. But i have bought the wrong MacMini (4GB Ram, Only 1.4Ghz Core i5).
< jonasschnelli> It has soldered RAM... tzz,.. apple!
< fanquake> heh
< fanquake> I'm setting up a VM now, so will start testing with your pull-tester build.
< jonasschnelli> i don't have the 0x00 in the debug log... it has a proper end before it starts with the app run that shows up the corruption
< wumpus> fanquake: thanks
< jonasschnelli> i now do a local depends windows cross compile and try to get some additional debug info...
< jonasschnelli> wumpus: did you once try the FILE_FLAG_NO_BUFFERING flag?
< wumpus> nope.
< wumpus> it's worth trying, also you could try putting back the FlushFileBuffer in Flush () (eg https://github.com/bitcoin/bitcoin/pull/6917#issuecomment-152717077 )
< jonasschnelli> okay... will try
< jonasschnelli> (first need to build the depends... *sleep*)
< jonasschnelli> hmm... can't anymore build the dependencies with HOST i686-w64-mingw32...
< jonasschnelli> qwindowsdialoghelpers.cpp:1849:92: error: invalid conversion from ‘qt_LpItemIdList {aka _ITEMIDLIST*}’ to ‘PCIDLIST_ABSOLUTE
< jgarzik> jonasschnelli, RE databases and comparison... I should have a fast replacement ready in a few weeks, https://github.com/jgarzik/pgdb2
< jgarzik> jonasschnelli, sqlite is probably too slow for useful benchmarking
< jonasschnelli> jgarzik: hah. Let me check out the code...
< jonasschnelli> jgarzik: what about sqlite4? It's says on the architecture website ("It is very fast, faster than LevelDB...",)
< jonasschnelli> And riding on one of the best maintained database layers would be nice... but right,.. it might be the wrong type of database
< jgarzik> jonasschnelli, https://sqlite.org/src4/doc/trunk/www/design.wiki definitely looks like they are catching up to modern design
< jonasschnelli> I have also though about your "pgdb2"-like-approach, ... but it seems to be a hard way.
< jgarzik> "The default built-in storage engine is a log-structured merge database. It is very fast, faster than LevelDB, supports nested transactions, and stores all content in a single disk file. "
< * jgarzik> knows what log-structured is. What is a merge database, I wonder
< jonasschnelli> jgarzik: would it be complicated to modificate your sqlite3 branch to use sqlite4? (over a subtree or something similar because it's unstable and not available over dep.management?)
< jgarzik> jonasschnelli, Part of pgdb2 is building an underlying framework that can be used for ordered-map key/value, hash tree key/value, merkle db and more - a bit of a primitive kernel filesystem that provides transactions/COW to the upper layer, which defines the key/value structure. It's the same speed (or faster, really)
< jgarzik> jonasschnelli, sounds like using sqlite4 is simple - take my branch and add 'env' argument to each function call.
< jonasschnelli> jgarzik: do you have plans to work towards sqlite4 and report some benchmark numbers? Or should i give it a try?
< jonasschnelli> but i really like to find a solution to fix the current leveldb corruption issues...
< jonasschnelli> although, i don't care about windows enough,.... but i care about users complaining about the issue and stopping full nodes.
< jgarzik> jonasschnelli, feel free to give sqlite4 a try. I consider my sqlite branch at a [temporary?] pause / end state. I task switched over to BIP 1xx and pgdb2.
< jonasschnelli> Okay. pgdb2 looks nice btw!
< sipa> jgarzik: merge database... there are several files that can refer to the same range of keys, but if there are too many you merge them into a bigger file
< jgarzik> jonasschnelli, go ahead and try with sqlite4
< jgarzik> jonasschnelli, sqlite3 branch is at a temporary end state, unless further speedups can be found
< jgarzik> jonasschnelli, I task switched over to BIP 1xx and pgdb2
< sipa> jonasschnelli: #6948 is only expected to solve (or improve at least) the undo corruption, not leveldb middle of record stuff
< jonasschnelli> sipa: Right. I see. I've thought together with #6917 (leveldb) it would fix the whole corruption issues. Because with 6917 i "mostly" got the "bad undo" error... but now i get 100% leveldb middle of records errror.
< sipa> are you sure you did #6948 together with #6917?
< sipa> and not only #6948?
< GitHub50> [bitcoin] morcos closed pull request #6857: Require nLastBlockFile to be the highest numbered file. (master...nLastBlockFile) https://github.com/bitcoin/bitcoin/pull/6857
< jonasschnelli> sipa: Yes. https://bitcoin.jonasschnelli.ch/pulls/6948/ Is the current master with your fixflush branch
< jonasschnelli> anyone else facing qt5 depends build issues when building with mingw on debian or ubuntu?
< GitHub113> [bitcoin] MarcoFalke opened pull request #6951: [qt] Use maxTxFee instead of 10000000 (master...MarcoFalke-2015-qtMaxFee) https://github.com/bitcoin/bitcoin/pull/6951
< gmaxwell> jtimon: I am not suggesting it for using it with blocks. I think it would be bad for that.
< gmaxwell> wumpus: for all you know there is something wrong with jonasschnelli's VM and it impermisably reorders writes or ignores sync.
< gmaxwell> wumpus: (I would be completely unsurprised to see VM software which ignored sync to prevent vm guest OS from thrashing the host... and used userspace buffering of writes for similar reasons, and didn't guarentee them flushed when it quit)
< gmaxwell> wumpus: in any case, there is a clear path forward, get the corrupted data from him and check it out.
< gmaxwell> wumpus: based on the undo related errors before I believe his node is in the process of a reindex as he's doing these tests?
< gmaxwell> If it isn't the VM itself that is the difference in your test conditions, then it may be reindexing.
< wumpus> true, that may be the case
< wumpus> going to test master+#6948 on real-windows tomorrow, if I can't get corruption, I'll just ignore the VM results for now
< jgarzik> some VMs definitely do that
< jonasschnelli> Okay. This might be the case (although I never expected any corruption while hard power off a VM).
< GitHub112> [bitcoin] TheBlueMatt closed pull request #6595: Fix removal of timelocked-txn from mempool during reorg (master...lockedmempool) https://github.com/bitcoin/bitcoin/pull/6595
< jtimon> gmaxwell: I know, you are suggesting to use it for acceptToMemoryPool
< phantomcircuit> i doubt this is an actual bug as the datadir it's reading from has had lots of pretty random patches run against it but maybe ... http://0bin.net/paste/AYFDFisRwwdGNPCB#EhQRzbuLtMfbjQ0SSfv+HZasT4HPN8nBM9i2Jutkufa
< phantomcircuit> Assertion `hashPrevBlock == view.GetBestBlock()'
< GitHub136> [bitcoin] luke-jr opened pull request #6952: Backport bugfixes to 0.10 (2015-10-22 / f2c869a) (master...backport-bugfixes-to-0.10-20151014) https://github.com/bitcoin/bitcoin/pull/6952
< GitHub117> [bitcoin] luke-jr closed pull request #6952: Backport bugfixes to 0.10 (2015-10-22 / f2c869a) (master...backport-bugfixes-to-0.10-20151014) https://github.com/bitcoin/bitcoin/pull/6952
< GitHub125> [bitcoin] luke-jr opened pull request #6953: Backport bugfixes to 0.10 (2015-10-22 / f2c869a) (0.10...backport-bugfixes-to-0.10-20151014) https://github.com/bitcoin/bitcoin/pull/6953
< wumpus> phantomcircuit: probably you're trying to open an obfuscated data directory in an earlier release
< wumpus> (happens when you start a database with master and try to open it with 0.11.x, for example)
< phantomcircuit> wumpus, ah yeah that's it
< GitHub181> [bitcoin] TheBlueMatt closed pull request #5347: Make mapNextTx private within CTxMemPool (master...mapnexttxpriv) https://github.com/bitcoin/bitcoin/pull/5347
< GitHub133> [bitcoin] TheBlueMatt closed pull request #5433: Make mempool-removed tracking much more explicit (master...mempoolconflict) https://github.com/bitcoin/bitcoin/pull/5433
< GitHub182> [bitcoin] sipa opened pull request #6954: Switch to libsecp256k1-based ECDSA validation (master...secp256k1) https://github.com/bitcoin/bitcoin/pull/6954
< sdaftuar> sipa: nice!
< jonasschnelli> sipa: awesome work #6954
< * jonasschnelli> started building 6954 and can't wait to compare IBD time...
< sipa> jonasschnelli: increase -dbcache :)
< jonasschnelli> what sizes are ideal? Allthough, I don't want to do that on my 1GB VMs...
< sdaftuar> i think you want at least 3GB ideally
< * jonasschnelli> bought the wrong macmini for testing,... soldered 4GB RAM! *grml*
< sdaftuar> grr. literally as i typed that, my -reindex running with 4GB dbcache just flushed to disk! sigh
< gmaxwell> utxo set has been growing a lot lately, 3gb used to be enough.. a couple months ago.
< gmaxwell> since most of the blocks are used up by utxo bloating attack txn. :(
< GitHub29> [bitcoin] MarcoFalke opened pull request #6955: [trivial] White space, clang-format and docs (master...MarcoFalke-2015-trivial4) https://github.com/bitcoin/bitcoin/pull/6955
< GitHub118> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/3038eb63e8a6...849a7e645323
< GitHub118> bitcoin/master 22e7807 Pieter Wuille: Always flush block and undo when switching to new file...
< GitHub118> bitcoin/master 849a7e6 Wladimir J. van der Laan: Merge pull request #6948...
< GitHub190> [bitcoin] laanwj pushed 4 new commits to master: https://github.com/bitcoin/bitcoin/compare/849a7e645323...4ee149a6db25
< GitHub190> bitcoin/master 0af8fe4 MarcoFalke: devtools: Update README.md
< GitHub190> bitcoin/master e0eeb67 MarcoFalke: [trivial] clang-format: Set AlignAfterOpenBracket: false
< GitHub190> bitcoin/master e167af2 MarcoFalke: [doc] Remove excessive white space
< GitHub152> [bitcoin] laanwj closed pull request #6955: [trivial] White space, clang-format and docs (master...MarcoFalke-2015-trivial4) https://github.com/bitcoin/bitcoin/pull/6955