0

I am trying to scan blocks lets say from 1 to 10.

lets say

(3,1,4,8,2,7,9,10)

min block = 1 , max block = 10

expected sequence = 1 to 10

missing blocks= 5,6

I need a shell script that is going to pick up the missing block in the range and add them to create a new set. Sorting is not needed though

Best Regards,

5
  • 2
    I’m voting to close this question because it is unrelated to Bitcoin. Mar 18, 2022 at 7:09
  • @PieterWuille, I just modified my question. I am trying to scan the bitcoin blockchain and filter out transactions based upon the addresses that belong to me. I am missing some blocks. Mar 18, 2022 at 7:27
  • This seems to be a question about shell-scripting. You can probably ask on stack overflow about how to find missing numbers in an unordered list. In any case, you should post the shell-script you have written so far, or a simplified version, and explain how it's output differs from what you need. Mar 18, 2022 at 10:31
  • @RedGrittyBrick That is fine ! Here is another question that was answered stackoverflow.com/questions/2727809/… ? What is the bias for ? I can still find a solution to the problem but the responses don't encourage to post questions anymore Mar 18, 2022 at 10:46
  • You are more likely to find an answer about subject X on a site that has large numbers of visitors with experience in subject X than you will on a site about subject A which only occasionally involves the use of something from subject X. It is an attempt to be helpful Mar 18, 2022 at 15:37

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.