Bitcoin Forum
May 10, 2024, 11:14:10 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 [386] 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 ... 589 »
7701  Bitcoin / Development & Technical Discussion / Re: Reject all other Blocks and allow only my mined blocks on: January 16, 2016, 07:54:02 PM
I am looking at the source code and I want to know how can a person reject all blocks except the ones mined by himself, I want to be still able to add transaction to my blocks but reject all other mined blocks except mine, where do I need to look in the source code ?
It probably would happen somewhere around here: https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L4912 when the block is received and processed or here: https://github.com/bitcoin/bitcoin/blob/dd1304ec216c7d4bdb302195e184b15503819f67/src/main.cpp#L3190 where the block is processed to check the block for a certain parameter that indicates that the block was mined by you.


Excellent, so instead
Code:
else if (strCommand == NetMsgType::BLOCK && !fImporting && !fReindex)


will be like this?

Code:
else if (strCommand == NetMsgType::BLOCK)
No. It would actually be around here: https://github.com/bitcoin/bitcoin/blob/dd1304ec216c7d4bdb302195e184b15503819f67/src/main.cpp#L2923 where it checks the block. You need to add something there to check a parameter to see if it is yours. If you add something to the coinbase transaction, then you would need to add something here: https://github.com/bitcoin/bitcoin/blob/dd1304ec216c7d4bdb302195e184b15503819f67/src/main.cpp#L778 in the coinbase check to check the coinbase script for your parameter.
7702  Bitcoin / Bitcoin Technical Support / Re: Conflicted transaction on: January 16, 2016, 07:49:39 PM
What is the transaction id of that transaction?
7703  Bitcoin / Development & Technical Discussion / Re: Reject all other Blocks and allow only my mined blocks on: January 16, 2016, 07:42:31 PM
I am looking at the source code and I want to know how can a person reject all blocks except the ones mined by himself, I want to be still able to add transaction to my blocks but reject all other mined blocks except mine, where do I need to look in the source code ?
It probably would happen somewhere around here: https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L4912 when the block is received and processed or here: https://github.com/bitcoin/bitcoin/blob/dd1304ec216c7d4bdb302195e184b15503819f67/src/main.cpp#L3190 where the block is processed to check the block for a certain parameter that indicates that the block was mined by you.
7704  Economy / Service Discussion / Re: What happens if ?? on: January 16, 2016, 05:33:15 PM
You can't predict how much your possibility to die.
True, but if there are somethings where predicting death is a lot easier, like a terminal illness where the doctors say you have X amount of time left. And maybe if you live in a dangerous place maybe you shouldn't escrow, for more reasons than death. And if you live in a place where deadly natural disasters tend to occur, then it may be a good idea to also not escrow.
7705  Bitcoin / Development & Technical Discussion / Re: Block size question on: January 16, 2016, 04:59:32 PM
The tyranny of consensus and or possibly a single implementation with centralized authority and control?
I think that the consensus rules shouldn't be tied to one implementation. I think it should still be consensus and essentially voting, but still have consensus as we do now. And instead of the current governance with the one reference implementation, we should move to how the IETF does standards for the internet.
7706  Bitcoin / Project Development / Re: Bitcointalk Account price estimator on: January 16, 2016, 04:36:14 PM
Not sure if it's currently working correctly. Keep getting 'invalid token'.
Are you trying a token from more than a week ago? They expire after a week.

No, just tried using it now.
Huh. Strange, although we did see this problem a few pages ago. What is your token?
7707  Bitcoin / Development & Technical Discussion / Re: Block size question on: January 16, 2016, 04:34:19 PM
The second point you brought up is false. After the split it will not be possible to spend your coins twice on the same chain. The chains will have effectively split creating two separate currencies, it does not make double spends possible, for you to say that is just baseless fear mongering.
He doesn't mean spend the same coins twice on the same chain, he means that with two chains, the amount of Bitcoin you have essentially doubles. If you mix your prefork coins with post fork coins on both chains, then you have the same amount of currency on both chains. You have double of what you had originally and can thus spend more than what you should have been able to.
This is a good thing, it protects the users of Bitcoin, since regardless of what chain becomes dominant Bitcoin holders will have a share in both chains, making it a win win for users. Surely it would not be better if users had to choose? Making it a win lose proposition. This scenario would effectively split Bitcoin into two currencies, therefore it does not increase the total supply and does not weaken the value proposition of Bitcoin, from my perspective it actually strengthens it.
But for the miners mining on one chain, if that were to lose, they would lose a lot of money. For businesses, which coin should they accept? Some people might take advantage of both and accept coins from both chains. Then people will have twice the money that they should have, essentially inflation. Other businesses might not know what to do and simply stop accepting Bitcoin until there is only one coin that is called Bitcoin.
Which coin is the "real" Bitcoin? You can't have two coins calling themselves Bitcoin.

