Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ordinals to v0.19.1 #1406

Merged
merged 4 commits into from
Aug 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions ordinals/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3.7"

Check notice on line 1 in ordinals/docker-compose.yml

View workflow job for this annotation

GitHub Actions / Lint apps

Potentially using unsafe user in service "ord"

The default container user "root" can lead to security vulnerabilities. If you are using the root user, please try to specify a different user (e.g. "1000:1000") in the compose file or try to set the UID/PUID and GID/PGID environment variables to 1000.

services:
app_proxy:
Expand All @@ -8,7 +8,7 @@
PROXY_AUTH_ADD: "false"

ord:
image: nmfretz/ord:0.18.2@sha256:9f9445ae39df02c31ccf5e604f2539f148ccbd38703e717e1208b08583b9d406
image: nmfretz/ord:0.19.1@sha256:db939ea09ecca6abfa1c9e755d73822332aa1783f667ee9d47b309c3b4f537d0
# This needs to run as root
# user: "1000:1000"
restart: on-failure
Expand All @@ -25,7 +25,5 @@
ORD_BITCOIN_RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}"
ORD_BITCOIN_RPC_URL: "${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_RPC_PORT}"
ORD_CHAIN: "${APP_BITCOIN_NETWORK}"
# First-inscription-height may not be needed in the future. It would be nice to remove it so that other chains like testnet are not impacted.
# ORD_FIRST_INSCRIPTION_HEIGHT: "767430"
ORD_INDEX_RUNES: "true"
# TODO: consider index-sats
8 changes: 4 additions & 4 deletions ordinals/hooks/pre-start
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ if [[ -f "${APP_DATA_DIR}/index.redb" ]]; then
set_correct_permissions "${APP_DATA_DIR}"
fi

# re-index the ordinals data for runes
# for installs post 0.18.1 this file will be harmlessly created
if [[ ! -f "${APP_DATA_DIR}/AT_LEAST_0-18-1" ]]; then
# re-index ord on major version upgrades (so far in ord's history, this has been required on every major version update)
# for fresh installs this file will be harmlessly created
if [[ ! -f "${APP_DATA_DIR}/AT_LEAST_0-19-1" ]]; then
# delete index db for all bitcoin networks
for file in "${ORDINALS_DATA_DIR}/index.redb" "${ORDINALS_DATA_DIR}/testnet3/index.redb" "${ORDINALS_DATA_DIR}/regtest/index.redb" "${ORDINALS_DATA_DIR}/signet/index.redb"; do
if [[ -f "${file}" ]]; then
rm -f "${file}"
fi
done
touch "${APP_DATA_DIR}/AT_LEAST_0-18-1"
touch "${APP_DATA_DIR}/AT_LEAST_0-19-1"
fi

# migrate all wallet database files to ord/wallets, ord/testnet3/wallets, ord/regtest/wallets, and ord/signet/wallets for pre-0.18.2 versions: https://github.com/ordinals/ord/releases/tag/0.18.2
Expand Down
33 changes: 31 additions & 2 deletions ordinals/umbrel-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ manifestVersion: 1
id: ordinals
category: bitcoin
name: Ordinals
version: "0.18.2"
version: "0.19.1"
tagline: Run your own index, block explorer, and command-line wallet for Ordinals
description: >
Run your own index, block explorer, and command-line wallet for Ordinals. The app automatically connects to your Bitcoin node on umbrelOS for trustless operation. Simply install the app and wait for Ordinals to index inscriptions and runes.
Expand All @@ -16,12 +16,41 @@ description: >

Disclaimer: The Ordinals app does not control, filter, or moderate the content hosted on the Bitcoin blockchain. Consequently, you may come across NSFW (Not Safe For Work), objectionable, or unlawful material while using the app.
releaseNotes: >-
🚨 This update will automatically migrate existing wallet databases to the new ord 0.18.2 file structure. Simply update the app, and the rest is taken care of — no manual migration required!
🚨 As usual, major version updates require ord to re-index from scratch. This process will happen automatically when you update the app.


⏳ If ord is currently indexing, it may take a few minutes to safely shut down before updating. Please be patient during this process.


Added

- Resume Command: A new dry-run flag has been added for testing purposes.
- Runes API: Reintroduced the ability to check rune balances.
- Premine Information: You can now view the premine percentage.
- Proxy and Decompression: Added a default content proxy and decompression to the environment settings.
- Inscriptions & Addresses: Inscriptions and rune balances are now visible on the address page, with additional features like charm for burned inscriptions and sat names.
- Shutdown Control: Introduced the ability to cancel shutdowns.
- Detailed Inscription Info: Added new endpoints for more detailed recursive inscription information.
- Progress Indicators: Show progress bars for etching and added a mint progress field in rune details.
- Output Enhancements: Added more output details like sat ranges and transaction hex.

Changed

- Rune Etching: The resume function now cycles through all pending etchings and allows resuming a specific one.
- Configuration Persistence: Configuration files now persist for environment commands.
- Runic Outputs: Runic outputs no longer show in cardinals command.

Fixed

- Sending Runes: Issues with sending runes have been resolved.
- JSON API: Longer request bodies are now supported.
- Minting Rules: Allowed minting to start in the next block if required.
- Ord Environment: Fixed a panic issue during shutdown.
- Index & List Commands: Fixed issues related to listing and indexing commands.
- Various Translations: Updates and fixes were made to multiple language translations.
- Minor Fixes: Various small fixes, like removing duplicate words, fixing typos, and addressing minor bugs in different parts of the system.


Full release notes can be found at: https://github.com/ordinals/ord/releases
developer: Casey Rodarmor
website: https://ordinals.com/
Expand Down