Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [blockchain-fork]

This tag should be used for questions regarding any split in the Bitcoin blockchain

4
votes
3answers
330 views

Would it be possible to create a soft-fork for reducing miner reward?

Context: There is a bet going on r/bitcoin about the possibility of doing a user activated soft fork for reducing current miner reward to 0.25 BTC. One of the users says the bet had two points: the ...
0
votes
0answers
23 views

What are the basic differences between BTC ,LTC and BTG?

What are the basic differences between BTC ,LTC and BTG? What are the advantages and disadvantages of these basic differences? Do these disadvantages (advantages ) weaken (strengthen ) the basic ...
0
votes
4answers
132 views

I have a Bitcoin ABC full node. How do I split off Bitcoin SV?

I have some BCH in a Bitcoin ABC full node, which is currently running 0.18.5. I want to obtain the corresponding Bitcoin SV without spending on both chains at the same time and losing the BSV. I am ...
0
votes
1answer
34 views

how to create a transaction that can only run in bch-abc using javascript?

I use the "bitcoincashjs" or "bch-lib" and want to add a new opcode "OP_CHECKDATASIG" to output.How to do? const utxo = { 'txId' : '...
3
votes
1answer
40 views

How was FORKID used in Bitcoin Cash at the original fork point and in all upgrades since?

References: https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/replay-protected-sighash.md https://github.com/bitcoincashorg/bitcoincash.org/blob/master/spec/2018-nov-upgrade.md It ...
0
votes
1answer
39 views

How many coins will be available after bitcoin cash fork?

I am confused about bitcoin cash fork. Will Bitcoin Cash disappear and its name change to the Bitcoin cash ABC? or after hash war there will be only one coin?
-2
votes
1answer
68 views

Consensus issue, sync. stuck at “Synchronizing sporks - 25%” - PIVX fork

I've been working on a PIVX fork for some time, to better understand blockchain infrastructure and coding in general. I have been able to modify all parameters, remove checkpoints, set up a new ...
0
votes
1answer
49 views

How can Bitcoin Cash be blocks ahead of Bitcoin SV

After the Bitcoin Cash & Bitcoin SV fork, Bitcoin Cash is happy to be "ahead" of Bitcoin SV, but how is this possible? aren't blocks supposed to be mined constantly every 10 min?
0
votes
1answer
18 views

how to prevent losses after a hard or soft fork

i learned about hard and soft forks from this question; now i have a basic understanding about forks; but the answers of that question did not say what happens to transactions on the stale chain; if i ...
0
votes
1answer
25 views

Ardor Transaction was generated on a fork error

I tried to sign a transaction and then broadcast it, but I get the following error: Error! Failed to broadcast transaction: ecBlockHeight 221000 does not match ecBlockId 932...., transaction was ...
1
vote
1answer
24 views

What would happen if I publish a modified version of an earlier block? Would it be rejected immediately by peer nodes?

I am reading the book "Mastering Bitcoin" and have finished reading Chapter 2 and 10, but I still don't find the answer. Suppose the current main chain has 5 blocks: B0 <- B1 <- B2 <- B3 &...
2
votes
2answers
116 views

What are Forward Blocks?

Mark Friedenbach says "Bitcoin’s Block Size Can Be Increased Without Hard Fork". Can someone ELI5 what are Forward Blocks?
1
vote
1answer
24 views

Transaction in orphaned block question

This is a theoretical question. Assuming that a transaction (TX_A) with me on the receiving end gets added to the blockchain, I should be able to spend the amount I received. So I go on and spend it ...
2
votes
1answer
33 views

When does a blockchain fork resolution happen?

I understand that the forks are resolved by largest proof-of-work etc. but when do the miners decide to resolve a fork? Is it a network consensus or do each individual miner resolve at their own pace?
1
vote
1answer
26 views

Bitcoin version conundrum

Given that the Bitcoin node software not centrally controlled (auto updated) and many different versions and implementations exist around the world, how would a core change be possible if it is not ...
0
votes
1answer
21 views

What is the longnest blockchain fork that has been orphaned to date?

On this thread, the user asked what is the longest unintentional fork that Bitcoin had suffered. From the answers present, Bitcoin never had a >4 block fork until 2012. It has been 6 years though, ...
0
votes
0answers
39 views

How to fork in existent altcoin? [duplicate]

I am running altcoin from old bitcoin and am gonna hardfork. By Research, I know I should add my mined hash and time in checkpoint.cpp. To do so, I need to mine first, seperated from all peers to not ...
1
vote
1answer
47 views

Blockchain gets stucked if no blocks are mined

Yesterday I decided to fork a project, just for fun and to learn more about it. So, I forked a project, I generated my own genesis block, changed timestamps, nounce, keys, reset the min chain work. ...
4
votes
1answer
506 views

How can forks coexist even though only one of the is the longest chain?

We know Bitcoin has some forks like Bitcoin Cash and Litecoin. They make a new branch on chain, so how can they coexist without the shorter branches being discarded, and just the longest chain staying ...
0
votes
0answers
59 views

nLastPOWblock fork masternode

I'm trying to make fork masternode coin. At me all turned out, and works exactly that that moment when it is reached nLastPOWblock After that, generation of new blocks does not occur I noticed that in ...
0
votes
2answers
84 views

Why choose the longest chain before checking for double-spending?

Can we make the following changes to the current POW protocol to better avoid double-spending: a) For full/mining nodes that receive two chains, check if there are identical addresses that occur on ...
0
votes
0answers
49 views

