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

bump(ord): version 0.16.0 #5

Merged
merged 100 commits into from
Mar 12, 2024
Merged
Changes from 1 commit
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
c654f14
Add recipe to deploy to all servers in fleet (#2992)
casey Jan 9, 2024
deb968f
Suppress empty command output (#2995)
casey Jan 9, 2024
adb6f25
Optimize get_inscription_ids_by_sat_paginated (#2996)
casey Jan 9, 2024
bf7ad35
Add crate to audit content security policy (#2993)
casey Jan 9, 2024
6159347
Remove dead link from README (#3000)
oxSaturn Jan 10, 2024
331dbb1
Add `indexed` to output JSON (#2971)
raphjaph Jan 10, 2024
0a22030
Cache less aggressively (#3002)
casey Jan 12, 2024
a4e2c0f
Add minimal Dockerfile (#2786)
raphjaph Jan 12, 2024
750f232
Don't use browser sniffing when serving favicon (#3003)
casey Jan 12, 2024
41d9474
Add option to retain sat index for spent outputs (#2999)
casey Jan 15, 2024
6e0661c
Hide BVM Network inscriptions (#3012)
casey Jan 15, 2024
1abc7b2
Use --name instead of --wallet in README (#3010)
RobertClarke Jan 15, 2024
96f85ba
Add blocks and transaction JSON endpoints (#3004)
DaviRain-Su Jan 15, 2024
4c58b47
Inscribe with delegate (#3021)
casey Jan 15, 2024
4b95ff6
Use untyped table API to get table info (#2747)
casey Jan 16, 2024
08b6380
Make wallet communicate with index via RPC (#2929)
raphjaph Jan 23, 2024
4db705f
Break deploy recipes into multiple lines (#3026)
casey Jan 23, 2024
df04d35
Test fee-spent inscription numbering (#3032)
casey Jan 23, 2024
e967a8c
Remove uneccessary allocations in Inscription Script Creation (#3039)
JeremyRubin Jan 23, 2024
841e70c
Better wallet error messages (#3041)
raphjaph Jan 23, 2024
3fdb8c5
Add documentation for reinscriptions (#2963)
mj10021 Jan 23, 2024
5bdd723
Exclude unnecessary docs (#3043)
raphjaph Jan 24, 2024
5d32e90
Enable JSON API by default (#3047)
raphjaph Jan 25, 2024
17236d9
Forbid destinations in same-sat mode (#3038)
zhiqiangxu Jan 25, 2024
13c0fa1
Dump and restore wallet from descriptors (#3048)
raphjaph Jan 26, 2024
d829fd2
Add /runes/balances (#2978)
lugondev Jan 31, 2024
20167a4
Make invariant message more concise (#3029)
zhiqiangxu Jan 31, 2024
a114acd
Add dry run to send, print Outgoing and PSBT (#3063)
raphjaph Feb 2, 2024
cf48655
Use a flag to indicate a mint (#3068)
casey Feb 2, 2024
b6de2d4
Move SatPoint into library (#3077)
casey Feb 2, 2024
416b286
[ordinals] Bump version: 0.0.1 → 0.0.2 (#3078)
casey Feb 2, 2024
9e5d3d1
Use min instead of clamp (#3081)
zhiqiangxu Feb 12, 2024
b6fcc26
Make clippy stop complaining about insane repair callback (#3104)
casey Feb 12, 2024
cd79370
Remove index parameter from index_block (#3088)
zhiqiangxu Feb 12, 2024
2179bca
Allow specifying satpoint in `same-sat` batch inscribe (#3100)
raphjaph Feb 12, 2024
026bbe1
Show reinscriptions in `ord wallet inscriptions` (#3101)
raphjaph Feb 12, 2024
69925f1
Move sat and friends into ordinals crate (#3079)
raphjaph Feb 12, 2024
989b763
fix naming (#3112)
zhiqiangxu Feb 13, 2024
14116a4
Return signed PSBT from `ord wallet send` (#3093)
raphjaph Feb 13, 2024
6a0fc1a
Add /r/blockinfo endpoint (#3075)
jerryfane Feb 14, 2024
6ff6164
Import multiple descriptors at a time (#3091)
raphjaph Feb 14, 2024
981765f
Add `satpoints` batch inscribe mode (#3115)
raphjaph Feb 15, 2024
a1523d6
Allow inscribing AVIF images (#3123)
casey Feb 15, 2024
d7ddd5a
Fix spelling mistake in bip.mediawiki (#3118)
HarveyV Feb 16, 2024
aff1044
Only allow mnemonic from stdin (#3023)
mj10021 Feb 16, 2024
5f9bb3d
Emit inscription update events to channel (#3137)
mi-yu Feb 17, 2024
e40bcd1
Make Options public (#3138)
mi-yu Feb 19, 2024
cf02bb8
Use `image-rendering: auto` when downscaling images (#3144)
casey Feb 19, 2024
b019184
Add `ord env` to spin up a test bitcoin daemon and ord server (#3146)
casey Feb 20, 2024
7add9b9
Display inscription content type counts on /status (#3127)
casey Feb 20, 2024
3b0f6ac
Add optional HTTP authentication for server (#3131)
casey Feb 20, 2024
4100dce
Make wallet async (#3142)
raphjaph Feb 21, 2024
3eb92cd
Add `/r/inscription` endpoint for getting inscription details (#2628)
lifofifoX Feb 21, 2024
3964b99
Use `image-rendering: auto` for AVIF inscriptions (#3148)
casey Feb 21, 2024
bac8a16
Make `ord env` more user friendly (#3153)
casey Feb 23, 2024
8650ff1
Move JSON structs into api module (#3167)
casey Feb 24, 2024
14b71ed
Display parent above metadata on /inscription (#3160)
casey Feb 24, 2024
af180af
Represent rune IDs as `BLOCK:TX` (#3165)
casey Feb 24, 2024
8c50c98
Add parent preview to inscription page (#3163)
elocremarc Feb 27, 2024
7e4a499
Update inscription sat documentation (#3114)
zhiqiangxu Feb 27, 2024
6cdf58e
Fix lints (#3124)
lugondev Feb 27, 2024
9800d8b
Remove unnecessary lifetime from Formatter (#3178)
casey Feb 27, 2024
5eddc9c
Print PSBT for dry run inscribe (#3116)
raphjaph Feb 27, 2024
a1f3f52
Update docs to reflect wallet changes (#3179)
raphjaph Feb 27, 2024
b8ff6cc
Improve configuration (#3156)
casey Feb 28, 2024
c8aa4d7
Document `ord env` (#3180)
casey Feb 28, 2024
efe3681
Install openssl in docker image (#3181)
aekasitt Feb 28, 2024
06310c1
Release 0.16.0-rc0 (#3182)
raphjaph Feb 28, 2024
99494b0
Refactor test server to use arguments (#3183)
casey Feb 28, 2024
2ec630d
Update ordinals crate (#3184)
raphjaph Feb 28, 2024
e5f48e6
Release 0.16.0-rc1 (#3185)
raphjaph Feb 28, 2024
f3df93f
Allow configuring interval between commits to index (#3186)
bingryan Feb 28, 2024
b75d2d7
Credit contributors in changelog (#3187)
casey Feb 29, 2024
3f59cf8
Make deploys noninteractive (#3189)
casey Feb 29, 2024
94a7227
Make nop and burn tags one byte (#3207)
casey Mar 4, 2024
4f8fe10
Encode claims as tag (#3206)
casey Mar 4, 2024
3687138
Add content proxy (#3216)
raphjaph Mar 5, 2024
4b0e9ed
Add reinscribe option to batch file (#3220)
raphjaph Mar 5, 2024
7019ecc
Check for duplicate satpoints in `satpoints` mode (#3221)
raphjaph Mar 5, 2024
f45ff9c
bump(ord): version 0.16.0-rc1 & fix conflict
joundy Mar 6, 2024
0529f3e
Overhaul settings (#3188)
casey Mar 7, 2024
e864031
Rename index_envelopes to index_inscriptions (#3233)
casey Mar 7, 2024
9b7cbf1
Test that runes can be minted with no edict (#3231)
casey Mar 7, 2024
aaeb0e4
Add libssl-dev to ubuntu install command (#3235)
andrewhong5297 Mar 7, 2024
2f957b9
Enable indexing runes on mainnet (#3236)
casey Mar 7, 2024
5595982
Document `ord wallet restore` (#3237)
raphjaph Mar 7, 2024
4747a28
Load config from default data dir and configure `ord env ` using conf…
casey Mar 8, 2024
bf0da3b
Document `ord env` commands (#3241)
casey Mar 8, 2024
d591c93
Fix list numbering in handbook (#3248)
lugondev Mar 8, 2024
1dd26f0
Display initial sync time on status page (#3250)
casey Mar 8, 2024
c5e63e4
Create tempdir in download-log recipe (#3242)
casey Mar 8, 2024
7c1094b
Don't consider unconfirmed UTXOs as spent (#3255)
arik-so Mar 11, 2024
5a24a7c
Reserve inscription tag 15 (#3256)
casey Mar 11, 2024
2c7c4e8
Rename genesis fee to inscription fee (#3257)
raphjaph Mar 11, 2024
35e6944
Add more fields to /r/blockinfo (#3260)
raphjaph Mar 11, 2024
dcd5688
Add `id` inscription recursive JSON (#3258)
raphjaph Mar 11, 2024
6cb6559
Document recursive endpoint backwards compatibility guarantees (#3265)
casey Mar 11, 2024
4fa324c
Release 0.16.0 (#3264)
casey Mar 11, 2024
2badb82
Bump ordinals version: 0.0.3 → 0.0.4 (#3267)
casey Mar 11, 2024
0622c03
bump(ord): version 0.16.0
joundy Mar 12, 2024
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
Prev Previous commit
Next Next commit
Optimize get_inscription_ids_by_sat_paginated (ordinals#2996)
  • Loading branch information
casey authored Jan 9, 2024
commit adb6f25b434125a84c302d7bf2f60e1834cad148
4 changes: 2 additions & 2 deletions src/index.rs
Original file line number Diff line number Diff line change
@@ -1257,6 +1257,8 @@ impl Index {
let mut ids = rtx
.open_multimap_table(SAT_TO_SEQUENCE_NUMBER)?
.get(&sat.n())?
.skip(page_index.saturating_mul(page_size).try_into().unwrap())
.take(page_size.saturating_add(1).try_into().unwrap())
.map(|result| {
result
.and_then(|sequence_number| {
@@ -1267,8 +1269,6 @@ impl Index {
})
.map_err(|err| err.into())
})
.skip(page_index.saturating_mul(page_size).try_into().unwrap())
.take(page_size.saturating_add(1).try_into().unwrap())
.collect::<Result<Vec<InscriptionId>>>()?;

let more = ids.len() > page_size.try_into().unwrap();