1 2015-08-30 00:01:55 <kanzure> btcdrak: thank you
  2 2015-08-30 02:01:46 <kanzure> "automatic persistent coinjoin/mixing" https://bitcointalk.org/index.php?topic=94155.0
  3 2015-08-30 04:07:24 <feedev> does anyone know where I can learn to integrate a bitcoin daemon via PHP with JSON-RPC
  4 2015-08-30 04:08:05 <poutine> https://en.bitcoin.it/wiki/API_reference_%28JSON-RPC%29
  5 2015-08-30 04:10:16 <gmaxwell> kanzure: ! thanks for that link; I did say when I first posted about coinjoin that it was "known" that you could transact that way. I don't believe I was aware of it!
  6 2015-08-30 04:11:26 <feedev> thanks poutine!! I really appreciate it, I've been through that wiki recently... I'm looking to integrate payments and wallet generation into a web application, but I believe theres some additional measures to do so securely?
  7 2015-08-30 06:37:10 <Diablo-D3> phantomcircuit, midnightmagic: it just amazes how much stupidity is going around, thats all
  8 2015-08-30 06:43:59 <midnightmagic> Yeah. I know man. :(
  9 2015-08-30 07:42:24 <amaclin> how many nSigOps are in tx: 6766e75d6166a0a14bd814921d0f903285e15779e648d7ec52a4f7c0868ec07d ?
 10 2015-08-30 07:51:39 <phantomcircuit> bleh
 11 2015-08-30 07:51:48 <phantomcircuit> cant build master on debian wheezy anymore after fb08d92312312c6c896327d264a8e9915fdafae7
 12 2015-08-30 07:53:39 <gmaxwell> That commit message is unhelpful.
 13 2015-08-30 07:54:13 <gmaxwell> Please can we encourage people to include in commit messages _why_ a change was being made. As in what doom will befall the hapless fool who backs the commit out.
 14 2015-08-30 07:55:12 <phantomcircuit> gmaxwell, unlock(); f(); lock(); if f throws then we dont reacquire the lock
 15 2015-08-30 07:55:19 <phantomcircuit> also this is the wrong way to do this
 16 2015-08-30 07:56:36 <gmaxwell> yea, I wanted the upper level what-- like how do I reproduce the misbehavior. :)
 17 2015-08-30 07:57:27 <phantomcircuit> gmaxwell, it's the scheduler task so anything that's scheduled that throws would break this
 18 2015-08-30 07:58:17 <gmaxwell> I am happy knowing that if I go blind you'll be ready to tell me what I can see on my screen. :)
 19 2015-08-30 07:58:18 <phantomcircuit> gmaxwell, heh https://github.com/bitcoin/bitcoin/pull/6565#issuecomment-132077805
 20 2015-08-30 07:58:36 <phantomcircuit> gmaxwell, i hope you sleep better knowing that
 21 2015-08-30 07:59:07 <gmaxwell> Cool. I'm happy to know that it was found abstractly. (re 6394)
 22 2015-08-30 08:07:00 <phantomcircuit> gmaxwell, thoughts? https://github.com/bitcoin/bitcoin/compare/master...pstratem:no_reverse_lock?expand=1
 23 2015-08-30 08:07:17 <phantomcircuit> er
 24 2015-08-30 08:07:56 <phantomcircuit> yeah now
 25 2015-08-30 08:07:59 <gmaxwell> I was about to say "is this a test?"
 26 2015-08-30 08:15:13 <Arnavion> You need to check owns_lock? You can't just lock unconditionally?
 27 2015-08-30 08:19:13 <phantomcircuit> Arnavion, not sure, but this certainly seems safer
 28 2015-08-30 08:19:41 <Arnavion> Sure, although I doubt it's a counting semaphore
 29 2015-08-30 08:20:02 <Arnavion> The docs don't say it explicitly although the section for lock() does imply it isn't
 30 2015-08-30 08:20:16 <Arnavion> >The current thread blocks until ownership can be obtained for the current thread.
 31 2015-08-30 08:39:48 <phantomcircuit> Arnavion, i suspect it would be fine without the check
 32 2015-08-30 09:10:38 <midnightmagic> lol re: blind
 33 2015-08-30 09:28:27 <lclc> Can I set my own DNS server on startup to connect to with Bitcoin Core?
 34 2015-08-30 09:29:09 <lclc> like connect=x.x.x.x in bitcoin.conf file for my DNS
 35 2015-08-30 09:30:50 <phantomcircuit> lclc, huh? dns is handled by your system resolver
 36 2015-08-30 09:31:03 <phantomcircuit> do you mean you want to not do dns resolution at all?
 37 2015-08-30 09:31:38 <lclc> I mean the Bitcoin DNS to discover nodes
 38 2015-08-30 09:31:57 <phantomcircuit> lclc, oh
 39 2015-08-30 09:31:58 <phantomcircuit> uh
 40 2015-08-30 09:32:29 <phantomcircuit> i dont think you can override the ones that are built in
 41 2015-08-30 09:32:49 <lclc> I though it might be usefull for bootstraping my own nodes with my own seed server I trust. Also for SPV wallets like bitcoinj
 42 2015-08-30 09:33:42 <phantomcircuit> lclc, for spv clients you want to connect to a full node which you run and explicitly trust and ONLY that node
 43 2015-08-30 09:36:15 <lclc> phantomcircuit: but I could handle way more SPV clients with a trusted DNS seed on the same hardware.
 44 2015-08-30 09:36:27 <lclc> Not the same security level as a full node on the server, I agree, but makes it more difficult to do a sybil attack
 45 2015-08-30 09:38:00 <phantomcircuit> lclc, no it does not
 46 2015-08-30 09:38:23 <phantomcircuit> it also doesn't protect you against miners generating invalid blocks that contain inputs that aren't in the utxo
 47 2015-08-30 09:38:27 <phantomcircuit> (ie creating fake bitcoins)
 48 2015-08-30 09:44:25 <lclc> phantomcircuit:   how it is now is that BitcoinJ gets it peer list from the DNS Seed. So I have to trust them that I get some honest peers.
 49 2015-08-30 09:44:31 <lclc> Same for bootstraping Bitcoin Core
 50 2015-08-30 09:44:33 <lclc> If people can set their own BItcoin DNS in the config file they can pick who to trust with that
 51 2015-08-30 09:45:13 <phantomcircuit> lclc, actually bitcoinj gets it's peers from some http stuff that mike hearn runs
 52 2015-08-30 09:45:36 <lclc> ok, then the docs are outdated regarding this
 53 2015-08-30 09:46:18 <phantomcircuit> lclc, the bitcoin dns servers are special though
 54 2015-08-30 09:46:27 <phantomcircuit> do you understand that?
 55 2015-08-30 09:47:52 <lclc> I think I do.   I don't see how my point is not valid regarding getting a set of peers to bootstrap means I have to trust the Bitcoin DNS servers to get honest peers ?
 56 2015-08-30 09:49:53 <phantomcircuit> lclc, you should be using multiple peer discovery mechanisms
 57 2015-08-30 09:50:02 <phantomcircuit> running your own dns seed is at the very end of that list
 58 2015-08-30 09:50:08 <lclc> I don't think it's a big problem, just though if a PR with such a option would be accepted.  And if I maybe missed something, so I ask here first
 59 2015-08-30 11:19:11 <bitcoin003> Does anyone know of a collection of transactions that never made it into blocks? I'm looking to do some research and I need this data.
 60 2015-08-30 13:35:51 <imacoiner> Hi everybody
 61 2015-08-30 13:35:58 <imacoiner> I need a help about bitcoin development
 62 2015-08-30 13:37:03 <imacoiner> I'm using bitcoinj java library. I create wallet and save it. And then restore that wallet and then I want to check its balance but it gives me everytime ZERO ? What is the problem anybody has information about it ?
 63 2015-08-30 13:37:42 <c0rw1n> well did that address ever receive bitcoins ?
 64 2015-08-30 13:38:18 <imacoiner> yes
 65 2015-08-30 13:38:36 <imacoiner> I connect Testnet3
 66 2015-08-30 13:38:49 <imacoiner> and with faucets i send coins.
 67 2015-08-30 13:39:06 <imacoiner> also testnet blockchain explorers show its balance correctly
 68 2015-08-30 15:48:37 <imacoiner> Have anybody used bitcore-wallet-service ?
 69 2015-08-30 16:02:12 <imacoiner> guys
 70 2015-08-30 16:02:24 <imacoiner> anybody uses bitcoinj library ?
 71 2015-08-30 16:34:37 <imacoiner> Guys , can you prefer any high level bitcoin wallet library for development?
 72 2015-08-30 16:58:21 <Architektor> hi there
 73 2015-08-30 16:58:27 <SeXploit> hey
 74 2015-08-30 16:58:35 <SeXploit> im trying to find the source for 101
 75 2015-08-30 16:58:48 <SeXploit> is it up anywhere?
 76 2015-08-30 16:58:53 <SeXploit> github just seems to have psuedo
 77 2015-08-30 16:59:09 <Architektor> I have a question, I'm using the RPC API in my app and I need a page that lists all the transactions of category "receive" that the user has
 78 2015-08-30 16:59:31 <SeXploit> that should be pretty straight forward
 79 2015-08-30 16:59:34 <Architektor> but the listtransactions call limiting parameter does not differentiate between categories
 80 2015-08-30 16:59:34 <SeXploit> where is the hang up
 81 2015-08-30 16:59:50 <Architektor> so I need to ask for all transactions before filtering them by category
 82 2015-08-30 16:59:52 <SeXploit> well look to see what the to addy is
 83 2015-08-30 17:00:12 <Architektor> but I can't do that, afaik
 84 2015-08-30 17:00:12 <SeXploit> if it wasnt to one of the addresses in your app then it is a debit
 85 2015-08-30 17:00:24 <SeXploit> so run listtransactions
 86 2015-08-30 17:00:40 <Architektor> yeah I know how to do that
 87 2015-08-30 17:00:46 <Architektor> but listtransactions return the n most recent transactions
 88 2015-08-30 17:00:48 <Architektor> I want them all
 89 2015-08-30 17:00:49 <SeXploit> it wont explicitly say "received" or "sent" however if you look at the transaction details it will become clear
 90 2015-08-30 17:01:00 <Architektor> yeah I know how to filter
 91 2015-08-30 17:01:04 <SeXploit> got it
 92 2015-08-30 17:01:10 <SeXploit> so you are saying that you cant list em all?
 93 2015-08-30 17:01:18 <Architektor> yeah
 94 2015-08-30 17:01:33 <Architektor> I can put n=9999 but if there are 10000 transactions I won't get them all
 95 2015-08-30 17:01:33 <SeXploit> just find how many tx's have been done and set n to that
 96 2015-08-30 17:01:39 <Architektor> I tried put n=-1 but didn't work
 97 2015-08-30 17:01:41 <Architektor> how to do that?
 98 2015-08-30 17:02:01 <SeXploit> easiest and most totally stupid way to do it is to scrap the blockchain and get n
 99 2015-08-30 17:02:06 <SeXploit> *scrape
