Skip to content

@filecoin-helper filecoin-helper released this Jul 16, 2019

chore: update rust-toolchain to 2019-07-15
Assets 4
Jul 16, 2019
(cargo-release) storage-proofs version 0.4.0
Jul 16, 2019
(cargo-release) logging-toolkit version 0.4.0
Jul 16, 2019
(cargo-release) filecoin-proofs version 0.4.0

@filecoin-helper filecoin-helper released this Jul 15, 2019

test(storage-proofs): add constraints checks and 32bytes pedersen
Assets 4
Features/piece inclusion proofs (#729)

* commps and pips in seal_output

* simplified piece packing and accessible pip methods

* add generate_piece_commitment method and tests

* fix comments and remove unnecessary clone

* refactor seal and change variable names

* ignore test_pip_lifecycle

* comment generate_piece_commitment

* use tempfile instead of NamedTempFile

* deblah

* alias out magic number into a const

* put api test into its own test module

* separate test scopes into tests

* move add_piece out of the test body

* defoo

* unsealed -> staged

* swap out magic number for constant

* verify comm_p length is 1

* add verify_piece_inclusion_proof comment

* use try_into for pip deserialization

* factor out 8 and 32 into useful names

* change proof -> element

* move generate_piece_commitment_bytes into test module

* change constant to NODE_SIZE

* guard log2 against 0

* change more magic numbers into consts

* drop expect in favor of ?

* test generate_piece_specs and break it out

* seek instead of read buff, update comment, and change variable name

* change verify pip comment

* remove the need for padded piece size to be passed around for comm_p generation
Assets 4

@filecoin-helper filecoin-helper released this Jul 13, 2019

feat(doc): add optimization strategies in README (#737)
Assets 4
You can’t perform that action at this time.