Browse Source

Update ordinals to v0.19.1 (#1406)

main
Nathan Fretz 6 months ago
committed by GitHub
parent
commit
a1a49b515b
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      ordinals/docker-compose.yml
  2. 8
      ordinals/hooks/pre-start
  3. 33
      ordinals/umbrel-app.yml

4
ordinals/docker-compose.yml

@ -8,7 +8,7 @@ services:
PROXY_AUTH_ADD: "false" PROXY_AUTH_ADD: "false"
ord: ord:
image: nmfretz/ord:0.18.2@sha256:9f9445ae39df02c31ccf5e604f2539f148ccbd38703e717e1208b08583b9d406 image: nmfretz/ord:0.19.1@sha256:db939ea09ecca6abfa1c9e755d73822332aa1783f667ee9d47b309c3b4f537d0
# This needs to run as root # This needs to run as root
# user: "1000:1000" # user: "1000:1000"
restart: on-failure restart: on-failure
@ -25,7 +25,5 @@ services:
ORD_BITCOIN_RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}" ORD_BITCOIN_RPC_PASSWORD: "${APP_BITCOIN_RPC_PASS}"
ORD_BITCOIN_RPC_URL: "${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_RPC_PORT}" ORD_BITCOIN_RPC_URL: "${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_RPC_PORT}"
ORD_CHAIN: "${APP_BITCOIN_NETWORK}" 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" ORD_INDEX_RUNES: "true"
# TODO: consider index-sats # TODO: consider index-sats

8
ordinals/hooks/pre-start

@ -25,16 +25,16 @@ if [[ -f "${APP_DATA_DIR}/index.redb" ]]; then
set_correct_permissions "${APP_DATA_DIR}" set_correct_permissions "${APP_DATA_DIR}"
fi fi
# re-index the ordinals data for runes # re-index ord on major version upgrades (so far in ord's history, this has been required on every major version update)
# for installs post 0.18.1 this file will be harmlessly created # for fresh installs this file will be harmlessly created
if [[ ! -f "${APP_DATA_DIR}/AT_LEAST_0-18-1" ]]; then if [[ ! -f "${APP_DATA_DIR}/AT_LEAST_0-19-1" ]]; then
# delete index db for all bitcoin networks # 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 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 if [[ -f "${file}" ]]; then
rm -f "${file}" rm -f "${file}"
fi fi
done done
touch "${APP_DATA_DIR}/AT_LEAST_0-18-1" touch "${APP_DATA_DIR}/AT_LEAST_0-19-1"
fi 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 # 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

33
ordinals/umbrel-app.yml

@ -2,7 +2,7 @@ manifestVersion: 1
id: ordinals id: ordinals
category: bitcoin category: bitcoin
name: Ordinals name: Ordinals
version: "0.18.2" version: "0.19.1"
tagline: Run your own index, block explorer, and command-line wallet for Ordinals tagline: Run your own index, block explorer, and command-line wallet for Ordinals
description: > 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. 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.
@ -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. 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: >- 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. ⏳ 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 Full release notes can be found at: https://github.com/ordinals/ord/releases
developer: Casey Rodarmor developer: Casey Rodarmor
website: https://ordinals.com/ website: https://ordinals.com/

Loading…
Cancel
Save