Commit Graph

935 Commits

Author SHA1 Message Date
dependabot[bot]
4b2249a9eb chore(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 in /api/ordinals
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.14.1 to 3.14.2.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.14.1...3.14.2)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-18 08:54:36 +00:00
ASuciuX
60d2a40d22 feat(brc20): add transferable-inscriptions endpoint 2025-03-21 20:24:15 +02:00
Rafael Cárdenas
6fdd83ac02 chore: display full bitcoin-indexer names in api status (#509) 2025-03-20 13:19:03 -06:00
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
Guspan Tanadi
9a4218facd docs(api/ordinals): navigate path repo links (#458) 2025-03-13 17:55:06 -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
6b9531470a chore: update Indexer.toml [skip ci] 2025-03-06 10:51:30 -06:00
Rafael Cárdenas
b611ff3423 fix(ordinals): track multiple sat transfers in the same block correctly (#460) 2025-03-06 08:21:40 -06:00
Rafael Cárdenas
8e4502b0f1 Merge pull request #459 from hirosystems/beta
merge beta into develop
2025-03-05 09:50:14 -06: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
d527b2827c docs: update readme (#455) 2025-03-03 13:04:53 -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
semantic-release-bot
21e62a10a2 chore(release): 3.0.0-beta.11 [skip ci]
## [3.0.0-beta.11](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.10...v3.0.0-beta.11) (2025-02-25)

### Bug Fixes

* **brc20:** historical token balance ([#444](https://github.com/hirosystems/ordhook/issues/444)) ([41438ac](41438aca96))
* display unbound inscription satpoints as all zeros with unbound sequence as offset ([#445](https://github.com/hirosystems/ordhook/issues/445)) ([6815878](68158786f0))
2025-02-25 16:36:38 +00:00
Rafael Cárdenas
03a72da92d Merge pull request #448 from hirosystems/develop
release to beta
2025-02-25 10:25:38 -06:00
Rafael Cárdenas
68158786f0 fix: display unbound inscription satpoints as all zeros with unbound sequence as offset (#445)
* feat: start indexing brc20 balance history

* fix: api support

* style: revert

* remove extra

* track unbound seq

* test sequence

* remove old coinbase calculations
2025-02-21 09:31:39 -06:00
Rafael Cárdenas
41438aca96 fix(brc20): historical token balance (#444)
* feat: start indexing brc20 balance history

* fix: api support

* style: revert

* remove extra
2025-02-20 10:59:25 -06:00
ASuciuX
ebad427cea Merge pull request #443 from hirosystems/chore/consolidate-bitcoin-rpc-into-chainhook-sdk
consolidate bitcoin rpc tools into chainhook-sdk
2025-02-19 18:59:53 +02:00
ASuciuX
a51382d9c4 remove extra comments about migrating imports from bitcoin crate 2025-02-19 18:28:44 +02:00
ASuciuX
21709b3b57 move bitcoind file and auxiliary 2025-02-19 17:46:42 +02:00
semantic-release-bot
01a99c8868 chore(release): 3.0.0-beta.10 [skip ci]
## [3.0.0-beta.10](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.9...v3.0.0-beta.10) (2025-02-18)

### Bug Fixes

* **api:** multiple parent display ([703f98f](703f98f77f))
2025-02-18 22:17:11 +00:00
Rafael Cardenas
703f98f77f fix(api): multiple parent display 2025-02-18 16:06:21 -06:00
semantic-release-bot
3c1582e929 chore(release): 3.0.0-beta.9 [skip ci]
## [3.0.0-beta.9](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.8...v3.0.0-beta.9) (2025-02-18)

### Features

* **api:** add parent_refs field to inscription responses ([#436](https://github.com/hirosystems/ordhook/issues/436)) ([5630644](563064413b))

### Bug Fixes

* **api:** show delegate inscription id correctly ([#439](https://github.com/hirosystems/ordhook/issues/439)) ([d4ee264](d4ee264ad0))
* calculate charms correctly when inscription is unbound ([#440](https://github.com/hirosystems/ordhook/issues/440)) ([acfda83](acfda83757))
2025-02-18 20:43:41 +00:00
Rafael Cárdenas
c83d1edd6e Merge pull request #441 from hirosystems/develop
release to beta
2025-02-18 14:32:50 -06:00
Rafael Cárdenas
acfda83757 fix: calculate charms correctly when inscription is unbound (#440) 2025-02-18 14:14:37 -06:00
Rafael Cárdenas
d4ee264ad0 fix(api): show delegate inscription id correctly (#439) 2025-02-18 13:58:06 -06:00
Rafael Cárdenas
563064413b feat(api): add parent_refs field to inscription responses (#436)
* fix: parent refs

* parent refs array
2025-02-18 12:14:06 -06:00
semantic-release-bot
7d38710dc4 chore(release): 3.0.0-beta.8 [skip ci]
## [3.0.0-beta.8](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.7...v3.0.0-beta.8) (2025-02-18)

### Features

* **api:** return inscription charms in responses ([#435](https://github.com/hirosystems/ordhook/issues/435)) ([a7073da](a7073da0b4))
* index inscription charms ([#433](https://github.com/hirosystems/ordhook/issues/433)) ([4291eab](4291eabba7))
2025-02-18 17:48:27 +00:00
Rafael Cárdenas
60a44fdce3 Merge pull request #434 from hirosystems/develop
release to beta
2025-02-18 11:37:46 -06:00
Rafael Cárdenas
a7073da0b4 feat(api): return inscription charms in responses (#435)
* add to schema

* test: values
2025-02-18 11:12:42 -06:00
Rafael Cárdenas
4291eabba7 feat: index inscription charms (#433)
* calculate charms

* migration and insert

* drop unused code

* reinscription charm

* test progress

* test: charms
2025-02-18 08:48:26 -06:00
Rafael Cárdenas
c3ae68c17a Merge pull request #432 from hirosystems/beta
merge beta into develop
2025-02-17 10:11:11 -06:00
semantic-release-bot
39799cc341 chore(release): 3.0.0-beta.7 [skip ci]
## [3.0.0-beta.7](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.6...v3.0.0-beta.7) (2025-02-16)

### Bug Fixes

* kill process when a streamed block fails to index ([#431](https://github.com/hirosystems/ordhook/issues/431)) ([84e189b](84e189b9b4))
2025-02-16 00:31:39 +00:00
Rafael Cárdenas
84e189b9b4 fix: kill process when a streamed block fails to index (#431) 2025-02-15 18:21:07 -06:00
semantic-release-bot
52d2464ed4 chore(release): 3.0.0-beta.6 [skip ci]
## [3.0.0-beta.6](https://github.com/hirosystems/ordhook/compare/v3.0.0-beta.5...v3.0.0-beta.6) (2025-02-13)

### Features

* migrate ordinals api to ordhook repo ([#389](https://github.com/hirosystems/ordhook/issues/389)) ([205b4c8](205b4c80bd))

### Bug Fixes

* **brc20:** verify ordinal transfers in chunks instead of individually ([#394](https://github.com/hirosystems/ordhook/issues/394)) ([fe842e2](fe842e2e77))
* clean up rocksdb connections during rollbacks ([#420](https://github.com/hirosystems/ordhook/issues/420)) ([216cd52](216cd52c0e))
* remove double parsing of inscriptions ([#421](https://github.com/hirosystems/ordhook/issues/421)) ([19c8a79](19c8a79cd2))
* upgrade `ord` dependencies and integrate `chainhook-sdk` code ([#397](https://github.com/hirosystems/ordhook/issues/397)) ([fcffa7e](fcffa7e5c1)), closes [#412](https://github.com/hirosystems/ordhook/issues/412)
2025-02-13 19:19:11 +00:00
Rafael Cárdenas
99b63daf58 Merge pull request #427 from hirosystems/develop
release to beta
2025-02-13 13:08:20 -06:00
Rafael Cardenas
dc9e599c1e ci: ordinals-api monorepo release 2025-02-13 12:05:59 -06:00
Rafael Cardenas
586e1db61c ci: fix ord ingore path for codecov 2025-02-13 11:06:54 -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
19c8a79cd2 fix: remove double parsing of inscriptions (#421) 2025-02-13 09:01:45 -06:00
Rafael Cárdenas
216cd52c0e fix: clean up rocksdb connections during rollbacks (#420)
* fix: only one rocksdb conn

* unify context

* improve logs

* clean up connections

* revert sequencing

* improve logs

* revert logs
2025-02-13 09:01:24 -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
e48731de05 Merge pull request #418 from hirosystems/chore/unify-package-version
chore: unify package versions to workspace.package.version 2.2.5
2025-02-12 18:54:20 +02: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
dependabot[bot]
c7b9a34b4f chore(deps): bump cookie and light-my-request in /api/ordinals (#405)
Bumps [cookie](https://github.com/jshttp/cookie) and [light-my-request](https://github.com/fastify/light-my-request). These dependencies needed to be updated together.

Updates `cookie` from 0.5.0 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.5.0...v0.7.2)

Updates `light-my-request` from 5.9.1 to 5.14.0
- [Release notes](https://github.com/fastify/light-my-request/releases)
- [Commits](https://github.com/fastify/light-my-request/compare/v5.9.1...v5.14.0)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: light-my-request
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:39:51 -06:00
dependabot[bot]
5a9588adb3 chore(deps): bump @fastify/multipart in /api/ordinals (#404)
Bumps [@fastify/multipart](https://github.com/fastify/fastify-multipart) from 7.1.0 to 8.3.1.
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v7.1.0...v8.3.1)

---
updated-dependencies:
- dependency-name: "@fastify/multipart"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:39:27 -06:00
dependabot[bot]
fea12167d5 chore(deps): bump dompurify and redoc-cli in /api/ordinals (#408)
Removes [dompurify](https://github.com/cure53/DOMPurify). It's no longer used after updating ancestor dependency [redoc-cli](https://github.com/Redocly/redoc). These dependencies need to be updated together.


Removes `dompurify`

Updates `redoc-cli` from 0.13.20 to 0.13.21
- [Release notes](https://github.com/Redocly/redoc/releases)
- [Changelog](https://github.com/Redocly/redoc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Redocly/redoc/commits)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: indirect
- dependency-name: redoc-cli
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:38:29 -06:00