100 2015-08-30 17:02:10 <Architektor> haha
101 2015-08-30 17:02:15 <SeXploit> im lazy
102 2015-08-30 17:02:17 <SeXploit> tis the way i do it
103 2015-08-30 17:02:19 <SeXploit> :)
104 2015-08-30 17:02:49 <Architektor> I noticed there is no Python 3 API for bitcoin-RPC
105 2015-08-30 17:02:51 <Architektor> so I made one
106 2015-08-30 17:02:52 <Architektor> http://deepweb.ninja/~sasha/bitcoin.html
107 2015-08-30 17:02:55 <Architektor> if that's useful to someone
108 2015-08-30 17:03:05 <SeXploit> PHP > Python
109 2015-08-30 17:03:17 <Architektor> haha
110 2015-08-30 17:05:51 <imacoiner> guys can you prefer any high level bitcoin library?
111 2015-08-30 17:06:03 <imacoiner> for developing wallet like app(on web)
112 2015-08-30 17:06:22 <Architektor> higher level than my thing?
113 2015-08-30 17:06:35 <Architektor> like object-oriented wrapper etc ?
114 2015-08-30 17:07:01 <Architektor> not hard to do
115 2015-08-30 17:07:03 <imacoiner> may be also not need to download all blockchain data
116 2015-08-30 17:07:17 <Architektor> why that?
117 2015-08-30 17:07:32 <Architektor> if you use RPC calls with bitcoind you need all the blockchain
118 2015-08-30 17:07:37 <imacoiner> I tried to use bitcoin(which is java library) but some documentation is old so There is a lot of problem.
119 2015-08-30 17:08:05 <Architektor> well look at my code, it's 18 lines long
120 2015-08-30 17:08:10 <Architektor> i'm sure you can reproduce this in Java
121 2015-08-30 17:08:47 <Architektor> higher level than just passing JSON, but still not object oriented
122 2015-08-30 17:08:52 <Architektor> but no need for that imho
123 2015-08-30 17:09:54 <imacoiner> Architektor my scenario will be like that: Create Wallet(if available restore)->Check Balance->Send Coin Another Wallet Address etc->OK
124 2015-08-30 17:10:13 <imacoiner> so my app will be a webapp
125 2015-08-30 17:10:34 <Architektor> by wallet you mean account ?
126 2015-08-30 17:10:43 <imacoiner> blockchaindata is approximately 45GB
127 2015-08-30 17:10:51 <Architektor> yeah
128 2015-08-30 17:10:55 <Architektor> but you need it once
129 2015-08-30 17:10:59 <Architektor> for your entire app
130 2015-08-30 17:11:09 <imacoiner> but you know multibit like apps
131 2015-08-30 17:11:16 <imacoiner> doesn't need that
132 2015-08-30 17:11:23 <Architektor> how do they do that?
133 2015-08-30 17:11:35 <Architektor> i'm guessing your wallet is on multibit's servers
134 2015-08-30 17:11:45 <Architektor> there is a copy of the blockchain somewhere
135 2015-08-30 17:11:52 <Architektor> if not on your computer, it's on multibit's servers
136 2015-08-30 17:11:56 <imacoiner> I don't know
137 2015-08-30 17:12:36 <Architektor> I'd rather occupy 100 Gio of my disk space than trusting a third party for keeping my coins safe
138 2015-08-30 17:12:44 <Architektor> esp if your app is going to be used by many users
139 2015-08-30 17:18:23 <imacoiner> Architektor you are right but server costs will increase
140 2015-08-30 17:19:25 <mahdi_> hey everybody, I have a problem with my bitcoind not hashing at all ... it's a modified version of bitcoin (not altcoin, just for the sake of learning)
141 2015-08-30 17:19:43 <mahdi_> here is my full question: http://bitcoin.stackexchange.com/questions/39315/bitcoind-doesnt-hash
142 2015-08-30 17:20:17 <Architektor> yeah, that's sure
143 2015-08-30 17:20:44 <mahdi_> basically nodes are connected and supposed to start hashing, but nothing happens at all ...
144 2015-08-30 17:21:13 <sturles> mahdi_: Do you mean mining?
145 2015-08-30 17:21:23 <mahdi_> yes, mining
146 2015-08-30 17:21:37 <sturles> It won't do that by default.
147 2015-08-30 17:22:00 <sturles> You could, for the sake of testing, call setgenerate true.
148 2015-08-30 17:22:07 <mahdi_> the generation has set to true
149 2015-08-30 17:22:32 <mahdi_> it is already true, but nothing happens ...
150 2015-08-30 17:22:47 <mahdi_> I have the debug.log in the url I posted above
151 2015-08-30 17:22:56 <sturles> Probably because it expect to download blocks at least up to the latest checkpoint first.
152 2015-08-30 17:23:12 <mahdi_> basically i have managed to understand up to the genesis block, but stuck there
153 2015-08-30 17:23:32 <mahdi_> i have disabled the checkpoints in the source code
154 2015-08-30 17:24:01 <sturles> No hints from getinfo either?
155 2015-08-30 17:24:25 <mahdi_> getinfo says everything's fine, but 0 hashes per second
156 2015-08-30 17:24:44 <mahdi_> as you see the debug.log also doesn't show any error, etc.
157 2015-08-30 17:25:25 <mahdi_> for some reason I can't see my bitcoind in my running processes, but bitcoin-cli says it works
158 2015-08-30 17:26:01 <mahdi_> I'm basically studying the source code, so haven't done any big modification in the code base
159 2015-08-30 17:29:13 <mahdi_> I'm also running bitcoind via sudo, just to prevent the permission problems, if any, but neither ways work
160 2015-08-30 17:30:35 <Architektor> why via sudo
161 2015-08-30 17:30:50 <Architektor> it should be run with the user that has the .bitcoin folder in its home directory
162 2015-08-30 17:31:02 <Architektor> with a 600 chmod and owner set correctly
163 2015-08-30 17:31:33 <mahdi_> yes, but saw a similar post in a dogcoin forum, suggesting it could be the permission problem
164 2015-08-30 17:32:52 <Architektor> if you run it with sudo it uses the .bitcoin folder located in the /root folder
165 2015-08-30 17:32:57 <Architektor> that's not what you want
166 2015-08-30 17:33:04 <mahdi_> ah, you are right
167 2015-08-30 17:33:29 <mahdi_> so basically the debug.log also shouldn't be what I've posted up there
168 2015-08-30 17:33:36 <mahdi_> that's so stupid
169 2015-08-30 17:34:11 <mahdi_> let me turn on my vm machines and give it shot
170 2015-08-30 17:34:23 <mahdi_> thanks by the way!
171 2015-08-30 17:59:19 <justinwaugh> Where has the genesis information been moved to since Bitcoin 0.1.0? I could find it in there (in main.cpp,) but not in the newest branch on Github?
172 2015-08-30 18:18:39 <mahdi> so I'm back here, the log file says now that the BitcoinMiner has started, but getmininginfo still shows 0 for hashes per second ...
173 2015-08-30 18:18:56 <mahdi> is that something expected?
174 2015-08-30 18:19:27 <mahdi> how can I check if the bitcoind is actually mining, except RPC commands
175 2015-08-30 18:19:34 <mahdi> setgerate also is true
176 2015-08-30 18:22:26 <Architektor> CPU usage, mahdi
177 2015-08-30 18:22:28 <Architektor> run htop
178 2015-08-30 18:22:58 <mahdi> it's not that high, let me check it again ...
179 2015-08-30 18:24:10 <mahdi> .7% per thread
180 2015-08-30 18:24:19 <mahdi> 2.1% in total
181 2015-08-30 18:24:26 <mahdi> ~3% overal
182 2015-08-30 18:25:40 <mahdi> let me try to find the mining function in the source code and log couple of things there, just to see where it fails
183 2015-08-30 18:33:20 <Architektor> in regnet mode when I generate a block, the mining tip goes to which account?
184 2015-08-30 18:33:29 <Architektor> last used ? every account ?
185 2015-08-30 18:35:13 <belcher> Architektor run listaccounts in the console
186 2015-08-30 18:36:02 <Architektor> yeah and what
187 2015-08-30 18:36:11 <Architektor> I want to know how it is distributed
188 2015-08-30 18:36:27 <belcher> it will tell you which account got the 50btc
189 2015-08-30 18:37:41 <mahdi> i'm recompiling code-base now
190 2015-08-30 18:37:51 <mahdi> it was going to the default account *
191 2015-08-30 18:38:02 <mahdi> well, there were only one account
192 2015-08-30 18:38:39 <Architektor> always the same one gets the btcs
193 2015-08-30 18:38:45 <Architektor> why that
194 2015-08-30 18:38:49 <Architektor> can't I choose?
195 2015-08-30 18:49:20 <Architektor> can I delete an address from an account? for not filling up the address space with useless ones
196 2015-08-30 18:49:24 <Architektor> as they're one time use
197 2015-08-30 18:49:29 <Architektor> in my app
198 2015-08-30 18:50:01 <belcher> you shouldnt delete address/privkey pairs
199 2015-08-30 18:50:22 <belcher> whats the problem? they are less than 100 bytes each
200 2015-08-30 18:50:53 <Architektor> by address space I mean total bitcoin addresses
201 2015-08-30 18:51:02 <Architektor> there is a limited number of addresses
202 2015-08-30 18:51:31 <belcher> technically limited but in practice unlimited
203 2015-08-30 18:51:55 <belcher> btw these questions are better for #bitcoin, this chan is about development of the core client
204 2015-08-30 18:52:23 <Architektor> oh ok
205 2015-08-30 18:52:35 <Architektor> thanks
206 2015-08-30 18:52:41 <Architektor> #bitcoin is for developpement with bitcoind RPC and so on ?
207 2015-08-30 18:53:06 <belcher> yep
208 2015-08-30 18:53:44 <Architektor> is the "there is no from address" in topic the answer to the question i've been asking myself, whrere to get sender address having the tx id ?
209 2015-08-30 18:59:48 <mahdi> I sorta found were the miner stuck, but can't figure out why ...
210 2015-08-30 18:59:54 <mahdi> if you look at this: https://github.com/bitcoin/bitcoin/blob/master/src/miner.cpp
211 2015-08-30 19:00:03 <mahdi> line 461 i guess
212 2015-08-30 19:00:24 <mahdi> @463 there is an if statement
213 2015-08-30 19:00:30 <kanzure> review of SIGHASH_ sighash type proposals http://lists.linuxfoundation.org/pipermail/bitcoin-dev/2015-August/010759.html
214 2015-08-30 19:00:47 <mahdi> that if never gets through
215 2015-08-30 19:02:10 <mahdi> basically, fvNodesEmpty never trasnlates to true
216 2015-08-30 19:05:24 <Architektor> i can't speak C++, mahdi sorry
217 2015-08-30 19:05:28 <Architektor> nor C
218 2015-08-30 19:06:19 <mahdi> no worries Architektor, your heads up was very helpful -- about the sudo
219 2015-08-30 19:06:29 <mahdi> I was absolutely stuck there!
220 2015-08-30 19:07:09 <imacoiner> anybody uses bitcoinj?
221 2015-08-30 20:42:38 <imacoiner> Anybody developed webapp for bitcoin ?
222 2015-08-30 22:33:15 <bedeho> do p2sh scriptSigs also start with OP_0 bug, like mofn scriptSigs?
223 2015-08-30 23:31:48 <therealplato> how do I send only part of an address's balance with 0.11  and coin control enabled?
224 2015-08-30 23:33:08 <belcher> therealplato better asked in #bitcoin
225 2015-08-30 23:35:29 <therealplato> k thx belcher
226 2015-08-30 23:50:13 <asktodo> ai ai