You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this should be len+9, because 64 bits are used for the bit count, and then assuming the input's length is in whole bytes, you will need one more byte in front of the length bytes to place the 0x80. Note this does not effect current versions of bitcoin, but maybe in the future if the length of the block's hash input changed, this could be a problem.