15 Commits

Author SHA1 Message Date
Rafael Cárdenas
74dca812df chore: rename chainhook-postgres to postgres and fold chainhook-types-rs into bitcoind (#464)
* chainhook types

* rename postgres

* fmt
2025-03-14 07:28:28 -06:00
Rafael Cárdenas
9e9eac81ea refactor: standardize block download pipeline across indexers (#463)
* zmq after chain tip

* some progress

* block pool advance

* runloop finished

* renames

* runs first time

* log levels

* start connecting runes

* compress block opt

* remove dead code

* remove dead code chainhook sdk

* remove ordhook dead code

* rollback install

* auto fmt

* clippy fixes

* fmt

* rollback chain tip

* api test

* api metrics fix

* rename

* standard logs

* ordinals start chain tip

* chain tips

* ci

* clippy

* fix tests

* remove dead code
2025-03-13 08:26:46 -06:00
Rafael Cárdenas
fd2a8496e3 feat(runes): add runes indexer (#453)
* rename ordhook-cli to cli

* rename ordhook-cli

* update configs

* update config to future support runehook integration

* new code

* add ci

* files

* standard

* add files

* rename binary to bitcoin-indexer and commands to ordinals from ordhook

* config component

* integration

* runes build

* fix runes

* indexer toml

* add runes tests to ci

* rename dockerfile

* fix: doctest

---------

Co-authored-by: ASuciuX <asuciu@hiro.so>
2025-02-28 13:22:27 -06:00
Rafael Cárdenas
48b3ccef48 chore: improve log messages for zeromq and fork processing (#422)
* fix: only one rocksdb conn

* unify context

* improve logs

* clean up connections

* revert sequencing

* improve logs

* revert

* chore: standard log
2025-02-12 17:23:31 -06:00
ASuciuX
b4e0157a56 chore: unify package versions to workspace.package.version 2.2.5 2025-02-12 17:43:55 +02:00
Rafael Cárdenas
fcffa7e5c1 fix: upgrade ord dependencies and integrate chainhook-sdk code (#397)
* chore: upgrade ord code

* chore: deps

* chore: add parents table

* chore: move pg deps to workspace

* fix: delegation works

* chore: import chainhook-sdk code

* chore: move ord to its own component

* ci: dockerfile

* docs: ord readme

* refactor: remove all unused code from chainhook-sdk (#412)

* chore: remove stacks types

* checkpoint before removing predicates

* chore: remove all predicates code

* bitcoin dep

* fix: tests

* fix: api tests
2025-02-11 12:21:30 -06:00
Rafael Cárdenas
4afb201006 refactor!: store inscription data in postgres instead of sqlite (#375)
* chore: new pg lib

* chore: migrations and connection code

* brc20 migrations

* connection opts

* fixed columns

* vscode configs

* transaction utils

* chain tip integration

* more progress

* progress

* models

* brc20 progress

* progress

* more

* utils

* models and isnerts

* some more inserts

* ordering support

* remove extra code

* organize

* deadpool

* chain tip

* counts

* optimize transfers table

* optimize reinscriptions

* transfers in same block

* drop blocks structure

* brc20 counts

* token minted supplies

* brc20 insert chunks

* brc20 tweaks

* tweaks

* rollback progress

* restore tests

* fix brc20 tests

* cache tests

* brc20 db tests

* pg docker compose

* fix: pg path

* fix: dockerfile

* test: inscr write

* test: rollbacks

* fix: token minted supply rollback

* fix: ordinals rollback

* chore: upgrade rust

* fix: share rocksdb conn across threads

* chore: search path support

* chore: logs cleanup

* chore: re-enable seq cursor tests

* fix: wire up rollbacks

* fix: brc20 decimal conversion

* fix: recursion parsing

* fix: remove 0x from binary content

* fix: inscription content fixed for real this time

* fix: remove null bytes before inserting

* chore: delete http api

* fix: new pg methods

* fix: all tests

* chore: add pool size config, remove http config

* style: comments
2025-01-04 17:44:58 -06:00
Ludo Galabru
8bb24beb9a fix: initial flow (#178)
* chore: update chainhook-sdk + cascade changes

* fix: update archive url

* feat: only create rocksdb if sqlite present

* fix: use crossbeam channel instead of std

* fix: improve error message

* doc: update README

* fix: build warnings

* fix: block_archiving expiration

* fix: archive url

* fix: read content len from http header

* chore: untar sqlite file

* chore: bump versions
2023-09-20 00:14:54 -04:00
Ludo Galabru
b264e7281b feat: draft ordhook-sdk-js 2023-08-29 10:24:48 -04:00
Ludo Galabru
15392561f4 chore: split clit / core in 2 components 2023-08-21 09:57:03 +02:00
Ludo Galabru
29598f6bc3 chore: complete renaming 2023-08-15 14:08:54 +02:00
Ludo Galabru
35a0bd3739 refactor: say hi to hord 2023-07-05 16:14:41 -04:00
Ludo Galabru
48ec25c523 refactor: chainhook_event_observer to chainhook_sdk 2023-06-08 07:01:00 -04:00
Ludo Galabru
311a76dc43 chore: hiro-system-kit was moved to clarinet repo 2023-02-10 10:17:48 -05:00
Ludo Galabru
fcb87b635c Genesis 2023-01-31 20:36:29 -05:00