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

    [Dev] Develop new core 0.9.3 for feathercoin, together

    Technical Development
    13
    84
    52870
    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.
    • lizhi
      lizhi last edited by

      I create a Multi-Sign transaction,send 1 ftc to myself, the multi-address is 3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo. It look great.

      C:\FTC>feathercoind listunspent
      [
      {
      “txid” : “413d80e439cd13753a61cdde79dd5d4cc0abf309f4fe903bde7bfed47f4945
      00”,
      “vout” : 0,
      “address” : “3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo”,
      “account” : “Mutli-sign”,
      “scriptPubKey” : “a914969a44f8edeb0ad6c8a8f234507d581163f55b8b87”,
      “redeemScript” : “522103955c4823b6e410b86b992888dc3cec756b2845dda3c6de9d
      db71a5e2c6e33915210315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29de
      be372103b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c453ae”,
      “amount” : 1.00000000,
      “confirmations” : 12
      },
      {
      “txid” : “413d80e439cd13753a61cdde79dd5d4cc0abf309f4fe903bde7bfed47f4945
      00”,
      “vout” : 1,
      “address” : “6yDXDB45znZVpkWiXgHmgX5NPNzfWQF6Qn”,
      “scriptPubKey” : “76a914d5b9bb0d3a13d578163dfa87e58c7096d99dfd2588ac”,
      “amount” : 1.99000000,
      “confirmations” : 12
      }
      ]

      how to create a multisigaddress in 0.9.3 ?

      feathercoind validateaddress 6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j

      {
      “isvalid” : true,
      “address” : “6xvtGPDGLVWrzJUynPcFk4sqZDHZKxMP9j”,
      “ismine” : true,
      “isscript” : false,
      “pubkey” : “03955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915”,
      “iscompressed” : true,
      “account” : “m1”
      }
      feathercoind validateaddress 6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac
      {
      “isvalid” : true,
      “address” : “6vBqGpjnykXMnukGYrwpa3apUY9ExUw1ac”,
      “ismine” : true,
      “isscript” : false,
      “pubkey” : “0315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe37”,
      “iscompressed” : true,
      “account” : “m2”
      }
      feathercoind validateaddress 6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw
      C:\FTC>feathercoind validateaddress 6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw
      {
      “isvalid” : true,
      “address” : “6q5UfxDFyDxhfgYbQ9mPGqMgpUKQdFB5kw”,
      “ismine” : true,
      “isscript” : false,
      “pubkey” : “03b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c4”,
      “iscompressed” : true,
      “account” : “m3”
      }

      C:\FTC>feathercoind createmultisig 2 [\“03955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915\”,\“0315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe37\”,\“03b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c4\”]

      You will get a multisigaddress in wallet.
      {
      “address” : “3FRL69QcG5PSNzgQMwN7qSzfrZY5zDYBUo”,
      “redeemScript” : “522103955c4823b6e410b86b992888dc3cec756b2845dda3c6de9ddb71a5e2c6e33915210315ef1ca1a375de78fa01e1cba96881fe873d7102a8cd3f309e2a3f8e29debe372103b15fab5adabf3767f801a68b189e68c27936870f9e3a1dcb4df5d9724d9c32c453ae”
      }

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

        More info on the Litecoin Multisig “bug” on Github. First ever Litecoin hard fork…

        Re: Need to make sure FTC multisig addrresses also is not start with 3…

        **wtogami ** commented
        an hour ago

        I agree it has been a problem. #blamecoblee =P The unfortunate problem with this type of transition is that it would require the first ever hardfork in Litecoin’s history. Can the plan be written in a more detailed proposal in the format of a Bitcoin BIP? We will need to propose it to the community, receive feedback and buy-in from stakeholders.

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

          Yes, I find FTC multisig addrresses also is start with 3…

          The unfortunate problem :'(

          It is not a bug, However, it is easy to make us confused ;)

          A back in github

          “I think you can contact Quickwallet (https://twitter.com/quickwalletcom), they are huobi store’s website, is to use Multisig addresses versions are ‘3’.”

          We can not modify rpcmisc.cpp.

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

            I got the 0.9.3 core compiled on OpenSuSe 12.3

            It was a bit tricky, as OpenSuSe uses non-standard directories for 64bit libraries and the dependencies are always a challenge ;)

            Good Work Lizhi!

            I noticed that I can’t create qr-codes in the ‘receive’ tab,although I configured with --enable-qr=yes

            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

              I think we need to support qr-codes ,I will read 0.8.7 codes , then find them.

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

                Re: Multisig prefix, same for Bitcoin, LTC and FTC.

                I note Charlie is proposing multiple start values for LTC, al la Ghostlanders solution for the genesis code confusion between coins.

                
                I think changing Litecoin multisig prefix is a good idea. Anton, are you suggesting doing this as a soft fork? Basically, we can have it so that new versions allow both '3' and '4' addresses. '4' addresses will be rejected by the network until the soft fork happens. If you can write up a detailed proposal, that would be helpful.
                
                â€"  
                Reply to this email directly or [view it on GitHub][0].![AEZWALX8V_a1kKgRA9QMZPR0z15v83pJks5nNGjf](https://github.com/notifications/beacon/AEZWALX8V_a1kKgRA9QMZPR0z15v83pJks5nNGjfgaJpZM4C3HPH.gif)
                
                

                I realise that this would need its own development sub area. But this will cause a lot of problems to exchanges and merchants accepting multicoins, so would be a killer feature (over Litecoin) and may not require a hard fork if it is developed before release. Although I haven’t had time yet to fully investigate the details of the development of multisignature technology.

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

                  so how difficult would it be to change our multi sig address to something other than 3/4 e.g. 9 or whatever.??

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

                    Now, Core Wallet support QRcode, I will continue to complete QR-snap.

                    qrcode.png

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

                      Wow, you have been busy, would be great to get this made the official wallet soon

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

                        so how difficult would it be to change our multi sig address to something other than 3/4 e.g. 9 or whatever.??

                        I think changing Feathercoin multisig prefix is a good idea, But I need helpful.a detailed proposal.

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

                          I solved the issue, Core wallet can support QR-Snap .

                          QRSnap.png

                          I must modify ZebraCrossing, Because it compile on Visual Studio 2013 only.

                          How to compile ZebraCrossing

                           cd /D/FTC/dev/ZebraCrossing-master
                           mkdir mw
                           cd mw
                           cmake -G "Unix Makefiles" ..
                           make
                          

                          then libzxing.a copy *.a to /D/FTC/dev/ZebraCrossing-master/build32/Release

                          You need to modify some files

                          1. BitMatrixParser.h and DecodedBitStreamParser.cpp, create a new stdint2.h

                          typedef long int int64_t;

                          1. LinesSampler.cpp

                          add #include

                          delete using std::abs;

                          I had add USE_ZXING option to configure.ac , A simple way is to directly modify src\qt\Makefile.

                          CPPFLAGS = -I/D/FTC/dev/ZebraCrossing-master/src/libsrc
                          LDFLAGS = -L/D/FTC/dev/ZebraCrossing-master/build32/Release
                          LIBS = -lzxing -L/D/FTC/dev/ZebraCrossing-master/build32/Release
                          
                          1 Reply Last reply Reply Quote 0
                          • Wellenreiter
                            Wellenreiter Moderators last edited by

                            is that on your github?

                            Then I could try to compile on Linux

                            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
                            • MrWyrm
                              MrWyrm administrators last edited by

                              Woo!

                              Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                is that on your github?

                                Then I could try to compile on Linux

                                Yes, I had git my codes . https://github.com/cqtenq/feathercoin_core

                                Bush’s ZebraCrossing lib https://docs.google.com/file/d/0B3j45cVgrEz0Qkg2bndIWENBMDg/edit

                                **libzxing ** https://github.com/ClaireDuSoleil/ZebraCrossing

                                Any questions please let me know.

                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User last edited by

                                  So how do we go about getting this new core fleshed out and implemented as the defult core?

                                  1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User last edited by

                                    I assume there’s still a lot of testing required?

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

                                      I assume there’s still a lot of testing required?

                                      Yes, I think so. Multisig need to optimize. All of the code need to be carefully tested.

                                      I need a month’s time at least, Testing, comparison, modification, optimization, learning, that sort of thing .

                                      Now it is a Alpha 2.

                                      Feathercoin Core 0.9.3 QT-Wallet Downloads (binary for windows Alpha 2)
                                      https://forum.feathercoin.com/index.php?/topic/8018-friendly-testneed-volunteers-feathercoin-core-093-alpha-released/

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User last edited by

                                        I’ll assume that is the new Primary thread, so ive moved, pinned, unpinned things around. Dev/testing stuff was seeping into the discussion area.

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

                                          You give me infinite power , developed the new multisign address, prefix f. ^-^

                                          https://forum.feathercoin.com/index.php?/topic/8113-dev-multisignature-wallet-implementation-and-issues/#entry70825

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

                                            ABout Stealth Address, I had add some codes to test, Now I can create a stealth address for feathercoin, but some issues need to fixed.

                                            Stealth100.png

                                            Stealth101.png

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