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

    [Dev] Feathercoin Core 0.9.3 - Alpha release

    Technical Development
    10
    34
    18345
    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.
    • ChekaZ
      ChekaZ last edited by

      Works for me, awesome!

      Really good job ;)

      BTC: 1Ges1taJ69W7eEMbQLcmNGnUZenBkCnn45
      FTC: 6sxjM96KMZ7t4AmDTUKDZdq82Nj931VQvY

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

        Good work Lizhi,

        I will try to compile for Linux in the next days. I don’t have a windows environment available.

        Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
        Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

        1 Reply Last reply Reply Quote 0
        • M
          mirrax last edited by

          You did a lot of work Lizhi!

          good job.

          1 Reply Last reply Reply Quote 0
          • E
            einkerl last edited by

            Great work, wallet has been backed up but new code works like a charm.

            1 Reply Last reply Reply Quote 0
            • lizhi
              lizhi last edited by

              If you sync all blockchain,it will spend about 12 hours.

              1 Reply Last reply Reply Quote 0
              • lizhi
                lizhi last edited by

                Today, the birth of the first multisig address.I create a 2-of-3 multisig address using addmultisigaddress.

                I have 3 feathercoin address : 6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j ,6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac,6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw ,then I get their public keys using the validateaddress RPC command 3 times.

                feathercoind.exe addmultisigaddress 2 [\"03955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915\",\"0315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe37\",\"03b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c4\"]
                

                addmultisigaddress returns the multisignature address. It is 3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo

                C:\FTC>feathercoind.exe validateaddress 3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo
                {
                    "isvalid" : true,
                    "address" : "3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo",
                    "ismine" : true,
                    "isscript" : true,
                    "script" : "multisig",
                    "hex" : "522103955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915210315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe372103b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c453ae",
                    "addresses" : [
                        "6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j",
                        "6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac",
                        "6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw"
                    ],
                    "sigsrequired" : 2,
                    "account" : ""
                }
                
                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User last edited by

                  Thank you lizhi!

                  This is remarkable…

                  This plus 2fa, dark addresses and bitmessage implementation, will = one very powerful Qt

                  1 Reply Last reply Reply Quote 0
                  • E
                    einkerl last edited by

                    If you sync all blockchain,it will spend about 12 hours.

                    I did not have to resync my wallet, just changed to the new exe.

                    New wallet is also faster than the 0.8.7 code

                    1 Reply Last reply Reply Quote 1
                    • MrWyrm
                      MrWyrm administrators last edited by

                      Fantastic work. I’m very excited about Multi Sig.

                      Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

                      1 Reply Last reply Reply Quote 0
                      • lizhi
                        lizhi last edited by

                        I did not have to resync my wallet, just changed to the new exe.

                        New wallet is also faster than the 0.8.7 code

                        Yes, New wallet have DNS Seed Service, It will automatically connect default fastest full node (eg:pool.ftc-c.com,pool2b.d2.cc). They will be the default settings in your peers.dat

                        1 Reply Last reply Reply Quote 0
                        • lizhi
                          lizhi last edited by

                          Today , I finished a multisig transaction. I sent one feathercoin to a 2-of-3 multisig, then spend them. :)

                          My multisig address is 3PjAax8rHZpaYCBy4GYc9rcQNFTKYukaWF .

                          See Sreen shot

                          (Send 1 FTC)

                          sss1.jpg

                          (Receive 1 FTC)

                          rrr1.jpg

                          Transaction in explorer.feathercoin.com

                          http://explorer.feathercoin.com/tx/8859d4ebcd9c2e3fec1db826be00069e13b873c153fd36cb56c0931adb5ce4cd

                          http://explorer.feathercoin.com/tx/4682823f979f9f58b98e4d65b0f073fa81c56ca73d4fa00d15340b8a839054d5#i0

                          How to create multisig transaction ?

                          This is a complex process,You need to install two feathercoin core , test a 2-of-3 multisig transaction. Soon after, I will write a special manual for multisig transaction.

                          about more multisign information ,you can see them.

                          https://bitcointalk.org/index.php?topic=82213.msg906833
                          https://bitcointalk.org/index.php?topic=704444.0

                          **feathercoind.exe createrawtransaction **[{\“txid\”:\“8859d4ebcd9c2e3fec1db826be00069e13b873c153fd36cb56c0931adb5ce4cd\”,\“vout\”:0,\“scriptPubKey\”:\“a914f1bad47b69e385f45338acc928dd0bb0b6e0678587\”,\“redeemScript\”:\“522102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a352102c7c05202063f97adc25211dfebdddadd5be706e8266bd22fc4f26a2dc717e2062102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a3553ae\”}] {\“6u6Junx4E8jmBaLwaCtUAwgmKrPmu56ukz\”:1}

                          0100000001cde45cdb1a93c056cb36fd53c173b8139e0600be26b81dec3f2e9ccdebd459880000000000ffffffff0100e1f505000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac00000000
                          

                          **feathercoind.exe signrawtransaction **0100000001cde45cdb1a93c056cb36fd53c173b8139e0600be26b81dec3f2e9ccdebd459880000000000ffffffff0100e1f505000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac00000000 [{\“txid\”:\“8859d4ebcd9c2e3fec1db826be00069e13b873c153fd36cb56c0931adb5ce4cd\”,\“vout\”:0,\“scriptPubKey\”:\“a914f1bad47b69e385f45338acc928dd0bb0b6e0678587\”,\“redeemScript\”:\“522102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a352102c7c05202063f97adc25211dfebdddadd5be706e8266bd22fc4f26a2dc717e2062102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a3553ae\”}] [\“KzkfTiNMvZRzYpdjkucrbDjqxkRJfkQpDLXYrkNaX4bVEohyFNMM\”]

                          {
                              "hex" : "0100000001cde45cdb1a93c056cb36fd53c173b8139e0600be26b81dec3f2e9ccdebd4598800000000fc004730440220145e0b59767a32d49d9b9501e7f1a18aa1c4fdd98e40e34a5c8a10a0295539be02202b5466e874e389914c89cd65a514a104c848af22a53f2e38efc9b2dde72cb1f801473044022037d5c647e3fa71fe5a0e9e172dd31eecf13fea3f99473f972d110332d3372869022053d14fc6c6826608acbbecba7fe8b2245607718b223710040cda911974237a1d014c69522102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a352102c7c05202063f97adc25211dfebdddadd5be706e8266bd22fc4f26a2dc717e2062102df1cda16223c85a792bd18d0913ba8d9f35922101de06255de804e6808264a3553aeffffffff0100e1f505000000001976a914a87c0c6de7173eff4101eb4965c0ba6b8fe35db288ac00000000",
                              "complete" : true
                          }
                          
                          1 Reply Last reply Reply Quote 1
                          • lizhi
                            lizhi last edited by

                            Now , You can compile feathercoin core in linux. I test with Ubuntu 12.04 64bit.

                            linux1.jpg

                            Install Dependencies

                            apt-get install git
                            apt-get install build-essential libboost-all-dev libcurl4-openssl-dev libdb5.1-dev libdb5.1++-dev
                            apt-get install zlib1g-dev libminiupnpc-dev autoconf
                            apt-get install autotools-dev autoconf pkg-config
                            apt-get install libtool
                            

                            Install BerkeleyDB.5.1.29

                            tar -xvf db-5.1.29.NC.tar.gz
                            cd db-5.1.29.NC/build_unix
                                BITCOIN_ROOT=$(pwd)
                                BDB_PREFIX="${BITCOIN_ROOT}/db5"    
                                ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
                                make install
                            

                            compile feathercoin-core 0.9.3

                            cd feathercoin_core
                            ./autogen.sh
                            ./configure --disable-upnp-default --disable-tests  LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"
                            
                            make
                            

                            May have a problem:

                            libbitcoin_common.a(neoscrypt.o): relocation R_X86_64_32 against `.rodata’ can not be used when making a shared object; recompile with -fPIC

                            You need to modifysrc\Makefile

                            CCASFLAGS = -g -O2 -fPIC
                            CFLAGS = -g -O2 -fPIC
                            CXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIC
                            OBJCXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -fstack-protector-all -fPIC

                            Reference

                            https://github.com/bitcoin/bitcoin/blob/master/doc/build-unix.md

                            http://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/

                            1 Reply Last reply Reply Quote 1
                            • Wellenreiter
                              Wellenreiter Moderators last edited by

                              I get this error when trying to compile on OpenSuSe:

                              In file included from util.cpp:71:0:
                              /usr/include/boost/program_options/detail/config_file.hpp: In instantiation of ‘bool boost::program_options::detail::basic_config_file_iterator::getline(std::string&) [with charT = char; std::string = std::basic_string]’:
                              util.cpp:1438:1: required from here
                              /usr/include/boost/program_options/detail/config_file.hpp:163:13: error: ‘to_internal’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
                              In file included from /usr/include/boost/program_options/detail/parsers.hpp:9:0,
                              from /usr/include/boost/program_options/parsers.hpp:265,
                              from util.cpp:72:
                              /usr/include/boost/program_options/detail/convert.hpp:75:34: note: ‘template std::vector

                              Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                              Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                              1 Reply Last reply Reply Quote 1
                              • lizhi
                                lizhi last edited by

                                Hi Wellenreiter, I think you should try to compile bitcoin-core 0.9.3 , I guess your boost-lib need update. I can compile in Ubuntu 12.04.

                                I set up a full node with feathercoin core 0.9.3.

                                093_full_node.jpg

                                https://bitinfocharts.com/node/120.24.208.220

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

                                  That one was a bug in the boost libraries.

                                  solved.

                                  Let’s see what comes next ;)

                                  Feathercoin development donation address: 6p8u3wtct7uxRGmvWr2xvPxqRzbpbcd82A
                                  Openpgp key: 0x385C34E77F0D74D7 (at keyserver.ubuntu.com)/fingerprint: C7B4 E9EA 17E1 3D12 07AB 1FDB 385C 34E7 7F0D 74D7

                                  1 Reply Last reply Reply Quote 0
                                  • lizhi
                                    lizhi last edited by

                                    Today, FTC wallet can team working with Bitmessage. Bitmessage can been launched from the Feathercoin core.

                                    Core wallet can pass parameters to Bitmessage, include Address,TransactionID, amount or more. They can automatically fill in to subject .

                                    Bitmessages.png

                                    Bitmessage version 0.4.4.

                                    1 Reply Last reply Reply Quote 1
                                    • MrWyrm
                                      MrWyrm administrators last edited by

                                      Wow! Now this I like! Top work Lizhi.

                                      Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tmuir12 Regular Member last edited by

                                        Cool!

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mirrax last edited by

                                          I just wonder.

                                          Is it possible to have both latest official wallet and this beta release at the same machine with the same time opened using same wallet.dat?

                                          Or more important is it safe to execute such setup??

                                          1 Reply Last reply Reply Quote 0
                                          • MrWyrm
                                            MrWyrm administrators last edited by

                                            That’s a good question. I’d like to know that too.

                                            Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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