< eck> blaster how many times are you going to post that link today
< eck> it's getting old
< pierre_rochard> +
< Pankaj> Hi
< Pankaj> i need some help to setup bitcoin core to linux server without GUI
< goatpig> run bitcoind
< Pankaj> i did that
< sipa> #bitcoin please
< Pankaj> please suggest all steps to run bitcoin core on linux server for development
< sipa> #bitcoin please
< Pankaj> #bitcoin please suggest all steps to run bitcoin core on linux server for development
< sipa> Pankaj: not here, go to the #bitcoin channel
< Pankaj> Oops
< Pankaj> thanks sipa
< Monika> Hello
< Monika> i would like to use bitcoin core wallet in my php website
< achow101> wumpus: I think #11415 is ready to be merged
< gribble> https://github.com/bitcoin/bitcoin/issues/11415 | [RPC] Disallow using addresses in createmultisig by achow101 · Pull Request #11415 · bitcoin/bitcoin · GitHub
< sipa> Monika: #bitcoin
< mrannanay> Hi, I had a doubt regarding the regtest setup - so the regtest difficulty is set at minimum according to this configuration file - https://github.com/bitcoin/bitcoin/blob/68e021e3a35d1e88d6075ea8b05a8e3a40a64e29/src/chainparams.cpp#L283
< mrannanay> So if I did setup a miner on a regtest network, every nonce value would be accepted?
< sipa> no, that variable just triggers the special testnet difficulty reset rule
< sipa> it does not imply that every hash is always acceptable
< mrannanay> Oh alright :) It just occurred to me that in this setup ```$ bitcoin-cli generate 100``` executes in ~ 1sec - is this an indication of low difficulty?
< Varunram> yes
< sipa> the difficulty in regtest is very low (iirc, 1 block attempt in 2 is valid
< sipa> and it does adjust difficulty iirc
< mrannanay> Okay, thanks! Another thing I learnt was the removal of the internal miner from testnet (setgenerate was retained for regtest) - would it be wise to write a miner for regtest?
< sipa> mrannanay: the generate RPC suffices
< mrannanay> Conceptually, a miner that runs on regtest would run (albeit much slower) on MainNet?
< sipa> yes
< sipa> GBT exists and works fine for both
< mrannanay> Great, thanks again!
< fanquake> wumpus I think 11921 and 11936 can go in. The later had a utACK from theuni in the previous PR.
< wumpus> fanquake: thanks
< wumpus> as for 11921 I'd prefer cfields to take a look there first, this seems strange
< wumpus> could this be something like a shell change from openbsd 6.1 to 6.2?
< wumpus> I really need to upgrade my openbsd box, maybe I'll get around to it today
< fanquake> I'll checkout the 62 release notes
< wumpus> good idea
< fanquake> wumpus clang is now the default compiler there btw
< wumpus> whoa, they changed that in a minor release?
< fanquake> "The https://www.openbsd.org/i386.html and https://www.openbsd.org/amd64.html platforms have switched to using https://man.openbsd.org/clang-local.1 as the base system compiler."
< wumpus> phew, that might mean that the default compiler just works, as on freebsd, and we can remove all of that from the build guide
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/62fdf9b07087...483bb6725362
< bitcoin-git> bitcoin/master 3eb4d45 Varunram: [build] Warn that only libconsensus can be built without boost
< bitcoin-git> bitcoin/master 483bb67 Wladimir J. van der Laan: Merge #11936: [build] Warn that only libconsensus can be built without Boost...
< bitcoin-git> [bitcoin] laanwj closed pull request #11936: [build] Warn that only libconsensus can be built without Boost (master...libcon-boost) https://github.com/bitcoin/bitcoin/pull/11936
< wumpus> or at least marked as pre-6.2 only
< fanquake> Possibly. My internet is currently too slow to load the entire changelog, so I'm still unsure about potential shell changes
< meshcollider> btw wumpus #11178 might be RTM as well
< gribble> https://github.com/bitcoin/bitcoin/issues/11178 | Add iswitness parameter to decode- and fundrawtransaction RPCs by MeshCollider · Pull Request #11178 · bitcoin/bitcoin · GitHub
< wumpus> meshcollider: thanks, will take al ook
< bitcoin-git> [bitcoin] laanwj pushed 3 new commits to master: https://github.com/bitcoin/bitcoin/compare/483bb6725362...fee0370fd6e5
< bitcoin-git> bitcoin/master bbdbe80 MeshCollider: Add iswitness parameter to decode- and fundrawtransaction RPCs
< bitcoin-git> bitcoin/master 6f39ac0 MeshCollider: Add test for decoderawtransaction bool
< bitcoin-git> bitcoin/master fee0370 Wladimir J. van der Laan: Merge #11178: Add iswitness parameter to decode- and fundrawtransaction RPCs...
< bitcoin-git> [bitcoin] laanwj closed pull request #11178: Add iswitness parameter to decode- and fundrawtransaction RPCs (master...201708_rawtx_bool) https://github.com/bitcoin/bitcoin/pull/11178
< bitcoin-git> [bitcoin] laanwj opened pull request #11943: contrib: fix typo in install_db4.sh help message (master...2017_12_db5_typo) https://github.com/bitcoin/bitcoin/pull/11943
< wumpus> bah install_db4.sh is broken on openbsd 6.2
< fanquake> Broken more than that typo?
< wumpus> yes
< fanquake> :o I'll test it once you've pushed up some changes.
< wumpus> it also seems openbsd 6.2 has both clang and gcc installed by default? can that be true?
< wumpus> or is it just an artifact of upgrading
< wumpus> so c++ --version gives "OpenBSD clang version 4.0.0", g++ --version gives "g++ (GCC) 4.2.1 20070719", of course our build system defaults to the old g++ :(
< sipa> because 4.2.1 > 4.0.0 ? ;)
< gribble> https://github.com/bitcoin/bitcoin/issues/43 | vastly reduce unnecessary database writes by dooglus · Pull Request #43 · bitcoin/bitcoin · GitHub
< wumpus> sipa: LOL! I wouldn't be surprised
< fanquake> wumpus so looks like that is clang related?
< fanquake> wumpus might be able to pinch this https://github.com/narkoleptik/os-x-berkeleydb-patch
< fanquake> I have to go, but will test any changes later tonight.
< mrannanay> Freebsd 6.1 had clang as base compiler for just amd64, but 6.2 added i386 to the list.
< mrannanay> They're adding backend support, okay for a minor release I guess
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/fee0370fd6e5...1808660c8d47
< bitcoin-git> bitcoin/master ce552b6 Wladimir J. van der Laan: contrib: fix typo in install_db4.sh help message...
< bitcoin-git> bitcoin/master 1808660 Wladimir J. van der Laan: Merge #11943: contrib: fix typo in install_db4.sh help message...
< bitcoin-git> [bitcoin] laanwj closed pull request #11943: contrib: fix typo in install_db4.sh help message (master...2017_12_db5_typo) https://github.com/bitcoin/bitcoin/pull/11943
< wumpus> fanquake: I'm starting to think that the entire issue is due to install_db4.sh
< wumpus> mrannanay: I'm very happy they made the switch
< wumpus> not so much that clang is better than g++, but sticking with 4.2.1 due to licensing was unsustainable
< wumpus> openbsd can compile c++11 out of the box now!
< fanquake> !
< wumpus> fanquake: looks like the darwin patch solves it
< fanquake> wumpus Great, will you PR the changes?
< wumpus> fanquake: fairly sure freebsd needs the patch too; is there any reason to not make it unconditional?
< fanquake> wumpus are you adding the patching into the install_db4 script?
< wumpus> yes; the install_db4 script already has that patching, it's just conditional on Darwin, I think we should always apply it
< wumpus> if it doesn't hurt for gcc/linux
< fanquake> wumpus I think that should be ok. Was looking to see if the reason for the osx conditional was mentioned in the original pr.
< fanquake> I assume it was because the original patch was Xcode related, but it's actually a Clang issue, so shouldn't be osx specific.
< wumpus> grr, bitcoind doesn't build after that; lots of undefined references
< fanquake> I'll spin up a vm and have a look
< wumpus> in db4. It might be that it picks the g++ too instead of clang
< wumpus> overriding it w/ CC=cc CXX=c++ results in a new error about atomics. I remember seeing this one on freebsd too.
< wumpus> bdb is such a headache
< fanquake> What new error are you seeing?
< wumpus> https://0bin.net/paste/zuFf2Fx5RZp+0sfr#JNP6i7vpbwkeC1+mYSAX7J-BSFBvFEGf2WO7r2g2cYW
< wumpus> "error: unknown type name 'atomic_flag'"
< fanquake> Apparently it's a namespace collision with C++11 ?
< fanquake> We might be able to combine this with our other patch https://gist.github.com/LnL7/5153b251fd525fe15de69b67e63a6075
< wumpus> yes that's the one
< wumpus> added it in, let's see
< wumpus> oh no it conflicts with the other patch
< fanquake> :|
< fanquake> I guess it's just time to abandon bdb
< wumpus> so yea we'll have to manually combine it, probably, or maybe this is a replacement for the other patch, I don't know
< wumpus> let's see if *only* that patch works
< fanquake> Looking at the patches, combining should actually be pretty easy. The first patch is actually part of the second
< wumpus> good :)
< wumpus> that seems to have done that trick, thanks fanquake
< wumpus> I'll file a PR
< fanquake> wumpus cool. I'll test everything out once you've PR'd
< wumpus> going to see if I can fix the issue that contrib/install_db4.sh doesn't take X=Y arguments
< wumpus> probably some bash array-ism
< provoostenator> Does anyone have time to bless or find a problem with #11220? It already has bunch of utACK and concept ACKs.
< gribble> https://github.com/bitcoin/bitcoin/issues/11220 | Check specific validation error in miner tests by Sjors · Pull Request #11220 · bitcoin/bitcoin · GitHub
< BtcCoreedev> Hello
< wxss> make
< BtcCoreedev> Morning from USA
< BtcCoreedev> Is there anything Core developer planning to address the mempool issue ?
< wumpus> provoostenator: will take a look at it later
< provoostenator> wumpus: thanks!
< bitcoin-git> [bitcoin] laanwj opened pull request #11945: Improve BSD compatibility of contrib/install_db4.sh (master...2017_12_contrib_bsd) https://github.com/bitcoin/bitcoin/pull/11945
< wumpus> fanquake: ^^
< bitcoin-git> [bitcoin] laanwj closed pull request #11220: Check specific validation error in miner tests (master...miner-test-check-specific-validation-error) https://github.com/bitcoin/bitcoin/pull/11220
< bitcoin-git> [bitcoin] practicalswift opened pull request #11946: tests: Remove unused variable (firstAddrnServices) (master...firstAddrnServices) https://github.com/bitcoin/bitcoin/pull/11946
< wumpus> looks like rawtransactions.py is broken on master
< fanquake> I'm guessing by #11178
< gribble> https://github.com/bitcoin/bitcoin/issues/11178 | Add iswitness parameter to decode- and fundrawtransaction RPCs by MeshCollider · Pull Request #11178 · bitcoin/bitcoin · GitHub
< fanquake> "NameError: name 'assert_raises_jsonrpc' is not defined"
< wumpus> yup that's it, filing PR now
< fanquake> beat me to it heh
< bitcoin-git> [bitcoin] laanwj opened pull request #11947: test: Fix rawtransactions test (master...2017_12_rawtransactions) https://github.com/bitcoin/bitcoin/pull/11947
< provoostenator> wumpus: thans for merging! Any idea why Travis builds always (?) fail for your merge commits?
< wumpus> provoostenator: see #11947
< gribble> https://github.com/bitcoin/bitcoin/issues/11947 | test: Fix rawtransactions test by laanwj · Pull Request #11947 · bitcoin/bitcoin · GitHub
< bitcoin-git> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/2971fd030f6e...797441ee995a
< bitcoin-git> bitcoin/master 4508519 Wladimir J. van der Laan: test: Fix rawtransactions test...
< bitcoin-git> bitcoin/master 797441e MarcoFalke: Merge #11947: test: Fix rawtransactions test...
< bitcoin-git> [bitcoin] MarcoFalke closed pull request #11947: test: Fix rawtransactions test (master...2017_12_rawtransactions) https://github.com/bitcoin/bitcoin/pull/11947
< bitcoin-git> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/797441ee995a...8049241e226c
< bitcoin-git> bitcoin/master bdaed47 practicalswift: tests: Remove unused variable (firstAddrnServices)
< bitcoin-git> bitcoin/master 8049241 MarcoFalke: Merge #11946: tests: Remove unused variable (firstAddrnServices)...
< bitcoin-git> [bitcoin] MarcoFalke closed pull request #11946: tests: Remove unused variable (firstAddrnServices) (master...firstAddrnServices) https://github.com/bitcoin/bitcoin/pull/11946
< provoostenator> So I managed to install QT Creator and I'm able to use to run bitcoin-qt and edit C++ files. However what I'm trying to do is edit one of the .ui files. Unfortunately the Design tab is greyed out, and I don't see these .ui files in the project.
< provoostenator> Dragging the files into the app helps. So I probably should have ignored item (5) here: https://github.com/bitcoin/bitcoin/blob/master/doc/build-osx.md#using-qt-creator-as-ide
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/8049241e226c...81c89e966e1e
< bitcoin-git> bitcoin/master ecf9b25 Pierre Rochard: remove unused fNoncriticalErrors variable from CWalletDB::FindWalletTx
< bitcoin-git> bitcoin/master 81c89e9 Wladimir J. van der Laan: Merge #11923: Wallet : remove unused fNoncriticalErrors variable from CWalletDB::FindWalletTx...
< bitcoin-git> [bitcoin] laanwj closed pull request #11923: Wallet : remove unused fNoncriticalErrors variable from CWalletDB::FindWalletTx (master...2017-12-17-FindWalletTx) https://github.com/bitcoin/bitcoin/pull/11923
< provoostenator> Sorry for opening a can of worms in #11950
< gribble> https://github.com/bitcoin/bitcoin/issues/11950 | Avoid generating UI elements from code · Issue #11950 · bitcoin/bitcoin · GitHub
< wumpus> provoostenator: you mean the html generation in 'show payment info'? that code is mostly inherited as-is from satoshi's wx client
< provoostenator> Git blame said it was you, but maybe you just touched it.
< wumpus> provoostenator: I'm surprised no one addressed it before
< wumpus> well I copy/pasted the code
< wumpus> I mean it works, maybe it doesn't look super sexy or is super readable code, but it was one of the better parts of his GUI code
< provoostenator> Great, I'll be able to remove "improved code written by Satoshi" to my bucket list.
< provoostenator> *from
< wumpus> also having one html document makes it easy to copy/paste the whole thing, which it wouldn't be if it's some huge qt form
< provoostenator> Does QT not allow extracting form partials into seperate files?
< wumpus> (which usually only allows copy/pasting field by field)
< wumpus> I mean if you can create something that looks better and is more usable to users, I'm all for it, but yeah just doing it because you don't like the code style is .. dunno
< wumpus> seems low prio to me at least
< provoostenator> The specific example I put in that issue is probbly one where I can make the stuff I'm building on top of it look better.
< provoostenator> I wouldn't necessarly want to refactor all of this everywhere.
< provoostenator> But I will probably complain if someone does this in a future PR :-)
< wumpus> but in high level I agree with you, it's better to specify the GUI stuff in XML than generate it in code where possible
< provoostenator> Generally though, I am indeed trying to see if I make the QT client just a little prettier.
< provoostenator> Often very small improvements can make huge difference in how it's perceived.
< provoostenator> Back when I was building apps, I found it useful to just follow these guidelines, and question anyone who deviated from them without a good reason: https://developer.apple.com/ios/human-interface-guidelines/overview/themes/
< provoostenator> QT is different of course, but general principles described there still matter.
< wumpus> yea I think you can do worse than follow apple's UI guidelines
< bitcoin-git> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/81c89e966e1e...cdd6bbf10a81
< bitcoin-git> bitcoin/master 3a3a9f9 Murch: Ignore old format estimation file
< bitcoin-git> bitcoin/master cdd6bbf Wladimir J. van der Laan: Merge #11273: Ignore old format estimation file...
< bitcoin-git> [bitcoin] laanwj closed pull request #11273: Ignore old format estimation file (master...ignoreOldFeeEstimates) https://github.com/bitcoin/bitcoin/pull/11273
< bitcoin-git> [bitcoin] TheBlueMatt opened pull request #11951: Remove dead feeest-file read code for old versions (master...2017-12-dead-feeest-load) https://github.com/bitcoin/bitcoin/pull/11951
< Murch> laanwj, TheBlueMatt: Sorry for my lack of response on the PR, I just got the highlight here, I've been swamped at work and haven't been on Github at all. :(
< wumpus> Murch: no worries
< wumpus> I think your change was fine, there was no need to hold it up further, other people can do the rest of the work :)
< Murch> Thanks!
< wumpus> Murch: if you do have some time please review #11951 that BlueMatt just openend, it continues your work
< gribble> https://github.com/bitcoin/bitcoin/issues/11951 | Remove dead feeest-file read code for old versions by TheBlueMatt · Pull Request #11951 · bitcoin/bitcoin · GitHub
< Murch> @wumpus: Already did :)
< wumpus> ok!
< bitcoin-git> [bitcoin] MarcoFalke opened pull request #11952: [qa] univalue: Bump subtree (master...Mf1712-univalueBump) https://github.com/bitcoin/bitcoin/pull/11952
< BlueMatt> easy-one-more-review-and-merge: #11726
< gribble> https://github.com/bitcoin/bitcoin/issues/11726 | Cleanups + nit fixes for walletdir PR by MeshCollider · Pull Request #11726 · bitcoin/bitcoin · GitHub
< bitcoin-git> [bitcoin] MarcoFalke pushed 6 new commits to master: https://github.com/bitcoin/bitcoin/compare/cdd6bbf10a81...18a1bbad98bd
< bitcoin-git> bitcoin/master 1285312 John Newbery: [tests] fix flake8 warnings in node_network_limited.py
< bitcoin-git> bitcoin/master dbfe294 John Newbery: [tests] define NODE_NETWORK_LIMITED in test framework
< bitcoin-git> bitcoin/master 2e02984 John Newbery: [tests] node_network_limited - remove race condition...
< bitcoin-git> [bitcoin] MarcoFalke closed pull request #11867: Improve node network test (master...improve_node_network_test) https://github.com/bitcoin/bitcoin/pull/11867
< Yocoin> ls -la
< luke-jr> [Thursday, December 14, 2017] [7:50:07 AM UTC] <jonasschnelli> luke-jr: a complete UTXO scan with sweepprivkeys takes ~3mins on my machine (mainnet)… is there a nice way to show progress? <-- does it really? I'm seeing under 34 seconds… (although on 0.13 codebase)
< sipa> luke-jr: highly hardware dependent, i expect
< luke-jr> 6x though?
< sipa> yes, sure
< sipa> SSD vs spinning disk alone may do that
< sipa> and then add things like disk encryption, low-end vs high-end CPU, ...
< jonasschnelli> luke-jr: 34s? I have a couple of minutes on my relatively fast Intel Xeon SSD
< jonasschnelli> Could the utxo per txout model slow down (wasn't in 0.13)
< sipa> oh, it certainly could
< sipa> i wouldn't expect a 6x slowdown from that
< sipa> but there would be some
< gmaxwell> the utxo set has grown a lot, are you comparing to current?
< gmaxwell> morcos: sdaftuar: do either of you have opinions about the idea of removing the two week mempool expiration and replacing it with 48 hours of showing up in the top 4m weight of txn? (and perhaps also coupling it with a stored expired txn list, so that it won't get readded to the mempool?)
< gmaxwell> by only looking at the top of the mempool we could expire things that aren't confirming MUCH faster... and this would eliminate the current bad interaction where expiration is keeping the relay fee from going up.
< aj> gmaxwell: if we go back to fees varying so there's a lull over the weekend, don't you want to keep transactions that will confirm in the lull for the week they might need?