Forum Home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    [Dev] Documenting Feathercoin Specific Software settings - Part 11

    Technical Development
    1
    37
    7070
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wrapper
      wrapper Moderators last edited by

      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

      Added support for xzing library, removed qr-encode : - commit

      Moved to new autogen.sh

      https://github.com/FeatherCoin/Feathercoin/commit/ceebac0b95cd6acbf2127d8879aeb51f383d3f1b

      configure.ac

       -define(_USE_ZXING,0)
      

      removed code

       -AC_ARG_WITH([qrencode],
       -  [AS_HELP_STRING([--with-qrencode],
       -  [enable QR code support (default is yes if qt is enabled and libqrencode is found)])],
      

      Code removed

       +AC_ARG_WITH([qrcode],
       +  [AS_HELP_STRING([--with-qrcode],
       +  [enable QR code support (default is yes if qt is enabled and libzxing is found)])],
      

      Code added

       +  AX_CHECK_COMPILE_FLAG([-fPIC],[HARDENED_CXXFLAGS="$HARDENED_CXXFLAGS -fPIC" && CFLAGS="$CFLAGS -fPIC"])
      

      Code added

       -    BITCOIN_FIND_BDB51
      

      Code removed

       +    dnl BITCOIN_FIND_BDB51
       +    BITCOIN_FIND_BDB48
      

      Code replaced

       -        BITCOIN_QT_CHECK([PKG_CHECK_MODULES([QR], [libqrencode], [have_qrencode=yes], [have_qrencode=no])])
      

      Code removed

       +        dnl libzxing has no module entry, so check without modules 
       +        BITCOIN_QT_CHECK([AC_CHECK_LIB([zxing], [main],, [have_zxing=no])])
      

      Code replaced

       -    BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],, [have_qrencode=no])])
       -    BITCOIN_QT_CHECK([AC_CHECK_HEADER([qrencode.h],, have_qrencode=no)])
      

      Code removed

       +    BITCOIN_QT_CHECK([AC_CHECK_LIB([zxing], [main],, BITCOIN_QT_FAIL(libzxing not found))])
      +    BITCOIN_QT_CHECK([AC_CHECK_HEADER([zxing.h],, have_qzxing=no)])
      

      Code replaced

      +  if test x$have_zxing = xno; then
      +    if test x$use_zxing == xyes; then
      +     AC_MSG_ERROR("QR support requested but cannot be built. use --without-zxing")
      

      Code replaced

       +      AC_DEFINE([USE_ZXING],[1],[Define if QR support should be compiled in])
       +      use_zxing=yes
      

      Code replaced

       +AM_CONDITIONAL([USE_ZXING], [test x$use_qr = xyes])
      

      Code replaced

       -AC_DEFINE(USE_ZXING, _USE_ZXING,[Define to 0 libzxing must be available for support])
      

      Code removed

       +AC_SUBST(USE_ZXING)
      

      Code replaced

      1 Reply Last reply Reply Quote 0
      • wrapper
        wrapper Moderators last edited by

        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

        Adapted documentation to feathercoin : - commit

        Documentation

        https://github.com/FeatherCoin/Feathercoin/commit/2a7cdd81fbed144a7eee8beca09615f77945322d

        doc/Doxyfile

         +PROJECT_NAME           = Feathercoin
        
         +PROJECT_NUMBER         = 0.9.3
        
         +PROJECT_LOGO           = doc/feathercoin_logo_doxygen.png
        

        Code replaced : note : Put on release todo list as version number change?

        1 Reply Last reply Reply Quote 0
        • wrapper
          wrapper Moderators last edited by

          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

          Adapted documentation to feathercoin : - commit

          Documentation

          https://github.com/FeatherCoin/Feathercoin/commit/2a7cdd81fbed144a7eee8beca09615f77945322d

          doc/*

          Update various docs for Feathercoin specific information, build requirements, copyrights

          doc/README.md

          Review for Release Todo : various Versions and copyrights to check on release.

          doc/README_windows.txt

          Various Feathercoin name changes

          doc/assets-attribution.md

          Various Feathercoin name changes, IP address changes

          doc/bitcoin_logo_doxygen.png

          Deleted file

          doc/coding.md

          Name changes

          doc/multiwallet-qt.md

           +In order to support loading of multiple wallets in feathercoin-qt, a few changes in the UI architecture will be needed.
          

          Various name changes, inc Feathercoingui

          doc/release-process.md

          Various name version numbers

          doc/tor.md

          Name changes

          doc/translation_process.md

          Name changes

          doc/unit-tests.md

          Name changes

          1 Reply Last reply Reply Quote 0
          • wrapper
            wrapper Moderators last edited by wrapper

            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

            Adapted documentation to feathercoin : - commit

            Documentation

            https://github.com/FeatherCoin/Feathercoin/commit/2a7cdd81fbed144a7eee8beca09615f77945322d

            src/bitcoin-config.h

            Updates for Libxing no 32bit?

             /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
            don't. */
            
             -#define HAVE_DECL_STRERROR_R 0
            
             +#define HAVE_DECL_STRERROR_R 1
            

            Code replaced

              /* Define to 1 if you have the `advapi32' library (-ladvapi32). */
            +/* #undef HAVE_LIBADVAPI32 */
            
             +/* #undef HAVE_LIBCOMCTL32 */
            +/* #undef HAVE_LIBCOMDLG32 */
             +/* #undef HAVE_LIBCRYPT32 */
             +/* #undef HAVE_LIBCRYPTO */
             +/* #undef HAVE_LIBGDI32 */
             +/* #undef HAVE_LIBIMM32 */
             +/* #undef HAVE_LIBIPHLPAPI */
             +/* #undef HAVE_LIBKERNEL32 */
             +/* #undef HAVE_LIBMINGWTHRD */
             +/* #undef HAVE_LIBMSWSOCK */
             +/* #undef HAVE_LIBOLE32 */
             +/* #undef HAVE_LIBOLEAUT32 */
             +/* #undef HAVE_LIBPNG_ */
             +/* #undef HAVE_LIBPROTOBUF_ */
             +/* #undef HAVE_LIBRPCRT4 */
             +/* #undef HAVE_LIBSHELL32 */
             +/* #undef HAVE_LIBSHLWAPI */
             +/* #undef HAVE_LIBSSL */
             +/* #undef HAVE_LIBUSER32 */
             +/* #undef HAVE_LIBUUID */
             +/* #undef HAVE_LIBWINMM */
             +/* #undef HAVE_LIBWINSPOOL */
             +/* #undef HAVE_LIBWS2_32 */
             +
             +/* Define to 1 if you have the `zxing' library (-lzxing). */
             +#define HAVE_LIBZXING 1
            
             +/* #undef HAVE_LIBZ_ */
            
            
             +#define HAVE_MSG_NOSIGNAL 1
             +#define HAVE_STRERROR_R 1
            
             +/* #undef QT_STATICPLUGIN */
            
            
             +#define STRERROR_R_CHAR_P 1
             +#define USE_DBUS 1
            
             +/* Define if QR support should be compiled in */
            
             +#define USE_ZXING 1
            

            Code replaced or commented out

             +/* Enable large inode numbers on Mac OS X 10.5.  */
             +#ifndef _DARWIN_USE_64_BIT_INODE
             +# define _DARWIN_USE_64_BIT_INODE 1
            +#endif
            

            Code added comments

            1 Reply Last reply Reply Quote 0
            • wrapper
              wrapper Moderators last edited by

              Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

              Adapted documentation to feathercoin : - commit

              Documentation

              https://github.com/FeatherCoin/Feathercoin/commit/2a7cdd81fbed144a7eee8beca09615f77945322d

              src/qt/bitcoingui.cpp

               +        QPalette palette;
               +        palette.setBrush(QPalette::Background,QBrush(Qt::lightGray));
               +        toolbar->setPalette(palette);
               +        toolbar->setAutoFillBackground(true);
              

              Code added

              1 Reply Last reply Reply Quote 0
              • wrapper
                wrapper Moderators last edited by

                Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                Adapted documentation to feathercoin : - commit

                Documentation

                https://github.com/FeatherCoin/Feathercoin/commit/2a7cdd81fbed144a7eee8beca09615f77945322d

                src/qt/forms/overviewpage.ui

                User interface changes

                      +  <property name="windowIcon">
                 +   <iconset resource="../feathercoin.qrc">
                 +    <normaloff>:/icons/bitcoin</normaloff>:/icons/bitcoin</iconset>
                 +  </property>
                 +  <property name="autoFillBackground">
                 +   <bool>true</bool>
                 +  </property>
                

                Code added

                1 Reply Last reply Reply Quote 0
                • wrapper
                  wrapper Moderators last edited by wrapper

                  Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                  Adapted documentation to feathercoin : - commit

                  Documentation

                  https://github.com/FeatherCoin/Feathercoin/commit/2a7cdd81fbed144a7eee8beca09615f77945322d

                  src/qt/res/images/*

                    src/qt/res/images/mainbg.png
                  
                   src/qt/res/images/splash.png
                  

                  image files updates note, updated subsequently

                  1 Reply Last reply Reply Quote 0
                  • wrapper
                    wrapper Moderators last edited by

                    Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                    Add seeder and correct format : - commit

                    https://github.com/FeatherCoin/Feathercoin/commit/a677f8fd3943a18fa893f3d1a9e9924a3c722559

                    src/chainparams.cpp

                     -        vSeeds.push_back(CDNSSeedData("ftc-c.com", "www.ftc-c.com"));
                     -        vSeeds.push_back(CDNSSeedData("block.ftc-c.com", "block.ftc-c.com"));
                     -        vSeeds.push_back(CDNSSeedData("pool.ftc-c.com", "pool.ftc-c.com"));
                    

                    Code replaced

                     +        vSeeds.push_back(CDNSSeedData("ftc-c.com", "www.ftc-c.com"));
                     +        vSeeds.push_back(CDNSSeedData("ftc-c.com", "block.ftc-c.com"));
                     +        vSeeds.push_back(CDNSSeedData("ftc-c.com", "pool.ftc-c.com"));
                     +        vSeeds.push_back(CDNSSeedData("alltheco.in", "dnsseed.alltheco.in"));
                    

                    Code replaced

                    1 Reply Last reply Reply Quote 0
                    • wrapper
                      wrapper Moderators last edited by

                      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                      moved checkpoint console messages to be logged instead : - commit

                      first implementation to support 3 and f prefixes for multisig addresses

                      https://github.com/FeatherCoin/Feathercoin/commit/59d479863ca8848791efdb3ea67f423e9b92d816

                      src/base58.cpp

                       -  vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS);
                      
                      
                       + vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS) ||
                       + vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS_OLD);
                      

                      Code replaced

                       - else if (vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS)) 
                      
                       + else if (vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS) ||
                       + vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS_OLD))
                      

                      Code replaced

                       -  return IsValid() && vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS); 
                      
                       +  return IsValid() && (vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS) ||
                       +       vchVersion == Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS_OLD));
                      

                      Code replaced

                       -    if (!IsValid() || vchVersion != Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS))
                      
                       +    if (!IsValid() || (vchVersion != Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS) && 
                       +                       vchVersion != Params().Base58Prefix(CChainParams::SCRIPT_ADDRESS_OLD)))
                      

                      Code replaced

                      1 Reply Last reply Reply Quote 0
                      • wrapper
                        wrapper Moderators last edited by

                        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                        moved checkpoint console messages to be logged instead : - commit

                        first implementation to support 3 and f prefixes for multisig addresses

                        https://github.com/FeatherCoin/Feathercoin/commit/59d479863ca8848791efdb3ea67f423e9b92d816

                        src/chainparams.cpp

                         -        //base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
                         -        base58Prefixes[SCRIPT_ADDRESS] = list_of(96);
                        
                         +        base58Prefixes[SCRIPT_ADDRESS_OLD] = list_of(5);
                         +      //  base58Prefixes[SCRIPT_ADDRESS] = list_of(96);
                         +        base58Prefixes[SCRIPT_ADDRESS] = list_of(5);
                        

                        Code replaced

                        1 Reply Last reply Reply Quote 0
                        • wrapper
                          wrapper Moderators last edited by

                          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                          moved checkpoint console messages to be logged instead : - commit

                          first implementation to support 3 and f prefixes for multisig addresses

                          https://github.com/FeatherCoin/Feathercoin/commit/59d479863ca8848791efdb3ea67f423e9b92d816

                          src/chainparams.h

                           +	SCRIPT_ADDRESS_OLD,
                          

                          Code added

                          1 Reply Last reply Reply Quote 0
                          • wrapper
                            wrapper Moderators last edited by wrapper

                            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                            moved checkpoint console messages to be logged instead : - commit

                            first implementation to support 3 and f prefixes for multisig addresses

                            https://github.com/FeatherCoin/Feathercoin/commit/59d479863ca8848791efdb3ea67f423e9b92d816

                            src/checkpointsync.cpp

                             -        printf("AcceptPendingSyncCheckpoint : sync-checkpoint at %s\n", hashSyncCheckpoint.ToString().c_str());
                            
                              +	if (fDebug)
                             +	    LogPrintf("AcceptPendingSyncCheckpoint : sync-checkpoint at %s\n", hashSyncCheckpoint.ToString().c_str());
                            

                            Code replaced

                             -        printf("ResetSyncCheckpoint: SetBestChain to hardened checkpoint %s\n", hash.ToString().c_str());
                            
                             +	if (fDebug)
                             +	    LogPrintf("ResetSyncCheckpoint: SetBestChain to hardened checkpoint %s\n", hash.ToString().c_str());
                            
                            
                             +	if (fDebug)
                            +          LogPrintf("ResetSyncCheckpoint: pending for sync-checkpoint %s\n", hashPendingCheckpoint.ToString().c_str());
                            
                              +    if (fDebug)
                             +	LogPrintf("ResetSyncCheckpoint: sync-checkpoint reset to %s\n", hashSyncCheckpoint.ToString().c_str());
                            
                             +    if (fDebug)
                             +	LogPrintf("ResetSyncCheckpoint: sync-checkpoint reset to %s\n", hashSyncCheckpoint.ToString().c_str());
                            
                             +	if (fDebug) {
                             +	  LogPrintf("ProcessSyncCheckpoint: pending for sync-checkpoint %s\n", hashCheckpoint.ToString().c_str());
                             +	}
                            
                             +    if (fDebug)
                             +	LogPrintf("ProcessSyncCheckpoint: sync-checkpoint at %s\n", hashCheckpoint.ToString().c_str());
                            

                            Code replaced

                            1 Reply Last reply Reply Quote 0
                            • wrapper
                              wrapper Moderators last edited by

                              Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                              syntax in #include : - commit

                              https://github.com/FeatherCoin/Feathercoin/commit/bef3a6d5ae76f6a0d915bab623f11abfc9b03c7e

                              src/qt/snapwidget.cpp

                              -#include <zxing/common/GlobalHistogramBinarizer.h>
                              
                              +#include "zxing/common/GlobalHistogramBinarizer.h"
                              

                              Code replaced

                              1 Reply Last reply Reply Quote 0
                              • wrapper
                                wrapper Moderators last edited by

                                Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                fine tuning for libzxing config check : - commit

                                https://github.com/FeatherCoin/Feathercoin/commit/a4f5bf1e5688a7ca68733e6b937797a21603fc9a

                                .gitignore

                                 +src/bitcoin-config.h
                                

                                Code added

                                1 Reply Last reply Reply Quote 0
                                • wrapper
                                  wrapper Moderators last edited by

                                  Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                  fine tuning for libzxing config check : - commit

                                  https://github.com/FeatherCoin/Feathercoin/commit/a4f5bf1e5688a7ca68733e6b937797a21603fc9a

                                  configure.ac

                                   +      AC_DEFINE([USE_QR],[1],[Define if QR support should be compiled in])
                                   +      use_qr=yes
                                  

                                  Code added

                                  1 Reply Last reply Reply Quote 0
                                  • wrapper
                                    wrapper Moderators last edited by

                                    Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                    fix problem with with-qrcode support not detected correctly : - commit

                                    https://github.com/FeatherCoin/Feathercoin/commit/a47c7a3cdf57f831d5de8ce25b06dc74f0422dc1

                                    configure.ac

                                     +      AC_DEFINE([USE_QRCODE],[1],[Define if QR support should be compiled in])
                                    

                                    Code replaced

                                     +AM_CONDITIONAL([USE_QRCODE], [test x$use_qr = xyes])
                                    
                                     +AC_SUBST(USE_QRCODE)
                                    

                                    Code added

                                    1 Reply Last reply Reply Quote 0
                                    • wrapper
                                      wrapper Moderators last edited by

                                      Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                      adapted auto-configure script : - commit

                                      https://github.com/FeatherCoin/Feathercoin/commit/a47c7a3cdf57f831d5de8ce25b06dc74f0422dc1

                                      configure.ac

                                       -        dnl libzxing has no module entry, so check without modules 
                                      
                                       +        PKG_CHECK_MODULES([ZXING], [libzxing],, [AC_MSG_ERROR(libzxing  not found.)])
                                      

                                      Code replaced

                                       +        PKG_CHECK_MODULES([QRENCODE], [libqrencode],, [AC_MSG_ERROR(libcrypto  not found.)])
                                       +        BITCOIN_QT_CHECK([AC_CHECK_LIB([qrencode], [main],, [have_qr=no])])
                                      

                                      Code added

                                      1 Reply Last reply Reply Quote 0
                                      • wrapper
                                        wrapper Moderators last edited by

                                        Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                        adapted auto-configure script : - commit

                                        https://github.com/FeatherCoin/Feathercoin/commit/a47c7a3cdf57f831d5de8ce25b06dc74f0422dc1

                                        src/bitcoin-config.h

                                         +/* Define to 1 if you have the `qrencode' library (-lqrencode). */
                                         +#define HAVE_LIBQRENCODE 1
                                         +
                                        

                                        Code added

                                         -#define USE_QR 1
                                        
                                        +#define USE_QRCODE 1
                                        

                                        Code replaced

                                        1 Reply Last reply Reply Quote 0
                                        • wrapper
                                          wrapper Moderators last edited by

                                          Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                          added bitmessage command string for linux : - commit

                                          https://github.com/FeatherCoin/Feathercoin/commit/48e5730ecbcd0c87da94c40231da8fd626bf62cd

                                          src/qt/bitcoingui.cpp

                                           +#if defined(Q_OS_LINUX)
                                           +    QString program="pybitmessage";
                                           +#else
                                               QString program="./bitmessagemain";
                                            +#endif
                                          

                                          Code added

                                          1 Reply Last reply Reply Quote 0
                                          • wrapper
                                            wrapper Moderators last edited by

                                            Feathercoin specific changes made to convert Bitcoin to FTC 0.9.6.*

                                            added bitmessage command string for linux : - commit

                                            https://github.com/FeatherCoin/Feathercoin/commit/67f2b757bcb7520768f2af3407ec2bdff7f8b115

                                            .gitignore

                                             +*.directory
                                            

                                            code added

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post