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

    Why would Orphan blocks?

    Support
    3
    5
    1828
    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

      Why would Orphan blocks ? How to avoid such a thing happen?

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

        Well, Orphan blocks happen, if two different miners find a block at nearly the same time.

        The protocol selects one of the blocks and the other one becomes orphan.

        It’s not a bug, but a feature. ;)

        If you mean, that a pool creates a high number of orphan blocks, probably the pool’s connection to the feathercoin network is too slow or the pool server is overloaded, so the pools found blocks are not propagated fast enough.

        The same is valid for the connection between a miner and the pool server. If the miners found blocks or share are not propagated fast enough, they become orphan.

        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
        • wrapper
          wrapper Moderators last edited by

          I’ve just been discusing block validation, in the code, or lack of it. Can you see where the validation is done in the code?.

          How is vailidation done (in main.cpp)?.

          Is is done on agreement of calculation and how fuzzy are they? ie how far out does a block currently have to be to be different and by what parameters to be rejected by other mining nodes?

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

            No clue yet.

            will check the code sometimes. :)

            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
            • wrapper
              wrapper Moderators last edited by

              In addition to the block winning, where one transaction can end orphaned because a different correct solution was proporgated to 51% of the network, some block are deemed invalid because the contain confilcting transactions.

              In addition to the hash criteria, a block needs to contain only valid, non-conflicting transactions. So the other main task for miners is to carefully validate all the transactions that go into their blocks, otherwise they won’t get any reward for their work!

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