Versions in this module Expand all Collapse all v0 v0.0.1 Jul 15, 2020 Changes in this version + func AssetHashToBytes(hash string, blinded bool) ([]byte, error) + type ConfidentialWitnessUtxo struct + AssetCommitment string + Nonce []byte + RangeProof []byte + Script []byte + SurjectionProof []byte + ValueCommitment string + type Partial struct + Data *pset.Pset + Network *network.Network + func NewPartial(net *network.Network) *Partial + func (p *Partial) AddBlindedInput(hash string, index uint32, witnessUtxo *ConfidentialWitnessUtxo, ...) error + func (p *Partial) AddInput(hash string, index uint32, witnessUtxo *WitnessUtxo, nonWitnessUtxo []byte) error + func (p *Partial) AddOutput(asset string, value uint64, script []byte, blinded bool) error + func (p *Partial) BlindWithKeys(blindingPrivateKeys [][]byte, blindingPublicKeys [][]byte) error + func (p *Partial) SignWithPrivateKey(index int, keyPair *keypair.KeyPair) error + type WitnessUtxo struct + Asset string + Script []byte + Value uint64