1 2017-12-16 02:23:13	0|meshcollider|in wallet/db.cpp in VerifyEnvironment(), if opening the environment fails the first time then the database env is moved to a backup and opening is retried... can someone explain what situation moving it would help in?
  2 2017-12-16 02:23:57	0|meshcollider|https://github.com/bitcoin/bitcoin/blob/master/src/wallet/db.cpp#L272-L290
  3 2017-12-16 02:38:22	0|meshcollider|sipa: looks like you introduced it in #2558, could you give me a bit of info :)
  4 2017-12-16 02:38:24	0|gribble|https://github.com/bitcoin/bitcoin/issues/2558 | Some database/-related recovery improvements by sipa · Pull Request #2558 · bitcoin/bitcoin · GitHub
  5 2017-12-16 04:25:11	0|freeark1|Hi friends, I am new to blockchain, I am learning its internal.
  6 2017-12-16 04:26:44	0|wumpus|we've all been there
  7 2017-12-16 04:27:19	0|freeark1|Wecome Randolf
  8 2017-12-16 04:27:36	0|freeark1|welcome
  9 2017-12-16 04:28:16	0|Randolf|freeark1:  Thanks.  Which area(s) of Bitcoin interests you the most?
 10 2017-12-16 04:28:25	0|Randolf|...from a core-development standpoint.
 11 2017-12-16 04:30:14	0|freeark1|I propose to create a system in which hard core developers get their earning directly rather outsourcing entities eat up major chunk.
 12 2017-12-16 04:33:39	0|freeark1|If some people co-operate me I will bring blockchain theme everywhere. Hard-working people are exploited by smart people. And hard-working people are understood to be stupid.
 13 2017-12-16 04:34:56	0|luke-jr|that's a societal problem, not a Bitcoin problem
 14 2017-12-16 04:35:09	0|wumpus|this is very off topic here, this is a channel for development of the code of the bitcoin core software; I'd suggest to take it to #bitcoin.
 15 2017-12-16 04:35:47	0|freeark1|ok
 16 2017-12-16 04:36:43	0|freeark1|just one sentence.
 17 2017-12-16 04:37:00	0|luke-jr|one sentence in #bitcoin, please ;)
 18 2017-12-16 04:37:43	0|wumpus|feel free to listen in here to learn about the development, but this is not the place for wild project ideas but very specific ones
 19 2017-12-16 05:14:17	0|ryanofsky|meshcollider, it's only renaming the database log directory, not the actual database file. this might help if something is wrong with the transaction logs
 20 2017-12-16 06:48:53	0|jonasschnelli|Oh,... there is a significant mem leak in rescan-chainstate!
 21 2017-12-16 06:49:22	0|jonasschnelli|*reindex
 22 2017-12-16 06:49:39	0|jonasschnelli|-bash: fork: Cannot allocate memory
 23 2017-12-16 06:49:47	0|jonasschnelli|(can't even kill bitcoind)
 24 2017-12-16 06:50:55	0|sipa|jonasschnelli: #11824?
 25 2017-12-16 06:50:57	0|gribble|https://github.com/bitcoin/bitcoin/issues/11824 | Block ActivateBestChain to empty validationinterface queue by TheBlueMatt · Pull Request #11824 · bitcoin/bitcoin · GitHub
 26 2017-12-16 06:51:00	0|jonasschnelli|happend on my with headless debian only running bitcoind (only installed bitcoind after debian 9 minimal), machine has 32 GB DDR4 RAM / AMD Ryzen 7 1700X
 27 2017-12-16 06:51:23	0|jonasschnelli|sipa: Yes, let me test that...
 28 2017-12-16 07:50:46	0|bitcoin-git|[13bitcoin] 15valentinewallace opened pull request #11915: Qt: Reflect correct dbcache value in options panel. (06master...06dbcache_gui_fix) 02https://github.com/bitcoin/bitcoin/pull/11915
 29 2017-12-16 08:36:04	0|eck|jonasschnelli: do you still maintain testnet-seed.bitcoin.jonasschnelli.ch
 30 2017-12-16 08:37:41	0|eck|it's in chainparams.cpp but i haven't been getting any dns responses from that seed (the testnet seeds work), which is why i as,
 31 2017-12-16 08:43:33	0|wumpus|indeed, it gives no results at the moment
 32 2017-12-16 08:43:39	0|towertorony|hello. why is the maj function used by bitcoin in src code with a simple | (or) not with an xor?
 33 2017-12-16 08:43:55	0|sipa|what do you mean with "the testnet seeds work"; the seeder by jonasschnelli you're referring to is a testnet seed
 34 2017-12-16 08:43:59	0|sipa|eck: ^
 35 2017-12-16 08:44:06	0|towertorony|that is in sha256...
 36 2017-12-16 08:44:09	0|sipa|towertorony: they're identical
 37 2017-12-16 08:44:31	0|eck|sorry, typo, the seeds from petertodd.org and bluematt.me respond, but not the seed from jonasschnelli.me
 38 2017-12-16 08:45:32	0|towertorony|how? xor is 1 if both inputs have same bits. or is 1 if at least one input is 1?
 39 2017-12-16 08:46:23	0|sipa|Maj(x,y,z) is either "(x & y) ^ (y & z) ^ (z & x)" or "z ^ (x & (y ^ z))"
 40 2017-12-16 08:46:30	0|sipa|eh
 41 2017-12-16 08:46:37	0|sipa|Maj(x,y,z) is either "(x & y) ^ (y & z) ^ (z & x)" or "(x & y) | (z & (x | y))"
 42 2017-12-16 08:46:44	0|towertorony|xor 1 if inputs different bits...sorry, 0 otherwise. or is zero only if both are 0?
 43 2017-12-16 08:46:56	0|wumpus|seed.bitcoin.sipa.be gives me no results either at the moment, btw
 44 2017-12-16 08:46:57	0|sipa|find me an input for which the two give a different results
 45 2017-12-16 08:47:23	0|towertorony|ok i will look into your explanation, sepa. thanks
 46 2017-12-16 08:47:24	0|sipa|towertorony: it's not just swapping out a xor for an or; it's a totally different expression that just happens to be equivalent
 47 2017-12-16 08:47:49	0|sipa|and the one used is only 4 bitwise operations, instead of 5
 48 2017-12-16 08:47:54	0|sipa|so it's faster
 49 2017-12-16 08:48:20	0|towertorony|i realized that the orig eqn uses a compliment of x...
 50 2017-12-16 08:48:50	0|sipa|wumpus: heh, indeed i'm not seeing any dns requests come in
 51 2017-12-16 08:49:56	0|sipa|fixed
 52 2017-12-16 08:49:59	0|wumpus|would be if there was a notification system that monitors the dns seeds, and sends out a mail or IRC message or such if they're unreachable for a while
 53 2017-12-16 08:50:11	0|sipa|my port forwarding firewall rule got erased somehow
 54 2017-12-16 08:50:32	0|wumpus|yep yours works again
 55 2017-12-16 08:51:42	0|eck|since jonas' seed is down, there are only two seeds for testnet
 56 2017-12-16 08:52:01	0|eck|not a huge deal if it's temporary, but something to be aware fo
 57 2017-12-16 08:52:08	0|sipa|towertorony: it helps to realize what the Maj function is doing: if a bit is set in 2 or 3 out of the inputs, the result is 1; if it's only set in 0 or 1 of the inputs, the result is 0
 58 2017-12-16 08:52:33	0|wumpus|eck: I'm sure it's just a matter of restarting it
 59 2017-12-16 08:52:48	0|eck|that's what i suspect/hope as well
 60 2017-12-16 09:47:47	0|freeark1|An easy to learn resource for blockchain
 61 2017-12-16 09:49:51	0|freeark1|bitcoin-dev development process, am I need to fork bitcoin github repo?
 62 2017-12-16 09:54:41	0|brats|hi     where could download bitcoin core logo and other material?
 63 2017-12-16 09:54:59	0|brats|from which site?
 64 2017-12-16 10:05:58	0|freeark1|https://github.com/bitcoin/bitcoin/tree/master/src/qt/res/icons
 65 2017-12-16 10:06:33	0|freeark1|@brats, https://github.com/bitcoin/bitcoin/tree/master/src/qt/res/icons
 66 2017-12-16 10:24:03	0|breds|could someone tell me where to download bitcoin node logo and other material ??
 67 2017-12-16 10:25:33	0|meshcollider|breds: he freeark1 literally just posted above... https://github.com/bitcoin/bitcoin/tree/master/src/qt/res/icons
 68 2017-12-16 10:25:49	0|meshcollider|breds: please use #bitcoin for questions like that, not this channel
 69 2017-12-16 10:26:17	0|breds|thnx  ok
 70 2017-12-16 12:30:41	0|bitcoin-git|[13bitcoin] 15flack opened pull request #11916: Typo fix (06master...06patch-3) 02https://github.com/bitcoin/bitcoin/pull/11916
 71 2017-12-16 13:27:20	0|Provoostenator|What's involved with setting up a testnet DNS seed and what's the worst that can happen if I do that? Happy to try.
 72 2017-12-16 13:34:30	0|Provoostenator|Found this: https://github.com/sipa/bitcoin-seeder
 73 2017-12-16 14:31:48	0|Provoostenator|Here we go: seed.testnet.bitcoin.sprovoost.nl   - runs on EC2, I don't know if that's good enough for testnet (if you're seeing A 66.111... you need to wait a bit)
 74 2017-12-16 14:37:00	0|Provoostenator|Privacy wise, I wonder how much Amazon can see, vs. e.g. running it on a physical machine in a data center in some country with proper privacy laws, not owned by a US company, etc.
 75 2017-12-16 14:38:12	0|wumpus|Provoostenator: nice!
 76 2017-12-16 14:41:11	0|wumpus|ah yes still gives 66.111 here
 77 2017-12-16 14:41:59	0|Provoostenator|And it's mainnet :-) let me fix that...
 78 2017-12-16 14:53:51	0|Sentineo|wumpus: domI understand it well that to run a seed node you need no registering of it? E.g. I saw built in dnse seeds in sources, but this sounds different. A dynamic seed dns network perhaps?
 79 2017-12-16 14:54:23	0|Sentineo|by registering I mean to write to a developer to list it somewhere
 80 2017-12-16 14:54:44	0|wumpus|Sentineo: I don't see what advantage another level of indirection would have
 81 2017-12-16 14:56:18	0|Sentineo|not suggesting anything ... asking ;) I do run some full nodes ooen to the public. To be a seed node is it enough to just run the tool in sipa's repo linked above?
 82 2017-12-16 14:56:21	0|wumpus|Sentineo: privacy is also of important so people adding a DNS seed have to agree to some terms (https://github.com/bitcoin/bitcoin/blob/master/doc/dnsseed-policy.md), which is a manual step before merging them
 83 2017-12-16 14:57:02	0|wumpus|and a commitment to running it for fairly long term
 84 2017-12-16 14:58:20	0|wumpus|these are entry points to the network so they have to be hardcoded. It's not great, but it's the fastest bootstrapping mechanism. THere is also an automatic one, that is used when falling back (e.g. DNS seeds unreachable). This is a hardcoded list of reliable nodes that is updated every version.
 85 2017-12-16 14:59:26	0|wumpus|these are generally unreliable, as they're just nodes and no one committed to kepeing them up, so it takes longer to get connected to the network in that way, and once it found working nodes it asks them for more addresses and goes from there
 86 2017-12-16 15:00:22	0|wumpus|and it skips the DNS seeds if at startup it already has reliable peers in peers.dat
 87 2017-12-16 15:00:53	0|Sentineo|yep, I saw that.
 88 2017-12-16 15:09:34	0|Sentineo|wumpus: so what is the process to become one? First run the bitcoin-seeder tool?
 89 2017-12-16 15:10:43	0|wumpus|yes, basically wahat Provoostenator did, just create one, then make a PR
 90 2017-12-16 15:12:16	0|Sentineo|cool, ty
 91 2017-12-16 15:13:33	0|Provoostenator|I'll make a PR as well. What's the "servicebits filtering" about?
 92 2017-12-16 15:15:26	0|wumpus|nodes can request to know only about nodes that provide certain service bits
 93 2017-12-16 15:15:48	0|Sentineo|like network, bloom, witness etc
 94 2017-12-16 15:15:50	0|wumpus|this is useful for getting segwit peers, basically
 95 2017-12-16 15:15:51	0|wumpus|yes
 96 2017-12-16 15:16:58	0|Provoostenator|What would be the rationale for setting that false, e.g. BlueMatt: vSeeds.emplace_back("testnet-seed.bluematt.me", false);
 97 2017-12-16 15:18:59	0|wumpus|if your dns seed runs software that doesn't support it
 98 2017-12-16 15:19:12	0|wumpus|not acceptable for new ones I'd say
 99 2017-12-16 15:19:39	0|wumpus|that's just the way that old dnsseeds were grandfathered in when the filtering was introduced
100 2017-12-16 15:20:23	0|Provoostenator|I'm just running bitcoin-seeder with the default settings, not sure if I need to pass anything using the -w flag: https://github.com/sipa/bitcoin-seeder/blob/master/main.cpp#L51
101 2017-12-16 15:54:30	0|Sentineo|Provoostenator: could you please ping me the PR # once you have it? So I can use it as a reference?
102 2017-12-16 16:20:04	0|Provoostenator|Sentineo: #11917
103 2017-12-16 16:20:05	0|gribble|https://github.com/bitcoin/bitcoin/issues/11917 | Add testnet DNS seed: seed.testnet.bitcoin.sprovoost.nl by Sjors · Pull Request #11917 · bitcoin/bitcoin · GitHub
104 2017-12-16 16:20:06	0|bitcoin-git|[13bitcoin] 15Sjors opened pull request #11917: Add testnet DNS seed:  seed.testnet.bitcoin.sprovoost.nl (06master...06testnet-dns-seed-sjors) 02https://github.com/bitcoin/bitcoin/pull/11917
105 2017-12-16 16:20:26	0|Provoostenator|(oh, the PR bot works again...)
106 2017-12-16 16:21:24	0|Sentineo|ty!
107 2017-12-16 16:22:46	0|Provoostenator|You may want to wait to see the feedback I get before making your own PR.
108 2017-12-16 16:24:47	0|Sentineo|yep, that is my plan Provoostenator basically to not waste core people's time.
109 2017-12-16 16:39:17	0|Provoostenator|From: https://en.bitcoin.it/wiki/Satoshi_Client_Node_Discovery#DNS_Addresses "The client uses public web services which return the information to determine its own external, routable IP address". Isn't that outdated info?
110 2017-12-16 17:22:41	0|BlueMatt|Provoostenator: note that the boolean goes away in #11512 (which fixes 0.16 bugs, so will land for it)
111 2017-12-16 17:22:42	0|gribble|https://github.com/bitcoin/bitcoin/issues/11512 | Use GetDesireableServiceFlags in seeds, dnsseeds, fixing static seed adding by TheBlueMatt · Pull Request #11512 · bitcoin/bitcoin · GitHub
112 2017-12-16 17:53:28	0|bitcoin-git|[13bitcoin] 15MarcoFalke opened pull request #11918: fees: Remove fallbackfee default (06master...06Mf1712-NoFallBackFee) 02https://github.com/bitcoin/bitcoin/pull/11918
113 2017-12-16 18:40:35	0|bitcoin-git|13bitcoin/06master 1458c909d 15flack: Typo fix
114 2017-12-16 18:40:35	0|bitcoin-git|[13bitcoin] 15MarcoFalke pushed 2 new commits to 06master: 02https://github.com/bitcoin/bitcoin/compare/df7181952436...62fdf9b07087
115 2017-12-16 18:40:36	0|bitcoin-git|13bitcoin/06master 1462fdf9b 15MarcoFalke: Merge #11916: Typo fix...
116 2017-12-16 18:41:10	0|bitcoin-git|[13bitcoin] 15MarcoFalke closed pull request #11916: Typo fix (06master...06patch-3) 02https://github.com/bitcoin/bitcoin/pull/11916