The Bitcoin hard-forked this Month (1 Aug 2017), which is the biggest great news in the bitcoin world. The fork is the operation for process to duplicate the code except the PID. Similarly, the BCC (bitcoin cash) is the bitcoin forked. This process can be illustrated via the following C program that can be compiled and run under Linux using gcc compilers.
// https://helloacm.com/btc-hard-fork-via-c-program-linux-and-how-to-claim-bcc/
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
int main() {
pid_t pid;
switch (pid = fork()) { // Bitcoin Hard-fork on 1/Aug/2017
case -1:
perror("Hard Fork Failure");
break;
case 0: // Child-process Bitcoin Cash (BCC)
printf ("%s\n", "BCC is now alive");
break;
default: // Parent-process BTC
printf ("%s\n", "I am BTC");
break;
}
for (;;) ; // continue to grow!
}
After hard-fork, the BCC and BTC diverge. But they share the same history (parent) before 1/Aug.
How to Claim BCC (Bitcoin Cash)?
The BCC and BTC share the same private key, but it is always safer to transfer your existing funds from your BTC wallet to another before you put your hands on the BCC funds. Some online BTC wallets e.g. codebase and exchange sites will automatically credit the same amount of BCC to your BCC (Bitcoin Cash) wallets.
I am using the Offline Bitcoin wallet – Electrum, and here is the corresponding BCC wallet Electron Cash Wallet, which was developed by the same team. Therefore both wallets are highly compatible.
The official method to claim the BCC (Bitcoin Cash) is to export the private key of BTC wallet and re-load them into your BCC wallet, however, after the installation of BCC wallet on the same PC as BTC wallet, the funds immediately become available.
Bitcoin/BTC Wallets
- Bitcoin has reached all time high: $118K!
- Toss a Coin 256 Times: The Math Behind an Unbreakable Bitcoin Private Key
- The Man Who Bought Pizza with 10,000 Bitcoins: The Legendary Story of Laszlo Hanyecz
- Bitcoin Key Seed Phrase Storage Methods: 2025 California Wildfire & 1.5 Million Bitcoins Lost
- The Genesis Block of the Bitcoin
- Simple investment strategy: regular investment in Bitcoin/BTC (Dollar Cost Averaging)
- How to Check Balances of a Bitcoin (BTC) Wallet Address via NodeJs or Python?
- When is Next Bitcoin Halving?
- Asking ChatGPT the Price of a Bitcoin (Does ChatGPT Predict or Estimate?)
- Celebrate Bitcoin Pizza day (Bitcoin Purchase Power)
- Do you believe in Bitcoins (or other Cryptocurrencies)?
- Remember to Specify the Change Address Parameter when Sending Funds from One Bitcoin Wallet to Another Address
- BTC Hard-Fork via C program (Linux) and How to Claim BCC?
–EOF (The Ultimate Computing & Technology Blog) —
Last Post: The Chess AI - Model Base or Machine Learning
Next Post: How Many Ways from A to C via B? Counting the Unique Paths Walking in a Grid