Altcoin Fork: Wallet - Error opening Block Database

I forked a coin based on Banq. I changed everything and all worked fine. I could mine, blocks were syncing well without any problem etc. The problem comes when I set up the masternodes, I did setup ...
0
votes
0answers
199 views

Problem creating altcoin with masternodes

I forked an altcoin with masternodes to learn how to clone an altcoin and also to understand it more technically. So I forked one altcoin, changed everything and all worked fine. I could mine, blocks ...
1
vote
1answer
53 views

Is it possible to append new blocks to a block of arbitrary age?

First of all, I'm aware of 51% attacks and how they work. Though, I was wondering, if Bitcoin and other blockchains allow appending cryptographically valid, new blocks to blocks of arbitrary age (if ...
2
votes
0answers
126 views

How to hard fork a altcoin? [closed]

I have created a altcoin using the reference of LTC and already 170k blocks were formed. Now i want to change the conformation time as well as i want the difficulty to start from base difficulty....
1
vote
2answers
55 views

What happens to old transactions in case of a fork?

I'm confused about forking. What happens to the 'old' version of a blockchain and related transactions/data in case of a fork. Can they still be deleted or does the new branch still depend on them to ...
2
votes
1answer
86 views

Get transaction after certain (tx, block, time or other) using insight-api Bitcoin CASH

Now i can get all transactions by address (Bitcoin Cash) using this request to api: https://test-bch-insight.bitpay.com/api/txs/?address=qptaxxrqcz7qunclcvlcza9an6qlqqhzlya2d4e4fn But i want to get ...
1
vote
1answer
489 views

How to fork a cryptocurrency [closed]

I have cloned a coin and changed some variable to make it my own coin. I have launched it and have a few mining pools mining my coin. Going through the code I notice I have an error and the reward ...
1
vote
3answers
50 views

Why is a softfork unable to divide the network?

I was wondering why a soft fork cannot in principle divide the Bitcoin network as a hard fork can. I understand that a soft fork, by definition, involves only tightening the consensus rules, but the ...
1
vote
0answers
25 views

How to store bitcoins to easily claim hard forks later?

I had my bitcoins kept in a milti-signature, segwit address. After the fork of Bitcoin Cash, Gold, etc., I got to know that I can't claim my fork coins (or very difficult to claim, if possible). I ...
2
votes
2answers
145 views

How do the nodes divide after a hard fork? Soft Fork?

After a hard fork, what happens to the full nodes? Say 11,000 BTC full nodes existed prior to the fork. Do all 11,000 end up supporting both BCH and BTC? Or does BCH start building it's own network of ...
0
votes
1answer
119 views

what is forking attack? and different between forking attack and selfish mining?

I am a student who studies block-chain for these days. I have a question about forking attack and selfish mining in mining strategies as you see picture below I don't understand why miner should ...
1
vote
1answer
100 views

Would nine 1MB transactions potentially create havoc on the BitcoinCash network

It appears that the BitcoinCash chain is still on its original BCH main chain, and non-upgraded mines/exchanges/wallets can still transact there. What then would happen if nine (or more) 1MB ...
1
vote
0answers
26 views

