Bitcoin Forum
June 22, 2024, 09:34:49 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 [165] 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 ... 590 »
3281  Bitcoin / Armory / Re: tx broadcast timed out on: May 05, 2017, 03:43:18 PM
What version of Bitcoin Core are you using? Can you please post the Armory log files?
3282  Bitcoin / Bitcoin Technical Support / Re: Signed Transaction as 'insurance' on: May 05, 2017, 03:42:39 PM
Certainly. You can have the hex of the signed transaction in a text file, and once you need to broadcast the transaction, copy and paste the hex of transaction into any transaction broadcaster service.
3283  Bitcoin / Bitcoin Technical Support / Re: pow and incentives on: May 05, 2017, 03:20:38 PM
This I was unaware of.

So you're saying it is an optional part of the mining process. If I were a miner and I wanted only to use asics(or whatever the latest hashing hardware) to stumble upon the magic solution to the math problem, there would be nothing to stop me from doing that... correct?
Kind of. A block must still contain at least one transaction, the coinbase transaction. That transaction is what generates the Bitcoin and, IIRC, every block must have this transaction. It is not a transaction that is in the mempool; it is one created by the miner and added as the first transaction of their block. However, there is nothing stopping a miner from having just the coinbase transaction.

[
Ok. I was under the impression a miner could do just this i.e. apply a filter for the transactions he includes in his block. Whether that filter is applied manually or automated is besides the point I suppose. The main thing is that this selection process is currently carried out only by miners. And so my follow on question is IF there was a way to randomly select eligible transactions from the pool, what else would there be for the miner to do that is unique to him and not something that other full nodes can/do do?
Miners are the ones who generate Bitcoin. Without mining, we would need some other way to pay out the block subsidy. Currently miners create the coinbase transaction which creates an output but spends no inputs. The Bitcoin created by that transaction goes to whomever the miner wants it to go to, typically himself.
3284  Bitcoin / Development & Technical Discussion / Re: Differences between Bitcoin-Qt and Bitcoind ??? on: May 05, 2017, 01:20:41 PM
bitcoin-qt is bitcoind but with a GUI. bitcoind does not have a gui and can only be interacted with through the JSON-RPC interface. You can run bitcoin-qt and bitcoind simultaneously but you will need to point each one to a different data directory (and thus it will download the blockchain for each datadir and have different wallets). They cannot share the same datadir.
3285  Bitcoin / Bitcoin Technical Support / Re: pow and incentives on: May 05, 2017, 01:14:58 PM
Right, now here is where I have a question:

"Miners are the ones who choose which of those two gets to be included in the blockchain"

This appears to me to have nothing to do with actual mining. This selection process is done by whomever is given the role, if I'm correct on this. It is more a matter of policy that at this point in time at least, it be the miners.
It is a matter of policy, but choosing transactions does actually affect the block hash itself. The block header contains a field called the Merkle root. That Merkle root is the hash of all of the transactions in the block. One way that miners change the block header in order to try another hash is to change the transactions selected or just change the order of transactions so that they get another Merkle root.

But if there were an automated way of deciding which of the available transactions were included, couldn't the miners' unique role in the ecosystem disappear?
Sure, but what is that "automated way"? Transaction selection is automated; it's not like some guy is sitting at a computer and manually choosing what transactions he wants to mine next. Transaction selection is typically done by choosing the transactions from the miner's node's pool of unconfirmed transactions (aka the mempool) that pay the highest fee rate. In the case of two conflicting transactions, the mempool will only accept the transaction that it heard of first, but that may not necessarily be the transaction that was actually sent first. The network is also asynchronous so we need mining in order to have everyone know what the blockchain is and what transactions are considered final and settled.
3286  Bitcoin / Bitcoin Technical Support / Re: How to program automated future BTC sends. on: May 05, 2017, 03:28:27 AM
You can create timelocked transactions that cannot be confirmed until after a certain date or block height. However, since the transaction will be unconfirmed, you will need to keep the transaction somewhere and have a server broadcast it at the appropriate times. You could also give the transaction to your nieces and nephews (or their parents) now so that they can broadcast it in the future to receive the Bitcoin.
3287  Bitcoin / Bitcoin Technical Support / MOVED: Help transaction not confirmed 24hrs from mercatox.com!! on: May 05, 2017, 03:25:41 AM
This topic has been moved to Trashcan.

https://bitcointalk.org/index.php?topic=1901984.0

Duplicate topic
3288  Bitcoin / Armory / Re: Cancel Unconfirmed Transaction on: May 05, 2017, 03:23:07 AM
I'm sorry but I don't know what you mean by "inputs". So, if I "Clear Unconfirmed", the BTC should show up in my wallet. Then if I move that BTC to another wallet, (and then back), that should consider it spent or "respend"?

ELI5 I guess... Thanks for your help!!!!

EddieRock
Bitcoin transactions work by creating outputs and spending the outputs created by a previous transaction. The spending of outputs is called an input in a transaction. You have a transaction which spends some inputs and creates outputs for people that you now don't want to pay. In order to prevent this transaction from ever confirming, you must spend those inputs in a different transaction and get that transaction to confirm. By doing so, you will invalidate the original transaction since you can't spend inputs in two different transactions and have both confirm. That is the only way to guarantee that your Bitcoin actually returns to you.

You can just send the Bitcoin to an address in your wallet. To ensure that you spend the right inputs, you should use the Coin Control option and find and select the inputs that you spent in your original transaction. They are all labeled by the transaction id that created the output you want to spend and the output index (which number output it is). This will ensure that you spend the right inputs.
3289  Bitcoin / Armory / Re: Cancel Unconfirmed Transaction on: May 04, 2017, 11:40:07 PM
So my .75 btc will show back up in my wallet? Do I have to re-do the transaction still? Since it was hung, changer.com never processed the request.
If you do not attempt to respend the inputs, it is possible that your original transaction will still confirm and the Bitcoin will go to whoever you sent it to.
3290  Bitcoin / Bitcoin Technical Support / Re: DESPITE LARGE FEE: 0 confirmations over 24 hours now. on: May 04, 2017, 10:40:44 PM
Both transactions spend from an unconfirmed transaction. Your transactions cannot confirm until the unconfirmed transactions that they spend from also confirm. Your first transaction spends from https://blockchain.info/tx/4bf2eeb61a6fd30312bae53892e5e16d5d7ed682db4146450b0c77bc228236a0. The second one spends from https://blockchain.info/tx/ddee10955b973bf2b9c4a33a7d3963dd310b8130403a66d6c7fdf1394c3d1cd0. Both of those transactions have low fees so it may take a while for those to confirm.
3291  Other / Meta / Re: How to gain trust on bitcointalk.org? Looking to become an escrow eventually. on: May 04, 2017, 10:39:17 PM
You will gain trust by interacting with other forum members who will give you positive feedback if they think that you are trustworthy. If you are the person in a trade that is in a position where the other party must trust you (i.e. you are a seller and the buyer sent first), then IMO it is fine to ask the other person to leave you feedback once the trade is complete.
3292  Bitcoin / Armory / Re: Cancel Unconfirmed Transaction on: May 04, 2017, 10:36:42 PM
zapwallettxes is only for Bitcoin Core.

In Armory, go to Help > Clear All Unconfirmed and then restart Armory. This will have Armory forget about your unconfirmed transactions so you can respend the inputs. Once Armory has started again, just make the transaction as you normally would but include a higher fee. You may run into an issue where Bitcoin Core will reject your transaction because it still remembers the original. In that case, you will need to stop Bitcoin Core, find the mempool.dat file, and delete that file. Then start Core and Armory again.
3293  Bitcoin / Bitcoin Technical Support / Re: pow and incentives on: May 04, 2017, 10:33:40 PM
Miners create the blockchain. They add transactions to blocks and then hash the block headers to find one that is less than the target. That is the proof of work.

Miners secure the network by creating the blockchain which in turn is the "authority" which says which transactions are "real". The blockchain is really just a defense against double spending transactions. If two legitimate transactions exist but spend the same inputs and send to different outputs, those two transactions are said to double spend each other. Miners are the ones who choose which of those two gets to be included in the blockchain and is thus the "real" transaction. That is how miners secure the network.
3294  Bitcoin / Bitcoin Technical Support / Re: Github Source need? on: May 04, 2017, 10:30:39 PM
Your first question does not make any sense.

If you do not need to modify the behavior of a program, you don't need the source code. The released binaries are enough and you can usually interact with them in some way.
3295  Bitcoin / Bitcoin Technical Support / Re: Bitcoin-qt.exe with injected trojan (coinstealer ?) on: May 04, 2017, 06:49:29 PM
That result is a false positive. Antivirus software will frequently flag bitcoin-qt and bitcoind as viruses. If you have verified that the binaries that you downloaded are legitimate, then there is no problem here.

Antivirus software flag bitcoin-qt and bitcoind as coin stealers and mining viruses because they look for a wallet.dat file (since that is the file it uses for the wallet) and they have mining code (for mining testnet and regtest).
3296  Bitcoin / Bitcoin Technical Support / Re: how to build core wallet as standalone file on: May 04, 2017, 05:18:25 PM
You have been great in your explanation, can you in tell me a tutorial to link libraries statically? My target is to be able to compile any wallet and to run it in a system it have no libraries installed as bitcoin yet do.
Bitcoin Core builds the binaries through the gitian build system which you can read about here: https://github.com/bitcoin/bitcoin/blob/master/doc/gitian-building.md and here: https://github.com/bitcoin/bitcoin/blob/master/doc/release-process.md. If you use the same process for an altcoin (assuming that the dependencies and gitian descriptors are correct), then you will get standalone binaries.
3297  Bitcoin / Bitcoin Technical Support / Re: How to allow the Bitcoind Server to listen to Port 8332 ? on: May 04, 2017, 05:15:42 PM
The fact that you are getting an HTTP 401 error from connecting to port 8332 means that something (probably bitcoind) is listening on that port and can understand http. Thus bitcoind the issue is likely not related to bitcoind not connecting to the port but rather that you have configured it incorrectly.

You will get a HTTP 401 Unauthorized error if you do not have the "authorization" header or if the username/password in your auth header is incorrect. For the latter case, if you look in the debug.log file for Bitcoin Core, you will see a line like this:
Code:
ThreadRPCServer incorrect password attempt from 127.0.0.1
for each attempt at connecting.

Make sure that you are actually sending the username and password correctly and that what you set as username and password is the same thing as you have set in your bitcoin.conf file.
3298  Bitcoin / Bitcoin Technical Support / Re: how to build core wallet as standalone file on: May 04, 2017, 05:08:14 PM
In order for a standalone binary to work, it needs to be statically linked. Bitcoin Core does this through its depends system which builds all of the dependencies and statically links them to the Bitcoin Core binaries. However most altcoins don't do this because most altcoin devs do not understand all of the intricacies involved in making the Bitcoin Core releases.
3299  Bitcoin / Armory / Re: Armory DB massages, what do they mean?Armory stops DB on: May 04, 2017, 02:50:27 PM
Thanks for your reply. I have no intention to hijack the thread. I decided posting here since its still in the same line with Armory DB stop.
Bitcoin Core is still synchronizing. Could that be the reason for the error?
Possibly. Let bitcoin core finish syncing first before running armory.
3300  Bitcoin / Bitcoin Discussion / Re: Is diversity in bitcoin client implementations a good or a bad thing? on: May 04, 2017, 02:30:44 PM
This is actually only true for mining pool node software, as they are the only ones producing the block chain.  All the others can only download what the miner nodes produce or stop and not download it.  So the de facto protocol is the protocol that is compatible with the consensus chain that is produced by the miners ; whether that corresponds to any written document or not and whether that corresponds to any non-mining node or not.  If all miner pool nodes follow the same protocol, then only one chain is produced, which you can read with a "compatible browser" or which stops when that "browser cannot understand the only chain around".  Here, browser is any full node, or light wallet.
No, all full nodes matter and all full nodes are what define the consensus rules. You cannot have just the miners define what consensus is since they then have the ability to change it at will to fit their own agenda. Full nodes enforce that miners are following the same consensus rules by rejecting invalid blocks. Full nodes matter just as much as mining nodes as they determine what everyone else accepts as valid.

You can't just be compatible with the consensus rules, you must use the exact same rules with its bugs, intricacies, and undefined behavior. If you are just compatible, that means that the implementation is different and should that have a bug or do just one thing slightly differently, can cause a chain fork. The entire goal of consensus is to avoid chain forks.

Having multiple implementations of non-mining nodes is still problematic since a bug in one implementation means that people using that implementation can be forked off of the network either by a malicious entity or just accidentally.
Pages: « 1 ... 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 [165] 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 ... 590 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!