Then there is another technical aspect, since both would still share the same magic bytes, the same port numbers, and some other stuff that I don't remember right now. That means that blocks and transactions for one chain will be broadcasted to nodes that support the other chain. This also means that it is possible for a node to be accidentally isolated from the network if all of its peers happen to be for the chain other than the one it uses. Then it wouldn't receive any blocks or transactions and any transaction it makes wouldn't be seen by the network. This can cause problems for both users and miners. Miners would have a higher orphan rate on both chains because their blocks would propagate slower as some nodes would relay them and some wouldn't. Same with transactions. Users would have a harder time with getting their transactions out. Both could simply become unsynced with the network. Having those two chains could probably cause some more problems that we haven't even thought of yet.
7708  Bitcoin / Project Development / Re: Bitcointalk Account price estimator on: January 16, 2016, 04:25:03 PM
Not sure if it's currently working correctly. Keep getting 'invalid token'.
Are you trying a token from more than a week ago? They expire after a week.

Also, what's the difference between Normal & Merchant option?
Normal shows the full details of an account, while merchant only shows a stripped down version without the id, username, addresses, and the post counts and activity are rounded down to the nearest 20 to reduce the possibility of buyers to find out what the account is. It is good for selling accounts. This is an example of one for an account that I am selling: http://www.bctalkaccountpricer.info/?token=ikkkst6d
7709  Economy / Auctions / Re: [AUCTION] Full member account with potential on: January 16, 2016, 04:24:44 PM
If someone bids within the last six hours of the auction, it will be extended for another 24 hours. If no one bids, then the auction will be extended for 48 more hours.
7710  Economy / Service Discussion / Re: What happens if ?? on: January 16, 2016, 04:17:58 PM
If the person knew that there was a high possibility that he might die, then he probably should not be escrowing or giving loans.

If he told people that he trusts (e.g. family) what he was doing with Bitcoin and how they can access his Bitcoin after he dies, family members or friends could continue his business or at least close out any deals so that others do not lose their money.

Otherwise, the coins are lost.
7711  Bitcoin / Development & Technical Discussion / Re: Block size question on: January 16, 2016, 04:13:26 PM
Are you saying if miners switch to Bitcoin classic (once available) or change the header file in their nodes we might end up with two chains?

If you did this today, your 2MB blocks would be rejected.  Unless they run their mining operations hoping others switch their nodes to higher limit so that they can accept larger blocks, confirming each other.  
Yes. Part of the forking process is producing blocks with a version of a certain number or higher to indicate support for the fork. Once enough of the last n blocks (usually 750 of the last 1000 blocks, but that changes depending on how much consensus the developer wanted) have that version number, then nodes begin rejecting any lower version blocks and then some time after the fork actually occurs. This allows nodes to know that a fork is happening and that the fork is supported. Then there is the grace period for people to upgrade so that when the hard fork does happen, there is consensus and the blockchain doesn't actually split into two chains that could survive.

Do not let these guys scare you to much. Hard forks should be embraced and they would only lead to a split if there is a significant amount of divergence on the matter. Therefore a split would only happen if enough people chose not to upgrade. This should be considered a positive thing, since it solves the problem of tyranny of the majority. The ability to split represents our right to self determination. The freedom to have the Bitcoin that we want, regardless of any minority or majority changing the code. Bitcoin is freedom, people are scared of this freedom. Trying to scare others to give up this freedom. Do not give in, embrace what Bitcoin is, embrace the genius of its design. The ability to hard fork exists exactly in order to resolve such disagreements, this is the governance mechanism within the protocol that ensures the freedom and continued decentralization of Bitcoin.
Hard forks by themselves are not bad. However doing a hard fork without consensus can lead to a lot of problems. The problem now is that there isn't consensus on what to do, so at this time, a hard fork is probably not a good idea.

The second point you brought up is false. After the split it will not be possible to spend your coins twice on the same chain. The chains will have effectively split creating two separate currencies, it does not make double spends possible, for you to say that is just baseless fear mongering.
He doesn't mean spend the same coins twice on the same chain, he means that with two chains, the amount of Bitcoin you have essentially doubles. If you mix your prefork coins with post fork coins on both chains, then you have the same amount of currency on both chains. You have double of what you had originally and can thus spend more than what you should have been able to.
7712  Bitcoin / Development & Technical Discussion / Re: I support "Bitcoin Classic" (2MB), if the activation threshold is over 95% on: January 16, 2016, 05:38:32 AM
75% is higher than the majority needed to change the constitution in most parliamentary democracies. 
Bitcoin is not a democracy, it is a consensus based system, which means that everyone has to agree otherwise the changes will not work. Since there is no central authority like in governments, no one is there to enforce the majority decision.
7713  Bitcoin / Project Development / Re: Bitcointalk Account price estimator on: January 16, 2016, 04:26:41 AM
This thing is really cool. How long did it take you to make it? Now I can finally figure out the real price of my account, not just people telling me what they want to buy it for. Thanks a lot.
This took me several days to build, but it wasn't all too hard. So far the hardest part was upgrading to use a token system and fixing the queuing system.