Miners and Nodes: what are their role in protocol updates?

What are the different roles of miners and nodes for protocol updates (governance)? Which group is more important?
0
votes
0answers
17 views

I gave someone a bitcoin cash address to send btc and now it's not showing up on my bitcoin cash app [duplicate]

I am new to bitcoin so i made a mistake of sending my receiving address from bitcoin cash to an online casino I won money on. The bitcoin never showed up in the cash wallet app but when I look up the ...
1
vote
2answers
287 views

Any methods or tech to reduce the size of blockchain?

Are there any techs/methods applied or going to be applied on the bitcoin network to reduce the size of blockchain. It is really a burden for peroson to run a full-node especially on vps. Or what ...
1
vote
2answers
51 views

Did I lost the chance to get my BCH from Aug 2017 fork?

I had some BTC before the BCH fork in my wallet, but I didn't know I could claim the same quantity on BCH too, I've just read about how "hard fork" works :( Then I sell my BTC, that means now I ...
0
votes
1answer
86 views

Explanation of probability of forks in the Bitcoin blockchain

I am reading this paper on how information is propagated on the Bitcoin network. The authors present a model to predict the rate at which forks occur in the blockchain which is given as below Here, F ...
0
votes
1answer
14 views

Is it possible to copy BTC balances of only some addresses while forking

I want to fork a Blockchain for private use, however I want to keep only balance of some known adresses for example if my adresses are @A(10BTC), @B(20BTC), @C(30BTC) I want to see same adresses with ...
2
votes
2answers
93 views

Does a 2009 client sync the whole bitcoin blockchain

So does a 2009 client sync the whole bitcoin blockchain and does the temporary split of 2013 have any impact on that?
3
votes
1answer
133 views

Why is wif prefix 0x80 more than pubKeyHash prefix

I forked a coin and found that whatever I put in pubKeyHash prefix, I need to add 0x80 to it, to calculate wif prefix and hence generate an address keypair, i.e address and private key corresponding ...
-2
votes
1answer
55 views

How to make hardfork? [closed]

I understand what is hardfork in theory. Hardfork happens, when the consensus algorithm changes (if I'm wrong, correct me please). Ok, with theory everything is clear, but what about technical side of ...
0
votes
0answers
50 views

Monero hardforks to kill off ASIC manufacturers, when was the last time something similar happen to another coin?

In the recent news, Monero hardforks to kill off ASIC manufacturers like Bitmain. When was the last time a similar thing happen where cyptocurrency devs changed the mining algorithm to deter a large ...
0
votes
1answer
40 views

How Multisignature Wallets are affected in case of a hard-fork?

In an event of forking, are there any special circumstances involving multisig wallets? I am asking this because Coinbase says they do not support forks and multisig wallets? Below is a quote from ...
0
votes
4answers
90 views

What would happen if two miners were mining two blocks with two different set of transactions?

If two miners picked from the mempool two different sets of transactions, that were not dependent on each other. Then could both miners, mine both blocks and not create a fork? So miner 1 finishes ...
0
votes
0answers
31 views

APIs for new bitcoin forks

Is there any api providers to access blockchain data of new bitcoin forks? In my search, I could only find apis for btc and bch.
0
votes
1answer
42 views

Is it possible to copy transactions between Bitcoin's forks blockchain?

Do Bitcoin forks share the same transaction protocol after the fork? If so, is it possible to copy/ duplicate a transaction that uses common input transactions in the other blockchain? Let me explain ...
0
votes
1answer
881 views

How to correctly set attributes for block hash and nBits in PIVX Fork?

I've cloned PIVX(basically a DASH fork) and modified basic parameters. It compiles fine. When I'm trying to run it the server starts and the debug log file shows following errors: ERROR: ...
3
votes
1answer
42 views

Is this a valid scenario in blockchain?

Is this a valid case in blockchain? if yes whether the reward for t1 is shared and if not, which block will be invalidated or why not everyone will prefer to solve the block with a single transaction
1
vote
2answers
117 views

How did Bitcoin Cash fork from Bitcoin?

I was wondering how it was possible because of the following thinking: Let's assume that Bitcoin Cash's hashpower is smaller than Bitcoin's. Then they would start mining at the same point in the ...