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 also thought that the problem is in the database, so I rebuild it yesterday. At the same time received an additional error. Perhaps the fact of the python's modules. I think to make the installer, which build packages for python's source from GitHab.
@Ignat99, it's very important that the application only run if it's sure that the data are correct, because otherwise someone could theoretically execute a double-spend against you.
Why, if the error in the data, drops the application itself and stop work of service?
uname -a
Linux zo1.novalocal 3.8.0-19-generic # 29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
In develop branch:
home/xcp/counterpartyd_build/dist/counterpartyd$ sudo python3.4m ./counterpartyd.py --data-dir=/home/xcp/.config/counterpartyd-testnet --config-file=/home/xcp/.config/counterpartyd-testnet/counterpartyd.conf server --force
[sudo] password for fiware:
config.BACKEND_RPC_PORT: 18332
config.RPC_PORT: 14000
config.RPC_PORT: 14000
Status: Connecting to database.
Status: Running v9.45.0 of counterpartyd.
Port: 14000, Address: localhost
Status: Connecting to backend.
Status: Resuming parsing.
Status: Blockchain reorganisation at block 302404.
Status: Reparsing all transactions.
Traceback (most recent call last):
File "./counterpartyd.py", line 1134, in
blocks.follow(db)
File "/home/xcp/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 1326, in follow
reparse(db, block_index=c-1, quiet=True)
File "/home/xcp/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 1187, in reparse
previous_txlist_hash, block['txlist_hash'])
File "/home/xcp/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 173, in parse_block
ledger_hash = generate_ledger_hash(db, block_index, previous_ledger_hash, current_ledger_hash)
File "/home/xcp/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 144, in generate_ledger_hash
ledger_hash = generate_consensus_hash(db, block_index, 'ledger_hash', util.BLOCK_LEDGER, 0, previous_hash, current_hash)
File "/home/xcp/counterpartyd_build/dist/counterpartyd/lib/blocks.py", line 134, in generate_consensus_hash
raise exceptions.ConsensusError('Incorrect {} for block {}.'.format(field, block_index))
lib.exceptions.ConsensusError: Incorrect ledger_hash for block 302335.
The text was updated successfully, but these errors were encountered: