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

Don't try to create the default data directory if --index overrides it #1991

Merged
merged 6 commits into from
Jul 15, 2023

Conversation

gmart7t2
Copy link
Contributor

Create the specified directory instead.

@gmart7t2 gmart7t2 force-pushed the create-index-directory branch 3 times, most recently from e8bee0b to e0b4569 Compare April 14, 2023 22:02
@casey
Copy link
Collaborator

casey commented Apr 24, 2023

Can you describe what problem this PR is solving? Is the issue ord is creating the data dir when it isn't needed? Or is the issue that ord isn't creating the parent directory of the index when --index is passed?

@raphjaph raphjaph merged commit 2c22496 into ordinals:master Jul 15, 2023
6 checks passed
sidmorizon added a commit to OneKeyHQ/ord that referenced this pull request Aug 1, 2023
* Add contributing section (ordinals#2261)

* Implement clean index shutdown to prevent index corruption (with clippy updates for Rust 1.71) (ordinals#2275)

* gracefully shutdown index update thread to prevent index corruption

* Use `next_back()` instead of `rev().next()` for rust 1.71

---------

Co-authored-by: victorkirov <[email protected]>

* Modify `ord list` output to include the end of each range (ordinals#1998)

* Don't create default data directory if --index overrides it (ordinals#1991)

* Fix docs inconsistency (ordinals#2276)

* Fix ordering for reinscriptions and show all reinscriptions for sat (ordinals#2279)

* Add satpoint and address to index export (ordinals#2284)

* Update bitcoin dependencies (ordinals#2281)

* Update redb (ordinals#2294)

* Add retry to fetcher (ordinals#2297)

* Clean up deploy scripts (ordinals#2298)

* Fix justfile recipe (ordinals#2299)

* Release 0.8.1 (ordinals#2300)

* Add `amount` field to `wallet inscriptions` output. (ordinals#1928)

* Fix dust limit for padding in `TransactionBuilder` (ordinals#1929)

* Inform user when redb starts in recovery mode (ordinals#2304)

* Fix remote RPC wallet commands (ordinals#1766)

* Select multiple utxos (ordinals#2303)

Co-authored-by: Greg Martin <[email protected]>

* feat: add outputs api

---------

Co-authored-by: raph <[email protected]>
Co-authored-by: victorkirov <[email protected]>
Co-authored-by: gmart7t2 <[email protected]>
Co-authored-by: ordinally <[email protected]>
Co-authored-by: Carlos Alaniz <[email protected]>
Co-authored-by: Greg Martin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants