github.com/incognitochain/go-incognito-sdk@v1.0.1/privacy/zkp/utils/constants.go (about)

     1  package utils
     2  
     3  const (
     4  	// size of zero knowledge proof corresponding one input
     5  	OneOfManyProofSize   = 704
     6  	SnPrivacyProofSize   = 320
     7  	SnNoPrivacyProofSize = 192
     8  
     9  	inputCoinsPrivacySize    = 39  // serial number + 7 for flag
    10  	outputCoinsPrivacySize   = 221 // PublicKey + coin commitment + SND + Ciphertext (122 bytes) + 9 bytes flag
    11  	inputCoinsNoPrivacySize  = 175 // PublicKey + coin commitment + SND + Serial number + Randomness + Value + 7 flag
    12  	OutputCoinsNoPrivacySize = 145 // PublicKey + coin commitment + SND + Randomness + Value + 9 flag
    13  )