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

Index multi-parent inscriptions #3227

Merged
merged 54 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
5d3cbbb
Allow storing arrays of parents.
arik-so Mar 6, 2024
536fa77
Update schema version.
arik-so Mar 6, 2024
a89cd8c
Parse arrays of parents.
arik-so Mar 6, 2024
12c6117
Update explorer
raphjaph Mar 6, 2024
595ed9c
Remove parent() method from Inscription struct.
arik-so Mar 6, 2024
5c1a753
Fix something
raphjaph Mar 6, 2024
ec979fc
Convert parent field to parents on various inscription structs.
arik-so Mar 6, 2024
65d703c
Fix HTML serialization tests.
arik-so Mar 6, 2024
da3ffb2
Create unit test for two-parent-inscription.
arik-so Mar 7, 2024
f4f54a4
Deduplicate parents for inscription information.
arik-so Mar 7, 2024
63bc321
Test that missing parents are not listed.
arik-so Mar 7, 2024
d5e7156
Test filtering malformed parent ids.
arik-so Mar 7, 2024
b51dcfa
Stash
raphjaph Mar 7, 2024
01883e7
New templates
raphjaph Mar 7, 2024
e881416
Optimize duplicate parent detection.
arik-so Mar 7, 2024
dc5a891
Renaming parsing strategy to codec.
arik-so Mar 7, 2024
3993fe2
Rename potential_parents and purported_parent to not have alliteratio…
arik-so Mar 7, 2024
91b5d80
Add some comments.
arik-so Mar 8, 2024
08ddbe1
Enforce deduplication for non-deterministic parent encoding.
arik-so Mar 8, 2024
d19dec2
Fix unwrap_or where default is possible.
arik-so Mar 8, 2024
7bb4714
Replace map().flatten() with filter_map()
arik-so Mar 8, 2024
7ad6394
Make CI shut up about temporarily unused variables.
arik-so Mar 8, 2024
8028be8
Fix plural in variable name.
arik-so Mar 8, 2024
80c5be3
Merge branch 'main' into multi-parent
arik-so Mar 12, 2024
a2a925f
Fix test
raphjaph Mar 12, 2024
47bd4e0
Add parent pagination
raphjaph Mar 12, 2024
1d93ee8
Amend
raphjaph Mar 12, 2024
228997f
Small things
raphjaph Mar 12, 2024
a78f841
Minor things
raphjaph Mar 12, 2024
b638d22
Update src/inscriptions/tag.rs
arik-so Mar 12, 2024
a0471b9
Fix Github's whitespace.
arik-so Mar 12, 2024
5b0d16b
Merge branch 'main' into multi-parent
arik-so Mar 13, 2024
ff25648
Merge branch 'main' into multi-parent
arik-so Mar 14, 2024
d2e94d8
Merge branch 'main' into multi-parent
arik-so Mar 15, 2024
7898762
Fix formating.
arik-so Mar 15, 2024
44f963b
Amend
raphjaph Mar 15, 2024
8aafcc4
Vec::new()
raphjaph Mar 15, 2024
7c2265a
Vec::new() in tests
raphjaph Mar 15, 2024
bd71ec7
Dedup in parser
raphjaph Mar 15, 2024
0dc3615
Add InscriptionEntry test
raphjaph Mar 15, 2024
c0d5bbd
Rename variables in parents_paginated
casey Mar 15, 2024
fc98cc4
Assert that batch inscription parents are correct by asserting_eq with
casey Mar 15, 2024
30e7a82
In deserialize parent tests, always compare full vec
casey Mar 15, 2024
920a970
Compare with vec
casey Mar 15, 2024
d6453c3
Remove -> take
casey Mar 15, 2024
7959293
append -> encode
casey Mar 15, 2024
872290d
Remove comments
casey Mar 15, 2024
9f78f3c
Simplify take_array
casey Mar 15, 2024
e23a2aa
Get rid of tag codec strategy
casey Mar 15, 2024
6be2e4f
Use iterator
casey Mar 15, 2024
afc533d
Paginate parents
raphjaph Mar 15, 2024
c208141
Merge branch 'multi-parent' of github.com:arik-so/ord into multi-parent
raphjaph Mar 15, 2024
6d8349c
Amend
raphjaph Mar 15, 2024
acc89bf
Tweak
casey Mar 15, 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
2 changes: 1 addition & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub struct Inscription {
pub id: InscriptionId,
pub next: Option<InscriptionId>,
pub number: i32,
pub parent: Option<InscriptionId>,
pub parents: Vec<InscriptionId>,
pub previous: Option<InscriptionId>,
pub rune: Option<SpacedRune>,
pub sat: Option<ordinals::Sat>,
Expand Down
Loading
Loading