Bitcoin Forum
June 24, 2024, 10:41:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: SoftFok doubt  (Read 183 times)
Mundo Blockchain (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
May 31, 2018, 05:22:29 PM
 #1

I'm start to learn about blockchain and crypto and started a private project.
so i have a doubt, how can i soft fork it on block X (to ajust reward for example)
im using CN-heavy algo

did i need to recompile daemon on seed nodes ?
chsados
Hero Member
*****
Offline Offline

Activity: 662
Merit: 545



View Profile
June 01, 2018, 12:13:59 AM
 #2

You have to code for where you want it to fork at.  Take a look at bcash code to see how they did it.
nc50lc
Legendary
*
Offline Offline

Activity: 2450
Merit: 5733


Self-proclaimed Genius


View Profile
June 01, 2018, 03:35:56 AM
Merited by achow101 (1)
 #3

You have to code for where you want it to fork at.  Take a look at bcash code to see how they did it.
Bitcoin Cash is a Hard Fork, a valid example of a Soft Fork is SegWit which has some software changes that didn't required a new chain upon its implementation.

I can't further help the OP with this, because I'm not well informed (for now) to the "technical side" of Soft-forks/Hard-forks as well, but this link may help: https://en.wikipedia.org/wiki/SegWit

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
June 01, 2018, 09:04:21 AM
 #4

I'm start to learn about blockchain and crypto and started a private project.
so i have a doubt, how can i soft fork it on block X (to ajust reward for example)

You do have to update the nodes software to behave the way you want to after block X has been reached.

Note that you can't adjust the reward in a soft fork. This would require a hard fork.
A soft fork is defined by being backwards compatible.

New blocks from updated nodes still have to be valid for non-updated nodes.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!