Skip to content

Conversation

@bh2smith
Copy link

@bh2smith bh2smith commented Nov 13, 2025

If merged, this PR closes #345

This draft PR is AI Generated (and may very well be overkill) via

  • Ask Deep Wiki how one might add SQLite as a supported database.
  • Paste those instructions into Cursor and watch the magic happen.

TODO

  • find all .insert_bulk and check for missing if block
  • test native transfers (I believe this requires an archive node)
  • confirm if we can exclude "WAL mode for better concurrent performance" and delete commented code blocks

Test Plan

Run the example

cd cli
make start_sqlite

connect to the "DB" rindexer.db and run some queries!

@vercel
Copy link

vercel bot commented Nov 13, 2025

@bh2smith is attempting to deploy a commit to the joshaavecom's projects Team on Vercel.

A member of the Team first needs to authorize it.

@bh2smith bh2smith changed the title [WIP] SQLite Support SQLite Support Nov 18, 2025
return Ok(());
}

let mut encoder = DeltaEncoder::new(network_id, Some(&rpc_url), &file_path);
Copy link
Author

@bh2smith bh2smith Nov 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These irrelevant changes were clippy warnings (possibly on a newer rust version than CI).

bh2smith added a commit to deluXtreme/subindexer that referenced this pull request Nov 21, 2025
Removing the need to include a postgres image with the build. This PR
uses an upcomming rindexer feature to introduce a lighter weight
database to the mix. Ideally this will result in a smaller dappnode
package.


*Might actually be better to support both.

Depends on joshstevens19/rindexer#346

Together with the branch release

https://github.com/bh2smith/rindexer/pkgs/container/rindexer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support for SQLite Database

1 participant