Created
July 11, 2025 09:55
-
-
Save alanshaw/be76c3d4ff555c3a0ee9f5b6e96b5436 to your computer and use it in GitHub Desktop.
Maximum PDP piece size for Piri
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
package main | |
import ( | |
"fmt" | |
"github.com/filecoin-project/go-state-types/abi" | |
"github.com/storacha/piri/pkg/pdp/proof" | |
) | |
func main() { | |
fmt.Println(abi.PaddedPieceSize(proof.MaxMemtreeSize).Unpadded()) // 266338304 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment