Author

Topic: How can I disable bitcoind auto test cases in main network? (Read 288 times)

jr. member
Activity: 294
Merit: 1
I have never experienced this before, but the problem that you have faced seems to be rarely experienced by many people, so it must deactivate it, but this should be studied further
jr. member
Activity: 48
Merit: 17
Guys!!!! I can't believe the problem is finally solved. @achow101 played the greatest part and I'm very grateful. See the reason in the three final posts in https://bitcointalk.org/index.php?topic=5057572.new#new (which was another speculation of mine) if you are interested. The reason was quite interesting.
newbie
Activity: 4
Merit: 0
Did you disable the decorator? A false value indicates test units will not run and a true value indicates otherwise. I think this will solve the issue.
newbie
Activity: 4
Merit: 0
Try disabling the decorder, it might help. True value will demonstrate that the test unit will run and false value will demonstrate that the test unit will not run.
newbie
Activity: 4
Merit: 0
I would suggest you to run a decoder if you are experienced with it. If the input value is true then it will run and false scenario will not.
jr. member
Activity: 48
Merit: 17
I do not understand why do you want to disable the source file. Seems like you aren't getting any answers even on your previous post. I suggest you seek professional help or try on reddit or google.

I'm still trying to find some one professional in person. I don't know if google or reddit have technical discussion part but I will take a look.Thanks.
jr. member
Activity: 48
Merit: 17
Sometimes it is more helpful to explain what you want to achieve instead of asking about a particular step which you think will help you achieving your goal. I wanted to increase threshold and reduce difficulty but when I started up two nodes and tried to add one node to other.

This is absolutely good enough reason for all to know. If you want more info see may last post in https://bitcointalksearch.org/topic/m.47318146
jr. member
Activity: 48
Merit: 17
Best advice would be to try a few sources of information to find what you're looking for. Considering the nature of the problem it is important to try several places, determine the best possible solution from the information provided. Hopefully you'll find what you're looking for.

Thank you for the advice. I know "Mastering Bitcoin" is a good source for learning about bitcoin.I also tried to study functions and see where they are referenced in the code. U try to keep the effort go on. I'll let you all know if I find the solution.
newbie
Activity: 32
Merit: 0
Best advice would be to try a few sources of information to find what you're looking for. Considering the nature of the problem it is important to try several places, determine the best possible solution from the information provided. Hopefully you'll find what you're looking for.
newbie
Activity: 26
Merit: 0
Sometimes it is more helpful to explain what you want to achieve instead of asking about a particular step which you think will help you achieving your goal. I wanted to increase threshold and reduce difficulty but when I started up two nodes and tried to add one node to other.
newbie
Activity: 13
Merit: 0
I do not understand why do you want to disable the source file. Seems like you aren't getting any answers even on your previous post. I suggest you seek professional help or try on reddit or google.
jr. member
Activity: 48
Merit: 17
So far I have never thought about how to disable, even I just heard or read from your post here. I wonder your reason for deactivating.
This confused me.

Do you have any idea what are possible reasons to my problem? If you reached anything, any idea I'd be very happy if you let me know about it.
jr. member
Activity: 48
Merit: 17
You can change the program if you know the code. Also, the provided site and contacting them should help. So you can try various way, but the default settings are always in your support if you're a novice.

I tried to, but I though it would be simple because they were only two fields in the code. Unfortunately I am a newbie to gdb and don't have any idea how to debug the coin efficiently. I searched google and everywhere but it seems no one even tried it and nobody knows anything about what I'm struggling. I'm bound to a strict deadlineand don't know what to do. Sad
jr. member
Activity: 294
Merit: 1
Colletrix-Bridging the Physical and Virtual Worlds
So far I have never thought about how to disable, even I just heard or read from your post here. I wonder your reason for deactivating.
This confused me.
jr. member
Activity: 48
Merit: 17
Sometimes it is more helpful to explain what you want to achieve instead of asking about a particular step which you think will help you achieving your goal.

This sounds like a XY problem. May i ask what you exactly want to achieve (especially why you want to 'disable' source files) ?


The real reason I asked this was a strange problem I faced in my last post of https://bitcointalksearch.org/topic/m.46439126.

I only changed nBits field and consenus.powLimit field in chainparams.cpp(created new genesis block according to the change) . I wanted to increase threshold and reduce difficulty but when I started up two nodes and tried to add one node to the other, but when I typed
Code:
bitcoin-cli getblocktemplate
I get:

Code:
error code: -10
error message:
Bitcoin is downloading blocks...

I tried hard for a while where this comes from and had to take any speculation into consideration. I thought maybe in some test cases it failed bc I changed target threshold(tried to change some test cases as well but didn't work). Do you have any suggestion on this ?

Here is the link to my code and changes : https://github.com/chameleon1239/bitcoin.git. I would be so thankful if you could find some time and take a look at it. The two parameters that caused this is only nBits and consenus.powLimit.
legendary
Activity: 1624
Merit: 2481
Sometimes it is more helpful to explain what you want to achieve instead of asking about a particular step which you think will help you achieving your goal.

This sounds like a XY problem. May i ask what you exactly want to achieve (especially why you want to 'disable' source files) ?
jr. member
Activity: 48
Merit: 17
Hello. I recently saw some BOOST_AUTO_TEST_CASE in /src/test folder. I want to disable them specially pow_tests.cpp. Does any one know how it can be done ?
Jump to: