Author

Topic: How to remove the build version when compilling the wallet (Read 207 times)

newbie
Activity: 50
Merit: 0
To change how the version numbers are displayed to the user (as well as used in other places around the code), look at clientversion.h and clientversion.cpp. The display part is related to the FormatFullVersion function.

Hi, finally I have found it. As you mentioned the problem was the FormatFullVersion at clientversion.h and clientversion.cpp

Thank you very much for your help!!!!
newbie
Activity: 50
Merit: 0
Hi thanks again for your reply.

Maybe I'm wrong but I think the structure is OK:

https://github.com/artax-committee/TestNew/blob/master/configure.ac
https://github.com/artax-committee/TestNew/blob/master/src/clientversion.h
https://github.com/artax-committee/TestNew/blob/master/src/clientversion.cpp

And you can see that at the "About" and also at the initial screen:

Artax Core versión v1.0.1.0-5cde12e (64-bit)

What I want it is only display v.1.0.1   Is that possible?
staff
Activity: 3458
Merit: 6793
Just writing some code
To change how the version numbers are displayed to the user (as well as used in other places around the code), look at clientversion.h and clientversion.cpp. The display part is related to the FormatFullVersion function.
newbie
Activity: 50
Merit: 0
Hi

Thanks for your reply. That's what I did but still appearing at the "about" screen....
staff
Activity: 3458
Merit: 6793
Just writing some code
Remove
Code:
, m4_if(_CLIENT_VERSION_BUILD, [0], [], _CLIENT_VERSION_BUILD)
from this line: https://github.com/bitcoin/bitcoin/blob/master/configure.ac#L12
newbie
Activity: 50
Merit: 0
Yes., I tried and it did not work. Just trying another thing that appears at the source code.....
newbie
Activity: 16
Merit: 3
Hi

Did you try to change it in

configure.ac
For example bitcoins versioning
define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 18)
define(_CLIENT_VERSION_REVISION, 99)
newbie
Activity: 50
Merit: 0
Hi,

I'm trying to compile my own alt-coin wallet based on Bitcoin core. I want to remove the build version number and only get major version, minor version and revision version so that the structure of version be x.x.x

Unfortunately all my attempts are unsuccessful because always appear the bloody build version so I got that structure when compile is finished: x.x.x.x

Any ideas?

Thank you very much
Jump to: