Author

Topic: Version different coin client's relations? (Read 160 times)

full member
Activity: 198
Merit: 130
Some random software engineer
March 20, 2018, 01:50:44 AM
#6
And made 0.1.1 windows build. But this window client(0.1.1) does not catching up block? Connection icon shows, but catching up block icon does not appears so (out of sync) status now, even after few minutes.

If you modify the genesis block, you're building a brand new blockchain with a brand new protocol, and it will be totally incompatible with the old chain.
So you've to delete/move your old data directory to let your new chain working.
jr. member
Activity: 413
Merit: 5
Does the client you modified have tests? If yes, run all the tests. If the tests have any good coverage, there should be some failures. That will help you isolate the problem.

Unfortunately, many blockchains are shortchanging the development process by not building a full set of tests with high code coverage. In that case, manual debugging is your only option.
Yes I deleted premine, genesis block generation code at main.cpp. Then the client does not sync with current chain.

After I restore the main.cpp file to original, client sync well.

So this means, I should not delete any lines from main.cpp?

What is standard of existing client recognize new source-revised client as different with them and not to accept them?
member
Activity: 94
Merit: 16
Research, Analyze and Invent Crypto Systems
Does the client you modified have tests? If yes, run all the tests. If the tests have any good coverage, there should be some failures. That will help you isolate the problem.

Unfortunately, many blockchains are shortchanging the development process by not building a full set of tests with high code coverage. In that case, manual debugging is your only option.
legendary
Activity: 3472
Merit: 4801
delete some lines at main.cpp about genesis block . . . does not catching up . . . What is problem and how to fix?

It sounds like you broke it when you deleted the lines.  Perhaps you should not have done that?  Put the lines back, and see if it starts catching up again.  Then, figure out which line you shouldn't have deleted.
member
Activity: 301
Merit: 74
I don't think anyone can tell but you? It's your custom modified version. Start debugging. Smiley

For starters I'd say, without knowing anything, see if you're identified to the network the same as the version that works.

jr. member
Activity: 413
Merit: 5
So lets say there is 0.1 version coin client and window build.

Run well.

After, I revised sourcecode a little(delete some lines at main.cpp about genesis block) and some icons, and make 0.1.1 version.

And made 0.1.1 windows build. But this window client(0.1.1) does not catching up block? Connection icon shows, but catching up block icon does not appears so (out of sync) status now, even after few minutes.

What is problem and how to fix?

Thanks.
Jump to: