CounterpartyXCP / counterparty-core

Counterparty Protocol Reference Implementation
http://counterparty.io
MIT License
284 stars 206 forks source link

Hide False-Positive SQLite Errors #1998

Closed adamkrellenstein closed 2 months ago

adamkrellenstein commented 3 months ago
adam_krellenstein@dev-xcp-testnet-develop-h2qd ~ $ docker logs --follow 02c015c25ad2

Counterparty Core v10.3.0-rc.1
Verbosity: 1
Quiet: False
Configuration File: /root/.config/counterparty/server.conf
Counterparty Database: /data/counterparty/counterparty.testnet.db
Network: `testnet`
2024-07-03T12:46:52.038714000+00:00 - [    INFO] - Connecting to database... (SQLite 3.45.1.0)
Bitcoin Core: http://rpc:*****@prd-btc-testnet-v2-hzqh:18332
AddrIndexRs: http://prd-btc-testnet-v2-hzqh:18432
Counterparty RPC Server: http://rpc:*****@0.0.0.0:14100/rpc/
Server Log: /root/.cache/counterparty/log/server.testnet.log
API Access Log: /root/.cache/counterparty/log/server.testnet.access.log

------------------------------ START ------------------------------

2024-07-03T12:46:52.040398000+00:00 - [   DEBUG] - Creating connection to `/data/counterparty/counterparty.testnet.db`...
ERROR:root:SQLITE_LOG: statement aborts at 3: [
        CREATE TABLE IF NOT EXISTS addresses(
            address TEXT,
            options INTEGER,
            block_index INTEGER
        )
    ] database schema has changed (17) SQLITE_SCHEMA

Is this actually a false positive?

adamkrellenstein commented 3 months ago

Does this happen when upgrading to v10.3.0?

ouziel-slama commented 2 months ago

fixed here https://github.com/CounterpartyXCP/counterparty-core/pull/2046/files