Also, this is not definitive and it may not actually reflect actual account prices.
7714  Bitcoin / Armory / Re: Will Armory support the Bitcoin Classic fork? on: January 16, 2016, 12:19:12 AM
IIRC armory doesn't do any of the block validating stuff, it relies on bitcoin core to do it. Since bitcoin classic is a fork of core, you can connect armory to use it.
7715  Bitcoin / Bitcoin Technical Support / Re: Is this possible? Bitcoin Core full wallet on a portable drive on: January 15, 2016, 11:06:17 PM
With current computers, it doesn't matter what the hardware is, pretty much any os will work. You won't have the greatest experience without the proper drivers, but you would still be able to boot from the USB device and be able to use it.

You can also install Bitcoin Core onto that drive and use it as a portable application. Since most computers you encounter will be running windows, you can just download the windows zip and extract the program. Just run bitcoin-qt.exe from the USB drive on whatever computer you want and it will run Bitcoin Core. You will need to create a shortcut or batch file to run the program and also set the data directory to the data directory on the USB drive. Otherwise it will start downloading the blockchain onto the computer you are using and that is not wanted.
7716  Bitcoin / Bitcoin Technical Support / Re: [HELP asap please] Can XT supporters broadcast this transaction for me? on: January 15, 2016, 09:31:51 PM
Thank you very much again. I can hope this end well, and i have understood a lot more on how bitcoin work.

Can you give me an address where i can send this 0.0117 as a small tip? I will cover it now from my remaining btc, not matter how it ends Smiley
Not necessary, but if you want to: 16mT7jrpkjnJBD7a3TM2awyxHub58H6r6Z
7717  Bitcoin / Bitcoin Technical Support / Re: [HELP asap please] Can someone please broadcast this transaction for me? on: January 15, 2016, 09:19:19 PM
Can you understand why isn't working? And will reversing this one also make invalid the whole  https://blockchain.info/tx/22d1d330b71ac8c19e188fdef12ed15da2febe728fb0d0dd80ebc3b360090f06 ?

If this new one is confirmed, then it will invalidate the original. If the original is confirmed, then this new one will be invalid.

Here, I sent it for you: https://live.blockcypher.com/btc/tx/980e22b228edd1d45d50c2d6b21b85348fe4174d754f439829764e9018935c82/

I had to use a custom tool for this.

THANK YOU very much! So now i have a chanche that the hi-fee tx get confirmed first?

How did you do this? What was i doing wrong?
Nothing was wrong. It is just that most nodes will refuse to relay or accept a transaction to the mempool if that transaction spends an input that has already been spent by another transaction that is also in their mempool or in the blockchain. However, some software will relay those, like Bitcoin XT. The tool I was using just sent the transaction to as many nodes as possible and hoped that at least one of them would continue to relay the transaction. Obviously it did.
7718  Bitcoin / Bitcoin Technical Support / Re: [HELP asap please] Can someone please broadcast this transaction for me? on: January 15, 2016, 09:01:58 PM
Can you understand why isn't working? And will reversing this one also make invalid the whole  https://blockchain.info/tx/22d1d330b71ac8c19e188fdef12ed15da2febe728fb0d0dd80ebc3b360090f06 ?

If this new one is confirmed, then it will invalidate the original. If the original is confirmed, then this new one will be invalid.

Here, I sent it for you: https://live.blockcypher.com/btc/tx/980e22b228edd1d45d50c2d6b21b85348fe4174d754f439829764e9018935c82/

I had to use a custom tool for this.
7719  Bitcoin / Bitcoin Technical Support / Re: [HELP asap please] Can someone please broadcast this transaction for me? on: January 15, 2016, 08:53:06 PM
No its fine, its just that you copied some whitespaces and linebreak when you pasted it here.

Please dont send me your private key.

My point is that if you want to rebroadcast that TX you need to find the raw version of 980e22b228edd1d45d50c2d6b21b85348fe4174d754f439829764e9018935c82

Its one of the inputs your TX uses.
Actually it is not. That is the txid of the transaction itself. You misread the decoding.

OP, to push this you need something that allows double spend relaying. Unfortunately this means that Bitcoin Core can't do it, so I can't help. If someone has a Bitcoin XT node that would work since XT allows double spend relaying.
7720  Bitcoin / Development & Technical Discussion / Re: Is a reduced reward time possible? on: January 15, 2016, 08:48:04 PM
But, ok, we are getting a list of issues that would be affected and that's why I was asking. The first item in the list was that there would be an increase in the number of orphaned blocks and then I asked how other alt coins that have quicker reward times handle that problem. Haven't gotten any answers to that question yet and am curious if that is still a legitimate reason or not.
AFAIK, they don't have any way to handle more orphan blocks. They just deal with it. However, miners on Bitcoin aren't going to just deal with it because that would be a change that is detrimental to them. Other altcoin miners deal with it because that was how the altcoin was originally designed.
Pages: « 1 ... 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 [386] 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 ... 589 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!