• v1.1.0 8f056d6863

    btcbob released this 2026-11-06 14:36:23 +00:00 | 4 commits to master since this release

    Upgrade recommended for every v1.0.0 store. Fixes a double-spend bug that could mark an unpaid order PAID, plus a set of refund and late-payment fixes, and adds wBOB payments.

    Security fix

    • Double-spent (BOB) payments. A 0-confirmation payment that was double-spent could stay in the store's records and, six blocks later, count as confirmed, marking an unpaid order paid. The store now records whether each payment was ever seen in a block; a never-mined payment the node stops reporting is dropped.

    Refunds and late payments

    • Return addresses are kept while a refund is owed. The privacy purge no longer blanks them on underpaid, overpaid or cancelled-after-payment orders.
    • Late (BOB) payments are caught. Expired and cancelled orders are watched for late_watch_days (default 30); coin that arrives after an order closed is recorded and you get a REFUND DUE email. Late wBOB still arrives as the existing UNMATCHED wBOB PAYMENT email.
    • Overpayments after payment are caught. Paid and shipped orders are watched for the same window and alert OVERPAID.
    • Only confirmed (BOB) counts as owed. The node wallet sees the mempool, so on closed orders and at the moment an order is paid only coin with min_confirmations counts; a 0-conf payment could still be double-spent after you refund it.
    • Mark refunded button beside "Refund due" in the console, recording the amount the page showed.
    • Underpaid orders expire safely, after the scan catches up plus expiry_grace_minutes (and after the wBOB scan, as before).
    • Self-healing alerts: totals and refund alerts are reconciled every poll with an atomic latch. One broken order no longer stops the poll run; the late watch is time-budgeted (late_scan_budget_seconds).
    • Console input: price fields reject ambiguous input and round to cents; stock edits apply as a change with a one-shot token. Two labels now say BOB return address, not XMR.

    Also new since 1.0.0

    • Pay in wBOB on Gnosis alongside (BOB): exact-amount matching, gas and balance checks on the pay button, backup Gnosis RPC, price-jump confirmation, and pools under price_min_tvl_usd ignored for pricing.
    • Optional live-chat widget; product sub-headers on homepage cards.

    Upgrade from 1.0.0

    Keep your config.php and data/, replace everything else. New database columns are added automatically on the first request. Back up data/store.sqlite first.

    R=https://git.subgenius.finance/SubGeniusFinance/dobbs-cart/releases/download/v1.1.0
    curl -LO $R/dobbs-cart-1.1.0.tar.gz -LO $R/dobbs-cart-1.1.0.tar.gz.sha256
    sha256sum -c dobbs-cart-1.1.0.tar.gz.sha256
    tar xzf dobbs-cart-1.1.0.tar.gz
    sudo rsync -a --exclude=config.php --exclude=data/ dobbs-cart-1.1.0/ /var/www/dobbs-cart/
    

    wBOB is optional and off until configured; see config.example.php (wbob_address, gnosis_rpc_url). Fresh installs: same steps as 1.0.0, with 1.1.0 in the URLs.

    Downloads