func TstAddressPubKey(serializedPubKey []byte, pubKeyFormat PubKeyFormat,
	netID byte) *AddressPubKey {
	pubKey, _ := btcec.ParsePubKey(serializedPubKey, btcec.S256())
	return &AddressPubKey{
		pubKeyFormat: pubKeyFormat,
		pubKey:       (*btcec.PublicKey)(pubKey),
		pubKeyHashID: netID,
	}
}
TstAddressPubKey makes an AddressPubKey, setting the unexported fields with
the parameters.
package provautil
import (
	"github.com/bitgo/prova/btcec"
	"github.com/bitgo/prova/provautil/base58"
	"github.com/btcsuite/golangcrypto/ripemd160"
)
func (b *Block) SetBlockBytes(buf []byte) {
	b.serializedBlock = buf
}
func TstAppDataDir(goos, appName string, roaming bool) string {
	return appDataDir(goos, appName, roaming)
}
func TstAddressPubKeyHash(hash [ripemd160.Size]byte,
	netID byte) *AddressPubKeyHash {
	return &AddressPubKeyHash{
		hash:  hash,
		netID: netID,
	}
}
func TstAddressScriptHash(hash [ripemd160.Size]byte,
	netID byte) *AddressScriptHash {
	return &AddressScriptHash{
		hash:  hash,
		netID: netID,
	}
}