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

Wp/ updated delete file to use pk as filename #33

Open
wants to merge 54 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
25eef4c
WP/skip files if exists on write
Mar 13, 2023
61b2edc
WP/check_catalog_exists [test]
Mar 14, 2023
eddf0d5
WP/block write_read [test] temporarily
Mar 14, 2023
07e5283
WP/delete-file-blake3hash-http-route
rustchain64 Mar 14, 2023
227ed37
WP/delete-file-format-update
rustchain64 Mar 14, 2023
7d85f6b
WP/delete-file-fix-clippy-issues
rustchain64 Mar 14, 2023
e148dd9
WP/18-slices-blake3_hash-slice_index-slice_range
rustchain64 Mar 15, 2023
8f30773
WP/18-slice-blake3_hash-slice-prototype
rustchain64 Apr 5, 2023
767156c
WP/18-slice-implement-http-get-slice
rustchain64 Apr 5, 2023
f02bc40
WP/18-slice-blake3_hash-slice-dev
rustchain64 Apr 6, 2023
ab317e4
WP/18-slice-blacke3-hash-slice-test-error-file-108
rustchain64 Apr 8, 2023
908e39d
WP/18-slice-black3-hash-Encoded
rustchain64 Apr 8, 2023
5f6c4c2
WP/18-slice-black3-hash-debug-stage
rustchain64 Apr 10, 2023
ba92b5d
WP/18-slice-black3-HT-to-debug
rustchain64 Apr 10, 2023
684bb7c
WP/18-slicke-blake3_hash-stash
rustchain64 Apr 11, 2023
fc8634e
WP/18-slice-blake3_hash-analyze-test
rustchain64 Apr 12, 2023
29a31b4
WP/18-slice-blake3-resolve-cargo-toml
rustchain64 Apr 12, 2023
e50a2d5
WP/18-slice-blake3-clippy
rustchain64 Apr 12, 2023
6b77b22
WP/18-slice-blake3-read_slices
rustchain64 Apr 12, 2023
657c120
WP/18-slice-blake3-test-update
rustchain64 Apr 12, 2023
50dc264
WP/18-slice-blake3-unneeded-return
rustchain64 Apr 12, 2023
dedb85d
WP/18-slice-blake3-http-get-slice
rustchain64 Apr 12, 2023
13134f7
WP/upload-get-last-hash
rustchain64 Apr 19, 2023
2f2e403
WP/upload-get-last-hash-debug
rustchain64 Apr 21, 2023
cbf7e9b
WP/upload-get-last-hash-cleanup
rustchain64 Apr 25, 2023
990420d
WP/upload-get-last-hash-test-to-pass
rustchain64 Apr 25, 2023
eff5232
WP/upload-get-last-hash-file-read-test
rustchain64 Apr 25, 2023
d32eeca
WP/upload-get-last-hash-implement-catalog-exists
rustchain64 Apr 25, 2023
5b9a950
WP/upload-get-last-hash-revert-tests
rustchain64 Apr 25, 2023
91ae1b9
WP/upload-get-last-hash-remove-file-write-local
rustchain64 Apr 25, 2023
30f7878
WP/upload-get-last-hash-clippy
rustchain64 Apr 25, 2023
a7fc00a
WP/upload-get-last-hash-path-exists
rustchain64 Apr 26, 2023
01ba0f7
WP/upload-get-last-debug-binary-files
rustchain64 Apr 29, 2023
8e88ead
WP/upload-get-last-point-cargo-toml
rustchain64 Apr 29, 2023
9e3a446
WP/upload-get-hash-clippy
rustchain64 Apr 29, 2023
8849101
Implement HTTP body streaming version of post_file.
cryptoquick Apr 30, 2023
ea0c994
Refactor streaming interface format. Fix tests.
cryptoquick Apr 30, 2023
4629aa2
Reduce number of files created in test by increasing chunk size to 1MB.
cryptoquick Apr 30, 2023
3e9949d
Fix check catalog_exists test. Cleanup unused libraries.
cryptoquick Apr 30, 2023
d1f9216
Log node public key in config. Correct Error Message in fs backend. R…
rustchain64 May 1, 2023
961f663
WP/upload-last-hash-merger-with-stream-post-file
rustchain64 May 2, 2023
730f208
upload-get-lash-hash fixes. (#38)
cryptoquick May 4, 2023
7188500
Merge main.
cryptoquick May 4, 2023
7db7d4d
temp stash
rustchain64 May 4, 2023
4e21025
update delete
rustchain64 May 4, 2023
642acb4
delete across volumes
rustchain64 May 4, 2023
8637f02
deleted files counter
rustchain64 May 5, 2023
04d53bf
comments
rustchain64 May 5, 2023
04ef77f
handle HT comments
rustchain64 May 8, 2023
dd5fa8c
updated delete file for file_name
rustchain64 May 8, 2023
c675bd0
remove slice function
rustchain64 May 8, 2023
18fc5df
fix clippy error
rustchain64 May 8, 2023
f651742
read_slices backup
rustchain64 May 8, 2023
c4329ad
backup only
rustchain64 May 9, 2023
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
122 changes: 88 additions & 34 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ rayon = ["blake3/rayon"]

[dependencies]
anyhow = "1.0.69"
axum = "0.6.9"
axum = { version = "0.6.9", features = ["multipart"] }
axum-macros = "0.3.4"
bao = "0.12.1"
blake3 = "1.3.3"
carbonado = "0.3.0-rc.4"
cryptoquick marked this conversation as resolved.
Show resolved Hide resolved
# local testing
#carbonado = { path = "../carbonado" }
chrono = "0.4.23"
clap = { version = "4.1.8", features = ["derive"] }
directories = "4.0.1"
Expand All @@ -31,13 +33,13 @@ once_cell = "1.17.1"
par-stream = "0.10.2"
rand = "0.8.5"
rayon = "1.6.1"
secp256k1 = { version = "0.26.0", features = [
serde = "1.0.159"
secp256k1 = { version = "0.27.0", features = [
"global-context",
"rand-std",
"bitcoin-hashes-std",
"serde",
] }
serde = { version = "1.0.152", features = ["derive"] }
syslog = "6.0.1"
tokio = { version = "1.26.0", features = ["full"] }
toml = "0.7.2"
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@

WIP.
Coming soon


//c18e016bbfb1d1ad3e5a09b69a8c54ccd52d66c4cbf83003e2d45a4403f4b8f4
//abf58f8f4fdfe6f9d42634cdf96a3265bff259e4fc4de504698bbfb0eba58fbb
//f87b6d772de75e145635368ae0f91f5be0855fc65e7c1d7e90548f9abcb49319

// 303ed91a78dfa71251b9d5adbb1095213309a7e5ea18a22ac9d54bec1df0e133
// e9874f64ff7aed9892f3246eead33ea51db33bab3125606c797b42b4238af819
// bd294ae77d467a2f6f9ab172b4d0d38f6c765d493728eb7b063fcb2b640886a1
// a3e0f223568426e4c4c14ffea81184609bd64840c6cf1584d94a8c1c3af5da33
Binary file added file/body_test.png
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not add this file, please remove

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file does not appear to be used, and besides, it's in the wrong place. Please remove this.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed, not used for testing at this anymore

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading