Documentation ¶
Index ¶
- func CertifyBlock(t *testing.T, b *block.Block, txConverter block.TxConverter) (*block.Block, map[string]abcrypto.Verifier)
- func CertifyGenericBlock(t *testing.T, b *block.GenericBlock) map[string]abcrypto.Verifier
- func CreatePrimaryProofs(t *testing.T, txs []txsystem.GenericTransaction, signer abcrypto.Signer) (proofs []*block.BlockProof)
- func CreateProof(t *testing.T, tx txsystem.GenericTransaction, signer abcrypto.Signer, ...) *block.BlockProof
- func CreateUC(t *testing.T, b *block.GenericBlock, signer abcrypto.Signer) *certificates.UnicityCertificate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertifyBlock ¶
func CertifyGenericBlock ¶
func CreatePrimaryProofs ¶
func CreatePrimaryProofs(t *testing.T, txs []txsystem.GenericTransaction, signer abcrypto.Signer) (proofs []*block.BlockProof)
func CreateProof ¶
func CreateProof(t *testing.T, tx txsystem.GenericTransaction, signer abcrypto.Signer, unitID []byte) *block.BlockProof
func CreateUC ¶
func CreateUC(t *testing.T, b *block.GenericBlock, signer abcrypto.Signer) *certificates.UnicityCertificate
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.