From 3597f60f78333fa4d918f8450cf5f26e7bc4cba1 Mon Sep 17 00:00:00 2001 From: nmfretz Date: Wed, 28 Aug 2024 09:36:49 +1000 Subject: [PATCH 1/4] Remove old env var comment --- ordinals/docker-compose.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/ordinals/docker-compose.yml b/ordinals/docker-compose.yml index 8530239bcb..e0e57f8a9b 100644 --- a/ordinals/docker-compose.yml +++ b/ordinals/docker-compose.yml @@ -25,7 +25,5 @@ services: 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 From f57c8cc1e297bb4686229b297adfd4f85d8f7d21 Mon Sep 17 00:00:00 2001 From: nmfretz Date: Wed, 28 Aug 2024 09:38:24 +1000 Subject: [PATCH 2/4] Bump image to 0.19.1 --- ordinals/docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ordinals/docker-compose.yml b/ordinals/docker-compose.yml index e0e57f8a9b..a2381f01fa 100644 --- a/ordinals/docker-compose.yml +++ b/ordinals/docker-compose.yml @@ -8,7 +8,7 @@ services: 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 From 6666c74862c9a0c3f668576be843390e6f8b8b6f Mon Sep 17 00:00:00 2001 From: nmfretz Date: Wed, 28 Aug 2024 10:01:40 +1000 Subject: [PATCH 3/4] Update app version and release notes --- ordinals/umbrel-app.yml | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/ordinals/umbrel-app.yml b/ordinals/umbrel-app.yml index fcbae82144..f8313094ba 100644 --- a/ordinals/umbrel-app.yml +++ b/ordinals/umbrel-app.yml @@ -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. @@ -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/ From 5d4e6b7b29d7b0d1f7a265dd8009d7b03e38d079 Mon Sep 17 00:00:00 2001 From: nmfretz Date: Wed, 28 Aug 2024 10:07:16 +1000 Subject: [PATCH 4/4] Update pre-start script to trigger re-index for 0.19.1 --- ordinals/hooks/pre-start | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ordinals/hooks/pre-start b/ordinals/hooks/pre-start index 281b84bde3..2303db571e 100755 --- a/ordinals/hooks/pre-start +++ b/ordinals/hooks/pre-start @@ -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