-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: PDP #227
Draft
magik6k
wants to merge
72
commits into
main
Choose a base branch
from
feat/pdp
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+12,752
−295
Draft
feat: PDP #227
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit
Hold shift + click to select a range
fc7399d
pdp: Inital scaffold
magik6k 40aad8c
pdp: Drop unneded handlers
magik6k e3ad509
pdp: wip uploads
magik6k ececf7c
pdp: Proper pieceref tracking
magik6k ed8c966
storage: Implement local stash storage
magik6k afa54ec
storage: Make Local use a single URL
magik6k 794d167
pdp: Complete upload
magik6k 6f36c6b
piecepark: Special long-term storage mode
magik6k 041675a
dealdata: Handle custore://
magik6k 4daac0c
pdp: Notify task
magik6k cf7ae93
retrieval: Foundations for PiecePark readers
magik6k 2082fe9
retrieval: Parked piece /piece retrievals
magik6k cea21f7
pdptool for interacting with curio pdp endpoints
magik6k 76634fd
pdp webui: Basic page, adding services through UI
magik6k 14487f2
pdp webui: Remove service button
magik6k 7ef7681
get http server cert cache working
magik6k a773193
pdp: server and tool ping functionality
magik6k 5cdf4a2
slowly getting data import to actually work
magik6k 51d0d28
separate pdp task config
magik6k 79e6f1b
make gen
magik6k 66a2c41
basic pdp key management
magik6k c7f676f
eth sender
magik6k 37c327d
more working pdp message sender
magik6k bf1c121
initial eth waiter
magik6k d828a8d
eth waiter fixes
magik6k eb5dd69
wip impl /create-proofset
magik6k cc72018
wire up proofset create
magik6k 8336ce8
pdptool: Add a tool for proofset-create
magik6k 551c65a
gas estimation in eth sender
magik6k caf57c0
proofset receipt parsing
magik6k 986151b
pdp: Endpoint to get proofset creation status
magik6k 511125e
pdp: get-proof-set endpoint
magik6k 9fbf574
pdp: Add-root endpoint
magik6k 752d9b4
pdp: Separate table for root adds
magik6k ee7e30f
pdp: Working root adds
magik6k dd6a47c
pdp: Add-root watcher
magik6k b73adc2
pdp: working root adding
magik6k 8c4e566
pdp: Watch challenge epochs
magik6k e06f759
pdp: Scaffold prove task
magik6k 4f50a46
pdp: Prove scheduling
magik6k 07ad29f
pdp: Path from challenge to prove
magik6k 7e1798a
proof: Sha memtree
magik6k 04b4bc5
proof: Binary memtree proover
magik6k 67ba074
pdp: Require sorted subroot pieces
magik6k 5538028
pdp: Getting there with proof verification
magik6k b26d885
pdp: Proof bugfixing progress
magik6k eeca445
pdp: PROOFS WORK!
magik6k a03ba8d
pdp: An actually working poller this time
magik6k c555027
pdp: better praams
magik6k b910e95
pdp: Update contarcts
magik6k ecc52c9
make gen, consistent max piece size
magik6k 2e4f9b9
fix local path test
magik6k 2adff15
pdp: Implement fees
magik6k 16ccaad
pdp chall lookback in prove
magik6k 4ac1e85
update to new proving scheme
magik6k 2cea05f
small fixes
magik6k 7513819
pdp: Support arbitrary hash funcs in uploads
magik6k ff3d92f
pdp: api readme
magik6k 3190e7c
fix lint
magik6k 4cb6643
feat(pdp): add endpoint to poll for completed upload (#304)
hannahhoward 143411a
enable chain sched with just eth sender
magik6k 4b70e1d
feat(pdp): add ed25519 support for JWT (#323)
hannahhoward 921be6f
fix(pdp): fix ed25519 auth (#324)
hannahhoward 7375a08
Zen/update interface (#334)
ZenGround0 88659ba
Integrate pdp updates -- nextProvingPeriod called after first add (#347)
ZenGround0 8a788b6
Delete pdp roots from proofset (#384)
ZenGround0 db1cf8e
Merge remote-tracking branch 'origin/main' into feat/pdp2
magik6k 092e15f
make gen
magik6k dce9f17
drop some unused things
magik6k a29c049
crypto rand in pdptool
magik6k c2316aa
reduce log verbosity, ethwaits index
magik6k 15d5b1b
Nice tool for pdp upload of large files (#397)
ZenGround0 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
Loading status checks…
Delete pdp roots from proofset (#384)
* Core api and prove task logic changes * Update pdptool to process deletes * SQL ordering fix * NoSQL just track removals on chain * Log removals * correct pdptool output * correct delete api interface * remove * remove * Update tasks/pdp/task_prove.go Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com> * review response * Fix up --------- Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com> Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
- Loading branch information
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
-- Clear tables in correct order (respecting foreign key constraints) | ||
TRUNCATE TABLE curio.pdp_proof_sets CASCADE; | ||
TRUNCATE TABLE curio.pdp_piecerefs CASCADE; | ||
TRUNCATE TABLE curio.pdp_proofset_root_adds CASCADE; | ||
TRUNCATE TABLE curio.pdp_proofset_roots CASCADE; | ||
TRUNCATE TABLE curio.pdp_prove_tasks CASCADE; | ||
TRUNCATE TABLE curio.pdp_proofset_creates CASCADE; | ||
TRUNCATE TABLE curio.pdp_piece_uploads CASCADE; | ||
|
This file contains 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 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is also the pdp_piecerefs table, and I'm not entirely sure what's the best way to approach this because: