chiapos
chiapos copied to clipboard
🍃 Chia's initial Proof of Space implementation
package fs import ( "fmt" "github.com/spf13/afero" ) const ( OsType = "os" Mem = "mem" ) var supportedTypes = []string{OsType} func GetFs(fs string) (afero.Fs, error) { switch fs { case...
Currently missing is the estimation of proof quality.
Ref verifier can be found in https://github.com/Chia-Network/chia-blockchain
afero can easily integrate cloud backends so we should be able to plot an S3 or GCS bucket. As a matter of fact, there are outstanding PRs for both backends...
Need to take memory and CPU profiles of the plotter to identify bottlenecks in the code.
Ensure proofs returned by the prover are verified internally by leveraging the same verification code used by the verifier.
hex encoding takes up twice the necessary space for an entry. Maybe flatbuffers can be used here: https://google.github.io/flatbuffers/
Currently set to 64 and 32 bits respectively. These are tracking byte positions in the file so need to consider large file sizes.
Which is weird and needs to be looked at