Menu

#2 Chain async between nodes

bug
fixed
exxoo
None
urgent
0.6
0.61
2014-07-17
2014-06-15
exxoo
No

Chain get asynced between the nodes.
Highest priority to have this fixed

Discussion

  • exxoo

    exxoo - 2014-06-15
    • happens randomly from time to time
    • blockchain on disk is saved equally on all nodes (no binary difference in any block found)

    what we do:
    - start new testnet and check if this issue can occur even if no transactions ever been made (up to some days)
    - investigate error logs on all nodes
    - investigate program code thoroughly again

     

    Last edit: exxoo 2014-06-15
  • exxoo

    exxoo - 2014-06-15
    • Category: --> bug
     
  • exxoo

    exxoo - 2014-06-15
    • Version: --> 0.6
     
  • exxoo

    exxoo - 2014-06-16
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,2 @@
    -Chain get asynced between the nodes
    +Chain get asynced between the nodes.
    +Highest priority to have this fixed
    
    • status: accepted --> working
    • Priority: --> urgent
    • Fixed-In: -->
     
  • exxoo

    exxoo - 2014-06-18

    it cannot be that random. Well it can happen at any block id but it always happens on all connected peers and on all server in the core net at the same time (at least at the same block).
    So we can forget to think about thread concurrency/race conditions.
    Also, the CUdp class and the udp messages are ok and cannot be the reason for this issue.

    That brings the focus back to the classes CChain, CBlock, CTransaction and the sha256 function.
    More information about this problem in ~2-4 days.
    With the latest test in the testnets (especially the test to let the network run without any transactions made) will show if this is somehow linked to initiated transactions at all.

     

    Last edit: exxoo 2014-06-18
  • exxoo

    exxoo - 2014-06-18

    If this urgent, major bug is not solved after the weekend we will prepare a full statement (description, relevant code parts partially, what we tried and what we already found out, errorLogs of server) and will ask you, if you like, to have a look at the issue.
    We hope to find the cause as soon as possible.

     

    Last edit: exxoo 2014-06-19
  • exxoo

    exxoo - 2014-06-23

    we made progress on this issue. It is partially linked to the (new created) ticket https://sourceforge.net/p/exocoin/tickets/31/

    but thats not the full solution. The full(hopefully!) solution is working now in theory and will be programmed as soon as possible (1-3 days with testing).

    More information on this issue soon.

     
  • exxoo

    exxoo - 2014-06-26

    the solution is implemented to about 75%. Including testing we expect to have a fully working solution in ~2 days.

     
  • exxoo

    exxoo - 2014-06-26

    the solution not only should solve this issue but also enhance the security against malicious attacks on the network.

     
  • exxoo

    exxoo - 2014-06-28

    v0.61 is almost done, especially this issue.
    Testing will need some time.

     
  • exxoo

    exxoo - 2014-06-28
    • status: working --> testing-fix
    • Fixed-In: --> 0.61
     
  • exxoo

    exxoo - 2014-07-09

    building up more testcases to verify the mechanisms since they got quite complex.

     
  • exxoo

    exxoo - 2014-07-11

    all suceeded except one. Currently working on this.

     
  • exxoo

    exxoo - 2014-07-11

    re-running test. Should be ok now

     
  • exxoo

    exxoo - 2014-07-15

    seems to work! To be 100% sure we would need the next beta test and see what happens.
    Next beta test will be started soon...

     
  • exxoo

    exxoo - 2014-07-17

    we consider this as "fixed" unless 0.61 will show we are wrong.

     
  • exxoo

    exxoo - 2014-07-17
    • status: testing-fix --> fixed
     

Log in to post a comment.