Skip to content

blockhash must be of length 64 not 50 #18

@ourlink

Description

@ourlink

Has there been a change in the blockhash size for DASH?

With the latest release of DASH v20.0.4 running on P2Pool we are getting the following errors

2024-01-24 16:33:25.813740 > Error:
2024-01-24 16:33:25.813888 > Traceback (most recent call last):
2024-01-24 16:33:25.813938 >   File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 575, in _runCallbacks
2024-01-24 16:33:25.813977 >     current.result = callback(current.result, *args, **kw)
2024-01-24 16:33:25.814020 >   File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1126, in gotResult
2024-01-24 16:33:25.814061 >     _inlineCallbacks(r, g, deferred)
2024-01-24 16:33:25.814098 >   File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
2024-01-24 16:33:25.814133 >     result = result.throwExceptionIntoGenerator(g)
2024-01-24 16:33:25.814168 >   File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2024-01-24 16:33:25.814205 >     return g.throw(self.type, self.value, self.tb)
2024-01-24 16:33:25.814258 > --- <exception caught here> ---
2024-01-24 16:33:25.814291 >   File "/demo/p2pool-dash/p2pool/util/deferral.py", line 41, in f
2024-01-24 16:33:25.814345 >     result = yield func(*args, **kwargs)
2024-01-24 16:33:25.814380 >   File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
2024-01-24 16:33:25.814414 >     result = result.throwExceptionIntoGenerator(g)
2024-01-24 16:33:25.814444 >   File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2024-01-24 16:33:25.814479 >     return g.throw(self.type, self.value, self.tb)
2024-01-24 16:33:25.814508 >   File "/demo/p2pool-dash/p2pool/util/deferral.py", line 172, in __call__
2024-01-24 16:33:25.814540 >     value = yield self.func(key)
2024-01-24 16:33:25.814569 >   File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
2024-01-24 16:33:25.814606 >     result = result.throwExceptionIntoGenerator(g)
2024-01-24 16:33:25.814635 >   File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2024-01-24 16:33:25.814670 >     return g.throw(self.type, self.value, self.tb)
2024-01-24 16:33:25.814701 >   File "/demo/p2pool-dash/p2pool/dash/height_tracker.py", line 98, in height_cacher
2024-01-24 16:33:25.814732 >     x = yield dashd.rpc_getblock('%x' % (block_hash,))
2024-01-24 16:33:25.814766 >   File "/usr/local/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1068, in _inlineCallbacks
2024-01-24 16:33:25.815020 >     result = result.throwExceptionIntoGenerator(g)
2024-01-24 16:33:25.815065 >   File "/usr/local/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
2024-01-24 16:33:25.815102 >     return g.throw(self.type, self.value, self.tb)
2024-01-24 16:33:25.815135 >   File "/demo/p2pool-dash/p2pool/util/jsonrpc.py", line 141, in _http_do
2024-01-24 16:33:25.815168 >     raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
2024-01-24 16:33:25.815203 > p2pool.util.jsonrpc.NarrowError: -8 blockhash must be of length 64 (not 50, for '49bfdeaccddbf518c1bc30fe519aa56e91c6e4b22739d920fc')

The specific error we have questions about is the blockhash must be of length 64 (not 50, for '49bfdeaccddbf518c1bc30fe519aa56e91c6e4b22739d920fc') .

Is this due to change for the dash_hash submodule?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions