Documentation
¶
Overview ¶
Package stress implements the stress test for the identity updates.
Index ¶
- func StressIdentityUpdates(ctx context.Context, logger *zap.Logger, n int, contractAddress common.Address, ...) error
- type CastSendCommand
- type EnvelopesGenerator
- func (e *EnvelopesGenerator) Close() error
- func (e *EnvelopesGenerator) PublishGroupMessageEnvelopes(ctx context.Context, numEnvelopes uint, size string) ([]*envelopesProto.OriginatorEnvelope, error)
- func (e *EnvelopesGenerator) PublishKeyPackageEnvelopes(ctx context.Context, numEnvelopes uint) ([]*envelopesProto.OriginatorEnvelope, error)
- func (e *EnvelopesGenerator) PublishWelcomeMessageEnvelopes(ctx context.Context, numEnvelopes uint, dataSize uint) ([]*envelopesProto.OriginatorEnvelope, error)
- type Protocol
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CastSendCommand ¶
type EnvelopesGenerator ¶ added in v0.5.1
type EnvelopesGenerator struct {
// contains filtered or unexported fields
}
func NewEnvelopesGenerator ¶ added in v0.5.1
func (*EnvelopesGenerator) Close ¶ added in v0.5.1
func (e *EnvelopesGenerator) Close() error
func (*EnvelopesGenerator) PublishGroupMessageEnvelopes ¶ added in v0.5.1
func (e *EnvelopesGenerator) PublishGroupMessageEnvelopes( ctx context.Context, numEnvelopes uint, size string, ) ([]*envelopesProto.OriginatorEnvelope, error)
PublishGroupMessageEnvelopes publishes group message envelopes to the XMTPD node. The data size can be specified.
func (*EnvelopesGenerator) PublishKeyPackageEnvelopes ¶ added in v0.5.1
func (e *EnvelopesGenerator) PublishKeyPackageEnvelopes( ctx context.Context, numEnvelopes uint, ) ([]*envelopesProto.OriginatorEnvelope, error)
PublishKeyPackageEnvelopes publishes key package envelopes to the XMTPD node. The data size is hardcoded to 1651 bytes, as expected by the protocol.
func (*EnvelopesGenerator) PublishWelcomeMessageEnvelopes ¶ added in v0.5.1
func (e *EnvelopesGenerator) PublishWelcomeMessageEnvelopes( ctx context.Context, numEnvelopes uint, dataSize uint, ) ([]*envelopesProto.OriginatorEnvelope, error)
PublishWelcomeMessageEnvelopes publishes welcome message envelopes to the XMTPD node. The data size can be specified.
Click to show internal directories.
Click to hide internal directories.