worldinacoin
|
|
October 02, 2011, 11:23:28 AM |
|
I can't find the inflation_trigger line......
|
|
|
|
MaGNeT
Legendary
Offline
Activity: 1526
Merit: 1002
Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na
|
|
October 02, 2011, 11:28:04 AM |
|
-
|
|
|
|
coblee
Donator
Legendary
Offline
Activity: 1654
Merit: 1350
Creator of Litecoin. Cryptocurrency enthusiast.
|
|
October 02, 2011, 11:37:46 AM |
|
I'm still working on a relaunch. The source is here: https://github.com/coblee/FairbrixIt's not fully working yet. But I'm going to make it such that you don't need a conf file. I would not suggest mucking around with your fairbrix.conf file to try to generate coins for the original chain. This would just make people fork different chains and create a huge mess.
|
|
|
|
thirdlight
|
|
October 02, 2011, 11:48:10 AM |
|
Simply removing the line in the config is enough to restore expected behaviour. No need for a re-launch.
|
|
|
|
caston
|
|
October 02, 2011, 11:52:38 AM |
|
Why not a relaunch then you can mine again from the beginning?
|
bitcoin BTC: 1MikVUu1DauWB33T5diyforbQjTWJ9D4RF bitcoin cash: 1JdkCGuW4LSgqYiM6QS7zTzAttD9MNAsiK
-updated 3rd December 2017
|
|
|
twobits
|
|
October 02, 2011, 11:53:25 AM |
|
Simply removing the line in the config is enough to restore expected behaviour. No need for a re-launch. Since that would then make the 0 coin blocks invalid blocks, it is a block forking change, so a relaunch is needed.
|
█████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ►WhitePaper ►One-Pager | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | █████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ |
|
|
|
|
coblee
Donator
Legendary
Offline
Activity: 1654
Merit: 1350
Creator of Litecoin. Cryptocurrency enthusiast.
|
|
October 02, 2011, 11:58:18 AM |
|
Simply removing the line in the config is enough to restore expected behaviour. No need for a re-launch. Since that would then make the 0 coin blocks invalid blocks, it is a block forking change, so a relaunch is needed. Yup, and that's why I worked all night on getting this done right. I doing final testing right now. The chain is only on block 78. Will release the source soon.
|
|
|
|
twobits
|
|
October 02, 2011, 11:58:55 AM |
|
Unfortunately this launch was a false start. There was a problem in the config causing all blocks mined after the 100th blocks to contain 0 coins. The fix would unfortunately require a restart of the coin. michaelmclees has asked me over IRC to take over for him. I will try to do my best. I will set up a new github.com repository with the source so people can do diffs. And generate a new genesis block. I will premine a few to make sure things work ok. Apparently, that was really needed. When everything is looking good, I will post the client and the source. In the meantime, please stop your clients and miners and switch back to tenebrix. What happened ? I made sure that the custom inflation (aka make magkal blocks with arbitrary coinage) is off in the config (custom_inflation=0) and set subsidy to "allways 25" (Subsidy=25), wtf did go wrong ? The code checks for the flag custom_inflation, so setting it to 0 still triggers custom inflation. Since post_Subsidy is not set, after 100 blocks, the subsidy becomes 0. doh! mmm crap. But why does inflation_trigger default to 100 ? Also, dudes, we can theoretcially fix it without restart, just with a config update. custom_inflation=1 infaltion_trigger=(current block nucmber)+ 5 blocks post_Subsidly=25 The code was changed from the multicoin defaults by someone, in the orginal multicoin the default block when not set is MAX_INT, someone made it 100 in this fork. Why I have not idea, they should have put it in the config file probably instead of putting it in the code. You still need a relaunch, or you need to use the multi step innflation trigger code that is in multicoin to add rules to keep the 0 coin blocks valid. For some reasons this code also removed that though. Anyway, give the skill sets and the fact only 100 blocks matter with coins in them anyway, a relaunch is really the best idea here.
|
█████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ►WhitePaper ►One-Pager | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | █████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ |
|
|
|
|
thirdlight
|
|
October 02, 2011, 12:24:24 PM |
|
Since that would then make the 0 coin blocks invalid blocks, it is a block forking change, so a relaunch is needed. That's not what I observed. Coined blocks built on top of the existing chain. I haven't mined every block, and have mined several orphans. I can't say for definite, but I guess that some blocks have coins & some don't. The only problem would be someone trying to spend the 0 coins - or it would be a problem if the unexpected outcome was some coins but not 25 per block. We are now at 2000 blocks, so 25% of the chain is after I started finding coins again. Won't be long before it's the majority. Why not just go with it? I'm not precious about this, it just seems that one "#" is way less problematic than a re-write, no?
|
|
|
|
EskimoBob
Legendary
Offline
Activity: 910
Merit: 1000
Quality Printing Services by Federal Reserve Bank
|
|
October 02, 2011, 12:31:53 PM |
|
Coblee fixed the client, made some improvements and it is available soon. Forget the chain form first launch attempt. I was mining it all night but what can I say, shitt happens and now I am back to 0. Get the new client etc and start your mining.
|
While reading what I wrote, use the most friendliest and relaxing voice in your head. BTW, Things in BTC bubble universes are getting ugly....
|
|
|
coblee
Donator
Legendary
Offline
Activity: 1654
Merit: 1350
Creator of Litecoin. Cryptocurrency enthusiast.
|
|
October 02, 2011, 12:41:25 PM |
|
|
|
|
|
worldinacoin
|
|
October 02, 2011, 01:25:24 PM |
|
Trying my hands at fishing some of the Fairbrix coins, hopefully this will be a good night.
|
|
|
|
twobits
|
|
October 02, 2011, 04:07:20 PM |
|
Since that would then make the 0 coin blocks invalid blocks, it is a block forking change, so a relaunch is needed. That's not what I observed. Coined blocks built on top of the existing chain. I haven't mined every block, and have mined several orphans. I can't say for definite, but I guess that some blocks have coins & some don't. The only problem would be someone trying to spend the 0 coins - or it would be a problem if the unexpected outcome was some coins but not 25 per block. We are now at 2000 blocks, so 25% of the chain is after I started finding coins again. Won't be long before it's the majority. Why not just go with it? I'm not precious about this, it just seems that one "#" is way less problematic than a re-write, no? Did you observe that though? Or did you just make that change and keep your already downloaded blocks data file. Delete your blocks file and try again, remember they are not re-validated every time you restart the client. So unless you deleted your already existing block files you did not observe what you thought you did as far as what a fresh client or a re validation of the whole chain would see.
|
█████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ►WhitePaper ►One-Pager | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | █████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ |
|
|
|
|
thirdlight
|
|
October 02, 2011, 04:46:42 PM |
|
Or did you just make that change and keep your already downloaded blocks data file. Fair point. Didn't revalidate blocks. As relaunched fairbrix has just orphaned the last 1200 blocks, I'll resurrect original fairbrix & check! Assuming there's at least one other ofb peer out there.
|
|
|
|
thirdlight
|
|
October 02, 2011, 05:10:03 PM |
|
Connected to 2 peers, downloading chain. 4 blocks have gone to "generate".
Can't know, of course, whether these 2 peers made the "remove custom_inflation" change or not.
|
|
|
|
twobits
|
|
October 02, 2011, 05:18:13 PM |
|
Connected to 2 peers, downloading chain. 4 blocks have gone to "generate".
Can't know, of course, whether these 2 peers made the "remove custom_inflation" change or not.
Yeah, getting to be too many variables with fairbrix already. How many blocks of the chain did you download?
|
█████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ►WhitePaper ►One-Pager | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | █████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ |
|
|
|
|
thirdlight
|
|
October 02, 2011, 05:26:23 PM |
|
It got to 1886 (four were mine!), and sat there for ages. Then ticked over to 1887. So I guess there's still someone mining.
|
|
|
|
twobits
|
|
October 02, 2011, 05:37:18 PM |
|
It got to 1886 (four were mine!), and sat there for ages. Then ticked over to 1887. So I guess there's still someone mining.
and before you said you were at over 2000? Would be interesting to see just what the blockchain looks like now.. but not not enough so for me to want to try and set up abe for the chain. I think with the issues with the relaunch I am sticking with tenebrix for cpu mining for now.
|
█████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ►WhitePaper ►One-Pager | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | █████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ |
|
|
|
|
thirdlight
|
|
October 02, 2011, 05:59:38 PM |
|
Would be interesting ... but not enough Yes it would & yes, not enough! When I re-downloaded the chain, all the zero blocks up to 1720 were validated by my client with "custom_inflation" removed, then my generated's from 1720 up to 1886 were confirmed, plus the immature ones waiting for the block count to increase. Does this mean that, if people had just made that config change everything would have continued as planned? Ironic that the relaunched chain suffered the bigger fork! As ArtForz pointed out in anther thread, it doesn't take much of a botnet to eat a cpu mined chain. While I was typing this, the count has gone up to 2070, and my balance has increased accordingly.
|
|
|
|
twobits
|
|
October 02, 2011, 06:20:36 PM |
|
Would be interesting ... but not enough Yes it would & yes, not enough! When I re-downloaded the chain, all the zero blocks up to 1720 were validated by my client with "custom_inflation" removed, then my generated's from 1720 up to 1886 were confirmed, plus the immature ones waiting for the block count to increase. Does this mean that, if people had just made that config change everything would have continued as planned? Ironic that the relaunched chain suffered the bigger fork! As ArtForz pointed out in anther thread, it doesn't take much of a botnet to eat a cpu mined chain. While I was typing this, the count has gone up to 2070, and my balance has increased accordingly. The clients should all have to agree on how many coins are in a block to validate them. This is what prevents someone from mining 5000 coins a block for themselves. Either the validation code in fairbrix is bugged or zero coins is treated differently. It should not be working like you are seeing, but since it is doing that either due to a bug or a some special logic it should have worked then. Now what happens if you mine 250 coins a block? That would see if the bug is only for zero coins.
|
█████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ►WhitePaper ►One-Pager | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | | ███ ███ ███ ███ ███ ███ ███ ███ ███ | █████ █████ ███████ █████ ███ █████████████ █████ ██ █████████████████ █████ █ ██████ ██████ █████ ████ ████ █████████████ █████ ████ █████████████ █████ ████ █████████████ █████ ████ █████ █████ █████ █ ██████ ███████ █████ ██ ███████████ █████ █████ ███ █████████ ████ █████ █████ ███████ ██ |
|
|
|
|
|