39 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
ASuciuX
5fb8b02a9e feat: clippy and fmt support (#452)
* feat(cli): add custom commands `bitcoin-indexer-fmt` and `bitcoin-indexer-clippy` 
* chore: format and clippy the codebase
* feat(ci): add doctest ci job
* feat(ci): support format on save for rust files
2025-03-07 15:42:50 +02:00
Rafael Cárdenas
16e8838ae4 ci: publish openapi specs to vercel (#457)
* ci: publish vercel for apis

* vercel branch

* node v

* move to api dir

* remove build

* remove branch trigger

* remove environments

* rename job
2025-03-04 22:08:58 -06:00
Rafael Cárdenas
ec8af7249e ci: update rust-toolchain (#454)
* Update rust-toolchain

* Update rust-toolchain

* Update ci.yaml

* Update rust-toolchain

* Update ci.yaml

* Update ci.yaml

* Update rust-toolchain

* Update rust-toolchain

* Rename rust-toolchain to rust-toolchain.toml

* Update ci.yaml
2025-03-03 13:01:54 -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
da5596afec feat(runes): add runes api to codebase (#449)
* new code

* add ci

* files

* standard

* Update api/runes/package.json

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

---------

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>
2025-02-27 09:06:43 -06:00
Rafael Cárdenas
3409345e33 ci: fix api docker builds, upgrade to node 20, ignore ord from coverage (#426)
* ci: fix api docker builds, upgrade to node 20

* try again, ignore ord

* fix dockerignore

* restore ci order
2025-02-13 10:51:20 -06: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
ASuciuX
42f20c8917 Merge pull request #396 from hirosystems/fix/mutants-dependency-binding
fix mutants: dependency binding error on Secp256k1
2025-02-10 18:19:35 +02:00
Rafael Cárdenas
205b4c80bd feat: migrate ordinals api to ordhook repo (#389)
* feat: add database migration cli commands

* update cargo lock

* chore: import first api files

* test: cache first

* test: cache

* test: sats

* test: inscription show

* test: inscription transfers

* test: inscriptions index

* test: inscriptions complete

* test: counts

* test: status

* test: block counts

* test: brc20 activity

* test: brc20 holders

* ci: api tests

* ci: update nvmrc path

* ci: remove migration refs

* ci: unused exports

* ci: unused

* ci: build publish

* ci: monorepo

* fix: timestamps

* Update api/ordinals/docs/feature-guides/rate-limiting.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/docs/feature-guides/rate-limiting.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/docs/overview.md

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/src/api/schemas.ts

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* Update api/ordinals/src/api/schemas.ts

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>

* fix: warnings

---------

Co-authored-by: ASuciuX <151519329+ASuciuX@users.noreply.github.com>
2025-02-07 13:44:21 -06:00
ASuciuX
dbc54e4e98 update mutants version 2025-02-07 13:31:35 +02:00
ASuciuX
88a3b4d4c8 fix mutants: dependency binding error on Secp256k1 2025-02-05 15:58:05 +02:00
ASuciuX
ef723d440a Add: CI mutants output and update rust version
- the version update to 1.81 is required to support mutation testing
2025-01-16 18:16:02 +02: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
Rafael Cárdenas
8eac12ee09 ci: add beta releases (#365) 2024-09-20 11:56:02 -06:00
Rafael Cárdenas
13e5a97b27 ci: try correct codecov upload (#351) 2024-07-31 10:06:36 -06:00
Rafael Cárdenas
2c2e8c2e68 ci: generate test coverage reports (#343) 2024-07-22 21:40:18 -06:00
Rafael Cárdenas
ae54d0d713 ci: run on push to main branch (#305) 2024-05-24 17:38:41 -06:00
aravindgee
4a9e336065 Update CodeCov to v4 (#272) 2024-03-25 13:13:53 -04:00
Ludo Galabru
3256427632 feat: display git-commit 2024-02-09 14:18:58 -05:00
CharlieC3
0922265008 ci: update continuous deployment jobs 2024-01-02 12:12:53 -05:00
CharlieC3
0b69d23383 ci: add missing subenv property for stg & prd deploys 2023-12-08 10:00:24 -05:00
CharlieC3
22951b73d2 chore: set actons repo to main 2023-12-07 21:29:55 -05:00
CharlieC3
786f6b89ed fix: change arg 2023-12-07 20:33:08 -05:00
CharlieC3
887aeafbd8 feat: inital changes to support subenv deployments 2023-12-07 20:05:25 -05:00
Ludo Galabru
f820169aa0 fix: better handling of database locks (#200) 2023-11-23 07:15:25 -05:00
aravindgee
0714abf1b1 CI: Enable CodeCov for Ordhook (#205) 2023-11-15 10:31:43 -05:00
Ludo Galabru
0d145dfb89 feat: ordhook-sdk-js refactoring (#186) 2023-11-01 19:57:03 -04:00
Ludo Galabru
ac3d4580f9 fix: ci 2023-09-15 08:40:45 -04:00
Scott McClellan
480d05cf0c chore: stop auto-adding issues to DevTools Project (#170) 2023-09-06 22:26:51 -05:00
aravindgee
4cde5e81b9 Revert Semantic Versioning changes 2023-09-06 14:20:30 -04:00
aravindgee
d111c445c0 Update CI - Add main branch for semantic release 2023-09-06 13:57:41 -04:00
Dean Chi
7ec6b5c69c use existin dockerfile 2023-08-31 20:34:21 -07:00
Dean Chi
ec56f5be5c don't need npm token 2023-08-31 12:44:33 -07:00
Dean Chi
f3e6d685f7 updates to CI 2023-08-31 11:11:07 -07:00
Ludo Galabru
fe31e2b40f wip 2023-03-16 13:45:52 -05:00
Ludo Galabru
5f345e0ca3 chore: update CI 2023-02-10 10:23:31 -05:00
Ludo Galabru
fcb87b635c Genesis 2023-01-31 20:36:29 -05:00