Open ukane-philemon opened 11 months ago
Also, I found out duplicate rows are not removed for votes, misses and tickets table.
I'm yet to encounter issues with the tickets
table.
Related: https://github.com/decred/dcrdata/issues/1562#issuecomment-1030886507
Some time ago, I tried to sync dcrdata but encountered many issues, I even had to start afresh after my first attempt to fix it didn't work.
PG version: 15 OS: MacOS
votes
table: This prevented creating a UNIQUE indexuix_votes_hashes_index
ontx_hash, block_hash
.dcrdata error:
Postgres log:
misses
table: This prevented creating a UNIQUE indexuix_misses_hashes_index
onticket_hash, block_hash
. dcrdata error:Postgres log:
treasury
table: This prevented creating a UNIQUE indexuix_treasury_tx_hash
ontx_hash, block_hash
Postgres log:
I have a working suggestion that fixes these issues and will submit it as a PR.