forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 117
feat(db-arch): more dbdir to address_dir replacements #2398
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
Merged
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
ac20d84
store stats files in global db directory
mariocynicys b219751
let MmCtx::address_dir() default back to Ctx::dbdir() based on compil…
mariocynicys 8d48284
replace dbdir with address_dir in eth/erc20 traces path
mariocynicys fa5134b
base the LN data directory and backup directory on address_dir
mariocynicys 74b9ecb
let MmCtx::address_db() default back to Ctx::sqlite_connection based …
mariocynicys 1e024d4
use the address_db for LN sqlite DB
mariocynicys 6149dbc
put tx cache in proper address directory
mariocynicys d96d8db
use correct address dirs for wallet and cache dbs for zcoin
mariocynicys 190e6e1
fix clippy for tests
mariocynicys ce446c3
use the z_spending_key field inside the builder
mariocynicys a1c7347
add a disucssion point regarding address dir for zcoin wallet & cache…
mariocynicys 97d9849
fix wrong stats taker swap directory
mariocynicys 2cd8ecd
use global directory for swap locks
mariocynicys ffb4540
don't create the address directory when calling address_dir()
mariocynicys 302e23f
add cargo lock
mariocynicys aad8705
half-bake address directory logic inside `SavedSwap`
mariocynicys abbe716
give the option to specify an address directory when loading swap fro…
mariocynicys 638da9e
add and partially implement `address_from_pubkey`
mariocynicys 199b75b
set address_dir in `SavedSwap`s initializations
mariocynicys 212d188
review(onur): remove optional_ from parameter name as it's obvious fr…
mariocynicys b896af6
review(onur): rename address_dir to maker_address in SavedSwaps
mariocynicys bb47ee2
review(onur): add more comments for clairty in new mm2_io functions
mariocynicys b3b3384
review(alina): say something if fs::rename() fails
mariocynicys 7bcd119
don't feature gate global_dir()
mariocynicys 3ab56ab
nest swap locks inside a `swap_locks` directory inside the global_dir
mariocynicys 321087d
transitively enable new-db-arch for dependency mm2 crates
mariocynicys 7b3f2b2
make an async counter part for create_parents
mariocynicys 8a00f1c
fix sia address_from_pubkey impl
mariocynicys 17a2bd0
lightning: impl address_from_pubkey
mariocynicys 4a2d03a
use the global directory for blocks/cache db for zcoin
mariocynicys 2896cb6
treat zcoin's wallet_db as an HD wallet
mariocynicys 71923e6
remove lightning & HW wallet fixmes
mariocynicys 52b0c59
impl address_from_pubkey for zcoin by disregarding the pubkey and ret…
mariocynicys 62d4a53
move the recreate maker_swap fixme to a todo
mariocynicys 6f6c3ec
add -Json to H264 from rpc::v1::types
mariocynicys f287cc8
merge with origin/dev:
mariocynicys 4e91a16
fix post-merge clippy warnings
mariocynicys f13c611
add -Json to more H264s
mariocynicys 994d0dc
DRY: use account_id_from_raw_pubkey
mariocynicys cbeba99
let address_from_pubkey use non-checksumed address in eth
mariocynicys 0a5ae48
use node_id for the address_dir in lightning instead of a platform's …
mariocynicys 5b34a5a
Merge remote-tracking branch 'origin/dev' into split-db-temp
mariocynicys 2e74dff
add a todo to getive different names to address_from_pubkey
mariocynicys 83e4089
use checksummed address for eth address dir
mariocynicys 830100c
create similar abstraction for wallet dir
mariocynicys 6665136
Update mm2src/coins/z_coin.rs
mariocynicys 4e11c57
fix formatting
mariocynicys 1741f34
review(dimxy): refactor z_coin.rs to not lose trace location
mariocynicys e1f478f
review(dimxy): don't use dyn in write/create_parents
mariocynicys 28dc4ea
Revert "put tx cache in proper address directory" + move tx cache in …
mariocynicys 6d8328a
put back the todo regarding recently spent outputs
mariocynicys f76866a
use mm_err instead of `.map_err(|e| e.map(|e| ...`
mariocynicys f40b39f
merge with origin/dev
mariocynicys File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.