diff --git a/CHANGELOG.md b/CHANGELOG.md
index cef3bb6103..a266c81a3e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,34 @@
Changelog
=========
+[0.15.0](https://github.com/ordinals/ord/releases/tag/0.15.0) - 2023-01-08
+--------------------------------------------------------------------------
+
+### Added
+- Add no sync option to server command (#2966)
+- Vindicate cursed inscriptions (#2950)
+- Add JSON endpoints for Runes (#2941)
+- Add JSON endpoint for status (#2955)
+- Add chain to status page (#2953)
+
+### Changed
+- Enter beta (#2973)
+
+### Performance
+- Avoid skip when getting paginated inscriptions (#2975)
+- Dispatch requests to tokio thread pool (#2974)
+
+### Misc
+- Fix Project Board link (#2991)
+- Update server names in justfile (#2954)
+- Update delegate.md (#2976)
+- Fix a typo (#2980)
+- Use enums for runestone tags and flags (#2956)
+- Make `FundRawTransactionOptions ` public (#2938)
+- Deduplicate deploy script case statements (#2962)
+- Remove quotes around key to allow shell expansion (#2951)
+- Restart sshd in deploy script (#2952)
+
[0.14.1](https://github.com/ordinals/ord/releases/tag/0.14.1) - 2023-01-03
--------------------------------------------------------------------------
diff --git a/Cargo.lock b/Cargo.lock
index 7fbaa9f339..5e1bdc7b37 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -171,7 +171,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1ca33f4bc4ed1babef42cad36cc1f51fa88be00420404e5b1e80ab1b18f7678c"
dependencies = [
"concurrent-queue",
- "event-listener 4.0.2",
+ "event-listener 4.0.3",
"event-listener-strategy",
"futures-core",
"pin-project-lite",
@@ -239,7 +239,7 @@ version = "3.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7125e42787d53db9dd54261812ef17e937c95a51e4d291373b670342fa44310c"
dependencies = [
- "event-listener 4.0.2",
+ "event-listener 4.0.3",
"event-listener-strategy",
"pin-project-lite",
]
@@ -257,9 +257,9 @@ dependencies = [
[[package]]
name = "async-task"
-version = "4.6.0"
+version = "4.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e1d90cd0b264dfdd8eb5bad0a2c217c1f88fa96a8573f40e7b12de23fb468f46"
+checksum = "fbb36e985947064623dbd357f727af08ffd077f93d696782f3c56365fa2e2799"
[[package]]
name = "async-trait"
@@ -269,7 +269,7 @@ checksum = "c980ee35e870bd1a4d2c8294d4c04d0499e67bca1e4b5cefcc693c2fa00caea9"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -288,7 +288,7 @@ dependencies = [
"js-sys",
"lazy_static",
"log",
- "rustls 0.22.1",
+ "rustls 0.22.2",
"rustls-pki-types",
"thiserror",
"wasm-bindgen",
@@ -443,9 +443,9 @@ checksum = "9e1b586273c5702936fe7b7d6896644d8be71e6314cfe09d3167c95f712589e8"
[[package]]
name = "base64"
-version = "0.21.5"
+version = "0.21.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9"
+checksum = "c79fed4cdb43e993fcdadc7e58a09fd0e3e649c4436fa11da71c9f1f3ee7feb9"
[[package]]
name = "bech32"
@@ -560,7 +560,7 @@ dependencies = [
"async-task",
"fastrand 2.0.1",
"futures-io",
- "futures-lite 2.1.0",
+ "futures-lite 2.2.0",
"piper",
"tracing",
]
@@ -576,7 +576,7 @@ dependencies = [
"new_mime_guess",
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -699,9 +699,9 @@ dependencies = [
[[package]]
name = "clap"
-version = "4.4.12"
+version = "4.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcfab8ba68f3668e89f6ff60f5b205cea56aa7b769451a59f34b8682f51c056d"
+checksum = "33e92c5c1a78c62968ec57dbc2440366a2d6e5a23faf829970ff1585dc6b18e2"
dependencies = [
"clap_builder",
"clap_derive",
@@ -709,9 +709,9 @@ dependencies = [
[[package]]
name = "clap_builder"
-version = "4.4.12"
+version = "4.4.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9"
+checksum = "f4323769dc8a61e2c39ad7dc26f6f2800524691a44d74fe3d1071a5c24db6370"
dependencies = [
"anstream",
"anstyle",
@@ -728,7 +728,7 @@ dependencies = [
"heck",
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -799,9 +799,9 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f"
[[package]]
name = "cpufeatures"
-version = "0.2.11"
+version = "0.2.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0"
+checksum = "53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504"
dependencies = [
"libc",
]
@@ -853,34 +853,28 @@ dependencies = [
[[package]]
name = "crossbeam-deque"
-version = "0.8.4"
+version = "0.8.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751"
+checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
dependencies = [
- "cfg-if 1.0.0",
"crossbeam-epoch",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-epoch"
-version = "0.9.17"
+version = "0.9.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d"
+checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
dependencies = [
- "autocfg",
- "cfg-if 1.0.0",
"crossbeam-utils",
]
[[package]]
name = "crossbeam-utils"
-version = "0.8.18"
+version = "0.8.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c"
-dependencies = [
- "cfg-if 1.0.0",
-]
+checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
[[package]]
name = "crypto-common"
@@ -947,7 +941,7 @@ dependencies = [
"proc-macro2",
"quote",
"strsim",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -969,7 +963,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5"
dependencies = [
"darling_core 0.20.3",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -1099,7 +1093,7 @@ checksum = "487585f4d0c6655fe74905e2504d8ad6908e4db67f744eb140876906c2f3175d"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -1160,9 +1154,9 @@ checksum = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0"
[[package]]
name = "event-listener"
-version = "4.0.2"
+version = "4.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "218a870470cce1469024e9fb66b901aa983929d81304a1cdb299f28118e550d5"
+checksum = "67b215c49b2b248c855fb73579eb1f4f26c38ffdc12973e20e07b91d78d5646e"
dependencies = [
"concurrent-queue",
"parking",
@@ -1175,7 +1169,7 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "958e4d70b6d5e81971bebec42271ec641e7ff4e170a6fa605f2b8a8b65cb97d3"
dependencies = [
- "event-listener 4.0.2",
+ "event-listener 4.0.3",
"pin-project-lite",
]
@@ -1305,9 +1299,9 @@ dependencies = [
[[package]]
name = "futures-lite"
-version = "2.1.0"
+version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "aeee267a1883f7ebef3700f262d2d54de95dfaf38189015a74fdc4e0c7ad8143"
+checksum = "445ba825b27408685aaecefd65178908c36c6e96aaf6d8599419d46e624192ba"
dependencies = [
"futures-core",
"pin-project-lite",
@@ -1321,7 +1315,7 @@ checksum = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -1331,7 +1325,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3afda89bce8f65072d24f8b99a2127e229462d8008182ca93f1d5d2e5df8f22f"
dependencies = [
"futures-io",
- "rustls 0.22.1",
+ "rustls 0.22.2",
"rustls-pki-types",
]
@@ -1485,7 +1479,7 @@ version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "06683b93020a07e3dbcf5f8c0f6d40080d725bea7936fc01ad345c01b97dc270"
dependencies = [
- "base64 0.21.5",
+ "base64 0.21.6",
"bytes",
"headers-core",
"http 0.2.11",
@@ -1839,9 +1833,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
[[package]]
name = "libc"
-version = "0.2.151"
+version = "0.2.152"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4"
+checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7"
[[package]]
name = "libredox"
@@ -2147,7 +2141,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -2176,13 +2170,13 @@ checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"
[[package]]
name = "ord-litecoin"
-version = "0.14.1"
+version = "0.15.0"
dependencies = [
"anyhow",
"async-trait",
"axum",
"axum-server",
- "base64 0.21.5",
+ "base64 0.21.6",
"bech32",
"bip39",
"bitcoin",
@@ -2218,7 +2212,7 @@ dependencies = [
"reqwest",
"rss",
"rust-embed",
- "rustls 0.22.1",
+ "rustls 0.22.2",
"rustls-acme",
"serde",
"serde_json",
@@ -2297,7 +2291,7 @@ checksum = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -2412,9 +2406,9 @@ dependencies = [
[[package]]
name = "proc-macro2"
-version = "1.0.74"
+version = "1.0.76"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db"
+checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c"
dependencies = [
"unicode-ident",
]
@@ -2586,7 +2580,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37b1ae8d9ac08420c66222fb9096fc5de435c3c48542bc5336c51892cffafb41"
dependencies = [
"async-compression",
- "base64 0.21.5",
+ "base64 0.21.6",
"bytes",
"encoding_rs",
"futures-core",
@@ -2680,7 +2674,7 @@ dependencies = [
"proc-macro2",
"quote",
"rust-embed-utils",
- "syn 2.0.46",
+ "syn 2.0.48",
"walkdir",
]
@@ -2759,14 +2753,14 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.22.1"
+version = "0.22.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fe6b63262c9fcac8659abfaa96cac103d28166d3ff3eaf8f412e19f3ae9e5a48"
+checksum = "e87c9956bd9807afa1f77e0f7594af32566e830e088a5576d27c5b6f30f49d41"
dependencies = [
"log",
"ring 0.17.7",
"rustls-pki-types",
- "rustls-webpki 0.102.0",
+ "rustls-webpki 0.102.1",
"subtle",
"zeroize",
]
@@ -2806,7 +2800,7 @@ version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c74cae0a4cf6ccbbf5f359f08efdf8ee7e1dc532573bf0db71968cb56b1448c"
dependencies = [
- "base64 0.21.5",
+ "base64 0.21.6",
]
[[package]]
@@ -2827,9 +2821,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
-version = "0.102.0"
+version = "0.102.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "de2635c8bc2b88d367767c5de8ea1d8db9af3f6219eba28442242d9ab81d1b89"
+checksum = "ef4ca26037c909dedb327b48c3327d0ba91d3dd3c4e05dad328f210ffb68e95b"
dependencies = [
"ring 0.17.7",
"rustls-pki-types",
@@ -2934,29 +2928,29 @@ checksum = "b97ed7a9823b74f99c7742f5336af7be5ecd3eeafcb1507d1fa93347b1d589b0"
[[package]]
name = "serde"
-version = "1.0.194"
+version = "1.0.195"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773"
+checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
-version = "1.0.194"
+version = "1.0.195"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0"
+checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
name = "serde_json"
-version = "1.0.110"
+version = "1.0.111"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6fbd975230bada99c8bb618e0c365c2eefa219158d5c6c29610fd09ff1833257"
+checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4"
dependencies = [
"indexmap",
"itoa",
@@ -3125,9 +3119,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.46"
+version = "2.0.48"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e"
+checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
dependencies = [
"proc-macro2",
"quote",
@@ -3154,9 +3148,9 @@ dependencies = [
[[package]]
name = "sysinfo"
-version = "0.30.3"
+version = "0.30.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ba2dbd2894d23b2d78dae768d85e323b557ac3ac71a5d917a31536d8f77ebada"
+checksum = "1fb4f3438c8f6389c864e61221cbc97e9bca98b4daf39a5beb7bea660f528bb2"
dependencies = [
"cfg-if 1.0.0",
"core-foundation-sys",
@@ -3243,7 +3237,7 @@ checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -3325,7 +3319,7 @@ checksum = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
]
[[package]]
@@ -3631,7 +3625,7 @@ dependencies = [
"once_cell",
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
"wasm-bindgen-shared",
]
@@ -3665,7 +3659,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283"
dependencies = [
"proc-macro2",
"quote",
- "syn 2.0.46",
+ "syn 2.0.48",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
diff --git a/Cargo.toml b/Cargo.toml
index 76d4c42f28..2743804389 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,7 +1,7 @@
[package]
name = "ord-litecoin"
description = "◉ Ordinal wallet and block explorer for litecoin"
-version = "0.14.1"
+version = "0.15.0"
license = "CC0-1.0"
edition = "2021"
autotests = false
diff --git a/README.md b/README.md
index df21aa763c..79e091c2a6 100644
--- a/README.md
+++ b/README.md
@@ -15,13 +15,10 @@ See [the docs](https://docs.ordinals.com) for documentation and guides.
See [the BIP](bip.mediawiki) for a technical description of the assignment and
transfer algorithm.
-See [the project board](https://github.com/users/casey/projects/3/) for
+See [the project board](https://github.com/orgs/ordinals/projects/1) for
currently prioritized issues.
-See [milestones](https://github.com/ordinals/ord/milestones) to get a sense of
-where the project is and where it's going.
-
-Join [the Discord server](https://ordlite.com) to chat with fellow
+Join [the Discord server](https://discord.gg/87cjuz4FYg) to chat with fellow
ordinal degenerates.
Donate
diff --git a/deploy/setup b/deploy/setup
index 4725b924d7..c558dcb4a6 100755
--- a/deploy/setup
+++ b/deploy/setup
@@ -10,37 +10,8 @@ BRANCH=$3
COMMIT=$4
REVISION="ord-$BRANCH-$COMMIT"
-case $CHAIN in
- main)
- CSP_ORIGIN=ordinals.com
- ;;
- regtest)
- CSP_ORIGIN=regtest.ordinals.com
- ;;
- signet)
- CSP_ORIGIN=signet.ordinals.com
- ;;
- test)
- CSP_ORIGIN=testnet.ordinals.com
- ;;
- *)
- echo "Unknown chain: $CHAIN"
- exit 1
- ;;
-esac
-
touch ~/.hushlogin
-sed -i -E 's/#?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
-
-mkdir -p \
- /etc/systemd/system/litecoind.service.d \
- /etc/systemd/system/ord.service.d
-
-printf "[Service]\nEnvironment=CHAIN=%s\nEnvironment=CSP_ORIGIN=%s\n" $CHAIN $CSP_ORIGIN \
- | tee /etc/systemd/system/litecoind.service.d/override.conf \
- > /etc/systemd/system/ord.service.d/override.conf
-
hostnamectl set-hostname $DOMAIN
apt-get install --yes \
@@ -64,15 +35,23 @@ ufw allow ssh
case $CHAIN in
main)
+ COOKIE_FILE_DIR=/var/lib/litecoind
+ CSP_ORIGIN=ordinals.com
ufw allow 9333
;;
regtest)
+ COOKIE_FILE_DIR=/var/lib/litecoind/regtest
+ CSP_ORIGIN=regtest.ordinals.com
ufw allow 18444
;;
signet)
+ COOKIE_FILE_DIR=/var/lib/litecoind/signet
+ CSP_ORIGIN=signet.ordinals.com
ufw allow 39333
;;
test)
+ COOKIE_FILE_DIR=/var/lib/litecoind/testnet3
+ CSP_ORIGIN=testnet.ordinals.com
ufw allow 19333
;;
*)
@@ -81,6 +60,18 @@ case $CHAIN in
;;
esac
+mkdir -p \
+ /etc/systemd/system/litecoind.service.d \
+ /etc/systemd/system/ord.service.d
+
+printf "[Service]\nEnvironment=CHAIN=%s\nEnvironment=CSP_ORIGIN=%s\n" $CHAIN $CSP_ORIGIN \
+ | tee /etc/systemd/system/litecoind.service.d/override.conf \
+ > /etc/systemd/system/ord.service.d/override.conf
+
+sed -i -E 's/#?PasswordAuthentication yes/PasswordAuthentication no/' /etc/ssh/sshd_config
+sshd -t
+systemctl restart sshd
+
ufw --force enable
if ! which litecoind; then
@@ -117,25 +108,6 @@ systemctl daemon-reload
systemctl enable litecoind
systemctl restart litecoind
-case $CHAIN in
- main)
- COOKIE_FILE_DIR=/var/lib/litecoind
- ;;
- regtest)
- COOKIE_FILE_DIR=/var/lib/litecoind/regtest
- ;;
- signet)
- COOKIE_FILE_DIR=/var/lib/litecoind/signet
- ;;
- test)
- COOKIE_FILE_DIR=/var/lib/litecoind/testnet3
- ;;
- *)
- echo "Unknown chain: $CHAIN"
- exit 1
- ;;
-esac
-
while [[ ! -f $COOKIE_FILE_DIR/.cookie ]]; do
echo "Waiting for litecoind…"
sleep 1
diff --git a/docs/po/zh.po b/docs/po/zh.po
index 052df5cc25..e0871b9c07 100644
--- a/docs/po/zh.po
+++ b/docs/po/zh.po
@@ -4058,7 +4058,7 @@ msgstr ""
msgid ""
"Teleburn addresses are derived from inscription IDs. They have no "
"corresponding private key, so assets sent to a teleburn address are burned. "
-"Currently, only Ethereum teleburn addresses are suppported. Pull requests "
+"Currently, only Ethereum teleburn addresses are supported. Pull requests "
"adding teleburn addresses for other chains are welcome."
msgstr ""
"Teleburn 地址源自铭文的ID,他们没有私钥,因此发往燃烧传送地址的资产将被烧毁 "
diff --git a/docs/src/inscriptions/delegate.md b/docs/src/inscriptions/delegate.md
index 55fc800035..51b17ab30a 100644
--- a/docs/src/inscriptions/delegate.md
+++ b/docs/src/inscriptions/delegate.md
@@ -33,7 +33,7 @@ OP_IF
OP_ENDIF
```
-Note that the value of tag `11` is binary, not hex.
+Note that the value of tag `11` is decimal, not hex.
The delegate field value uses the same encoding as the parent field. See
[provenance](provenance.md) for more examples of inscrpition ID encodings;
diff --git a/justfile b/justfile
index 71da16a57d..296f35809d 100644
--- a/justfile
+++ b/justfile
@@ -37,14 +37,16 @@ deploy-signet branch='master' remote='ordinals/ord': (deploy branch remote 'sign
deploy-testnet branch='master' remote='ordinals/ord': (deploy branch remote 'test' 'testnet.ordinals.net')
+servers := 'alpha bravo charlie regtest signet testnet'
+
initialize-server-keys:
#!/usr/bin/env bash
set -euxo pipefail
rm -rf tmp/ssh
mkdir -p tmp/ssh
ssh-keygen -C ordinals -f tmp/ssh/id_ed25519 -t ed25519 -N ''
- for server in alpha balance regtest signet stability testnet; do
- ssh-copy-id -i tmp/ssh/id_ed25519.pub root@$SERVER.ordinals.net
+ for server in {{ servers }}; do
+ ssh-copy-id -i tmp/ssh/id_ed25519.pub root@$server.ordinals.net
scp tmp/ssh/* root@$server.ordinals.net:.ssh
done
rm -rf tmp/ssh
@@ -52,8 +54,15 @@ initialize-server-keys:
install-personal-key key='~/.ssh/id_ed25519.pub':
#!/usr/bin/env bash
set -euxo pipefail
- for server in alpha balance regtest signet stability testnet; do
- ssh-copy-id -i '{{ key }}' root@$server.ordinals.net
+ for server in {{ servers }}; do
+ ssh-copy-id -i {{ key }} root@$server.ordinals.net
+ done
+
+server-keys:
+ #!/usr/bin/env bash
+ set -euxo pipefail
+ for server in {{ servers }}; do
+ ssh root@$server.ordinals.net cat .ssh/authorized_keys
done
log unit='ord' domain='alpha.ordinals.net':
diff --git a/src/index.rs b/src/index.rs
index dea86b1ae6..9cd0734414 100644
--- a/src/index.rs
+++ b/src/index.rs
@@ -11,7 +11,7 @@ use {
super::*,
crate::{
subcommand::{find::FindRangeOutput, server::InscriptionQuery},
- templates::{RuneHtml, StatusHtml},
+ templates::StatusHtml,
},
bitcoin::block::Header,
bitcoincore_rpc::{json::GetBlockHeaderResult, Client},
@@ -30,7 +30,7 @@ use {
},
};
-pub(crate) use self::entry::RuneEntry;
+pub use self::entry::RuneEntry;
pub(crate) mod entry;
mod fetcher;
@@ -87,18 +87,18 @@ pub enum List {
#[derive(Copy, Clone)]
pub(crate) enum Statistic {
Schema = 0,
- BlessedInscriptions,
- Commits,
- CursedInscriptions,
- IndexRunes,
- IndexSats,
- LostSats,
- OutputsTraversed,
- ReservedRunes,
- Runes,
- SatRanges,
- UnboundInscriptions,
- IndexTransactions,
+ BlessedInscriptions = 1,
+ Commits = 2,
+ CursedInscriptions = 3,
+ IndexRunes = 4,
+ IndexSats = 5,
+ LostSats = 6,
+ OutputsTraversed = 7,
+ ReservedRunes = 8,
+ Runes = 9,
+ SatRanges = 10,
+ UnboundInscriptions = 11,
+ IndexTransactions = 12,
}
impl Statistic {
@@ -431,6 +431,7 @@ impl Index {
Ok(StatusHtml {
blessed_inscriptions,
+ chain: self.options.chain(),
cursed_inscriptions,
height,
inscriptions: blessed_inscriptions + cursed_inscriptions,
@@ -854,29 +855,10 @@ impl Index {
)
}
- pub(crate) fn rune(&self, rune: Rune) -> Result