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

    [Dev] Develop new core 0.9.3 for feathercoin, together

    Technical Development
    13
    84
    52871
    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

      To this day, what progress we’ve made ?

      1. I can complie 0.9.3 core.This method is very different from 0.8.6.
      2. I can run 0.9.3 core. feathercoin-qt.exe can read my wallet.
        main.cpp and init.cpp work normal.
        verify database normal.
        port 9336 normal.

      read Height normal. nBestHeight = 390741

      Core_093_4.jpg

      Core_093_1.jpg

      Core_093_new1.jpg

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

        I had pull the project to Github .

        source code https://github.com/cqtenq/feathercoin_core

        Now, We have some problem in debug.log
        ERROR: Read : Invalid network magic number
        PROCESSMESSAGE: INVALID MESSAGESTART
        RPCAcceptHandler: Error:

        Core_093_new2.jpg

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

          I solved some of the problems ,today . I had find our magic number.

          It can ConnectBlock , ProcessBlock ACCEPTED normal. It can receive version message.

          Now, We have some new problem in debug.log

          ERROR: GetMyExternalIP() : connection to 216.146.43.70:80 failed

          RPCAcceptHandler: Error:

          socket recv error

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

            I had fixed the problem in genesis, core can start normal.

            2014-09-25 09:52:35 Opened LevelDB successfully
            2014-09-25 09:52:40 LoadBlockIndexDB(): last block file = 3
            2014-09-25 09:52:40 LoadBlockIndexDB(): last block file info: CBlockFileInfo(blocks=75818, size=69850547, heights=316415...392208, time=2014-07-20...2014-09-22)
            2014-09-25 09:52:40 LoadBlockIndexDB(): transaction index disabled
            2014-09-25 09:52:40 LoadBlockIndexDB(): hashBestChain=1597cca44fa292f4c594692b20dccedfa81bd6279f5a63e25fe4a70d887baa40 height=391708 date=2014-09-22 09:22:56 progress=0.991672
            2014-09-25 09:52:40 init message: 正在验证数据库的完整性...
            2014-09-25 09:52:40 Verifying last 288 blocks at level 3
            2014-09-25 09:52:41 No coin database inconsistencies in last 289 blocks (401 transactions)
            2014-09-25 09:52:41  block index            6924ms
            2014-09-25 09:52:41 init message: 正在加载钱包...
            2014-09-25 09:52:42 nFileVersion = 90300
            2014-09-25 09:52:42 Keys: 124 plaintext, 0 encrypted, 0 w/ metadata, 124 total
            2014-09-25 09:52:42  wallet                  966ms
            2014-09-25 09:52:42 init message: 正在加载地址簿...
            2014-09-25 09:52:43 Loaded 5081 addresses from peers.dat  144ms
            2014-09-25 09:52:45 mapBlockIndex.size() = 392379
            2014-09-25 09:52:45 nBestHeight = 391708
            2014-09-25 09:52:45 setKeyPool.size() = 100
            2014-09-25 09:52:45 mapWallet.size() = 613
            2014-09-25 09:52:45 mapAddressBook.size() = 15
            2014-09-25 09:52:45 AddLocal([2002:85a0:893a::85a0:893a]:9336,1)
            2014-09-25 09:52:45 AddLocal(133.160.137.58:9336,1)
            2014-09-25 09:52:45 ext-ip thread start
            2014-09-25 09:52:45 upnp thread start
            2014-09-25 09:52:45 addcon thread start
            2014-09-25 09:52:45 msghand thread start
            2014-09-25 09:52:45 dnsseed thread start
            2014-09-25 09:52:45 net thread start
            2014-09-25 09:52:45 opencon thread start
            2014-09-25 09:52:45 dumpaddr thread start
            2014-09-25 09:52:45 init message: 加载完成
            2014-09-25 09:52:45 Initialization result: 1
            2014-09-25 09:52:45 ERROR: GetMyExternalIP() : connection closed
            2014-09-25 09:52:45 receive version message: /Satoshi:0.8.6.2/: version 60006, blocks=395249, us=61.52.146.63:14311, them=64.90.183.217:9336, peer=64.90.183.217:9336
            2014-09-25 09:52:45 Added time data, samples 2, offset +6 (+0 minutes)
            2014-09-25 09:52:45 ERROR: GetMyExternalIP() : connection closed
            2014-09-25 09:52:45 ext-ip thread exit
            2014-09-25 09:52:46 receive version message: /Satoshi:0.8.6.2/: version 60006, blocks=395249, us=61.52.146.63:14314, them=188.165.252.23:9336, peer=188.165.252.23:9336
            2014-09-25 09:52:46 Added time data, samples 3, offset +6 (+0 minutes)
            2014-09-25 09:52:47 UPnP: ExternalIPAddress = 61.52.146.63
            2014-09-25 09:52:47 AddLocal(61.52.146.63:9336,3)
            2014-09-25 09:52:47 UPnP Port Mapping successful.
            2014-09-25 09:52:54 receive version message: /sexcoinseeder:0.01/: version 60011, blocks=500000, us=61.52.146.63:9336, them=0.0.0.0:0, peer=199.188.203.26:43840
            2014-09-25 09:52:54 Added time data, samples 4, offset +7 (+0 minutes)
            2014-09-25 09:52:56 P2P peers available. Skipped DNS seeding.
            2014-09-25 09:52:56 dnsseed thread exit
            2014-09-25 09:52:59 receive version message: /Satoshi:0.8.6.2/: version 60006, blocks=395249, us=61.52.146.63:14353, them=213.136.75.175:9336, peer=213.136.75.175:9336
            2014-09-25 09:52:59 Added time data, samples 5, offset +7 (+0 minutes)
            2014-09-25 09:52:59 nTimeOffset = +6  (+0 minutes)
            2014-09-25 09:53:11 receive version message: /Satoshi:0.8.6.2/: version 60006, blocks=395249, us=61.52.146.63:14384, them=77.232.1.100:9336, peer=77.232.1.100:9336
            2014-09-25 09:53:11 Added time data, samples 6, offset +33 (+0 minutes)
            2014-09-25 09:53:25 receive version message: /Node:0.8.7.2/: version 70002, blocks=647023, us=[::ffff]:15668, them=107.170.24.54:9331, peer=107.170.24.54:40856
            2014-09-25 09:53:25 Added time data, samples 7, offset +7 (+0 minutes)
            2014-09-25 09:53:25 nTimeOffset = +7  (+0 minutes)
            2014-09-25 09:53:26 receive version message: /Node:0.8.7.2/: version 70002, blocks=647023, us=61.52.146.63:9336, them=192.241.197.116:9331, peer=192.241.197.116:45434
            2014-09-25 09:53:26 Added time data, samples 8, offset +7 (+0 minutes)
            2014-09-25 09:53:40 Requesting shutdown
            2014-09-25 09:53:41 Running Shutdown in thread
            2014-09-25 09:53:41 addcon thread interrupt
            2014-09-25 09:53:41 dumpaddr thread stop
            2014-09-25 09:53:41 msghand thread interrupt
            2014-09-25 09:53:41 net thread interrupt
            2014-09-25 09:53:43 opencon thread interrupt
            2014-09-25 09:53:43 Shutdown : In progress...
            2014-09-25 09:53:43 RPCAcceptHandler: Error: �����߳��˳���Ӧ�ó�����������ֹ I/O ������
            2014-09-25 09:53:43 RPCAcceptHandler: Error: �����߳��˳���Ӧ�ó�����������ֹ I/O ������
            2014-09-25 09:53:43 StopNode()
            2014-09-25 09:53:43 UPNP_DeletePortMapping() returned : 0
            2014-09-25 09:53:43 upnp thread interrupt
            2014-09-25 09:53:44 Shutdown : done
            2014-09-25 09:53:44 Shutdown finished
            2014-09-25 09:53:44 Shutdown result: 1
            
            1 Reply Last reply Reply Quote 0
            • lizhi
              lizhi last edited by

              Now , Sync block normal . Height=395549

              2014-09-25 13:44:01 UpdateTip: new best=60a727da02644356d0f5d2516b942aaead01abb8a541d4626c406fbdd2bb242a  height=395251  log2_work=57.555876  tx=1451712  date=2014-09-25 10:52:51 progress=0.999671
              2014-09-25 13:44:01 ProcessBlock: ACCEPTED
              2014-09-25 13:44:01 receive version message: /Satoshi:0.8.6.2/: version 60006, blocks=395427, us=218.28.140.195:17733, them=149.210.159.86:9336, peer=149.210.159.86:9336
              2014-09-25 13:44:01 Added time data, samples 3, offset +8 (+0 minutes)
              2014-09-25 13:44:01   nActualTimespan = 0  before bounds
              2014-09-25 13:44:01 GetNextWorkRequired RETARGET
              2014-09-25 13:44:01 nTargetTimespan = 60    nActualTimespan = 65
              2014-09-25 13:44:01 Before: 1c00c703  0000000000c70300000000000000000000000000000000000000000000000000
              2014-09-25 13:44:01 After:  1c00d798  0000000000d79895555555555555555555555555555555555555555555555555
              
              1 Reply Last reply Reply Quote 0
              • lizhi
                lizhi last edited by

                It can load wallet normal , PUBKEY_ADDRESS and SCRIPT_ADDRESS is right.

                I will test transaction , from 0.8.6.2 to 0.9.3 . Tomorrow :)

                Core_093_20.jpg

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

                  Now , it transaction normal . I can send feathercoin to 0.9.3 client from 0.8.6.2 client , then send feathercoin to 0.8.6.2 client from 0.9.3 client .

                  It is all right.

                  new6.jpg

                  new4.jpg

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

                    Nice!

                    Is this to become the new core?

                    I’m not really sure I’m understanding whats going on here… Is this the btc core thats been moded for ftc?

                    Once the neoscrypt change has taken place, I’ll try get some other devs to get involved.

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

                      Yes, I’m finishing the job. We will say goobye to Litecoin code.

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

                        Today, It was born. Wish you a good time. ^-^

                        new1.jpg

                        new8.jpg

                        new7.jpg

                        new3.jpg

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

                          Good work Lizhi!

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

                            I will continue ACP Implemented, qr-import and neoscrypt.

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

                              Wow great work. Are you working with bushstar on this?

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

                                Wow great work. Are you working with bushstar on this?

                                No , I’m working alone.

                                I had reveived ftc from coinotron.com with my 0.9.3 core. ^-^

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

                                  Your doing some amazing things lizhi. :)

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

                                    seconded ;D

                                    Like what I do: 6uuy6isbrW1SBF191Bzgui1gWxPdNKx2PB

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

                                      We need all our devs on this…

                                      After the Neo fork, this should be the next thing we do in regards to forks. (I assume it requires a fork?)

                                      But yeah, lets get our own core/ the btc core… finally cut all ties with ltc…

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

                                        No, 0.9.3 core don’t need hard fork, but it will upgrade database. so you can not go back 0.8.6.2

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          cisahasa last edited by

                                          this would basically mean u should have continuous support by yourself adding bitcoin updates to source

                                          if there would be, then i would want to see ufo in same core version after feathercoin.

                                          remember to have guys ready to compile static wallets to mac and linux… windows is the easy one

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

                                            …remember to have guys ready to compile static wallets to mac and linux… windows is the easy one

                                            I see it just the other way round: Linux is the easy one.

                                            When a final version is released and Bushstar gives a go, I can create linux deb and rpm installation packages easily ;)

                                            No Mac or tools for Mac available unfortunatelly

                                            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
                                            • First post
                                              Last post