Documentation ¶
Index ¶
- Constants
- func CreateBlock(t *testing.T, txs []*types.TransactionRecord, ir *types.InputRecord, ...) *types.Block
- func CreateProof(t *testing.T, tx *types.TransactionRecord, signer abcrypto.Signer, ...) *types.TxProof
- func CreateProofs(t *testing.T, txs []*types.TransactionRecord, signer abcrypto.Signer, ...) []*types.TxProof
- func DefaultSDR() *genesis.SystemDescriptionRecord
- type Option
- type Options
Constants ¶
View Source
const ( DefaultSystemIdentifier = 0x00000001 DefaultT2Timeout = 2500 DefaultRoundNumber = 1 )
Variables ¶
This section is empty.
Functions ¶
func CreateBlock ¶ added in v0.4.0
func CreateBlock(t *testing.T, txs []*types.TransactionRecord, ir *types.InputRecord, sdr *genesis.SystemDescriptionRecord, signer abcrypto.Signer) *types.Block
func CreateProof ¶
func CreateProofs ¶ added in v0.3.0
func DefaultSDR ¶ added in v0.3.0
func DefaultSDR() *genesis.SystemDescriptionRecord
Types ¶
type Option ¶ added in v0.3.0
type Option func(*Options)
func WithSystemIdentifier ¶ added in v0.3.0
type Options ¶ added in v0.3.0
type Options struct {
// contains filtered or unexported fields
}
func DefaultOptions ¶ added in v0.3.0
func DefaultOptions() *Options
Click to show internal directories.
Click to hide internal directories.