☰
Crate narwhal_test_utils
Version 0.1.0
All Items
Modules
Macros
Structs
Constants
Functions
?
Crate
narwhal_test_utils
source
·
[
−
]
Modules
cluster
Macros
test_channel
test_committed_certificates_channel
test_get_block_commands
test_new_certificates_channel
Structs
AuthorityFixture
Builder
CommitteeFixture
PrimaryToPrimaryMockServer
PrimaryToWorkerMockServer
WorkerFixture
WorkerToPrimaryMockServer
WorkerToWorkerMockServer
Constants
CERTIFICATES_CF
CERTIFICATE_ID_BY_ROUND_CF
HEADERS_CF
PAYLOAD_CF
VOTES_CF
Functions
batch
Batches
batch_with_transactions
batches
generate multiple fixture batches. The number of generated batches are dictated by the parameter num_of_batches.
ensure_test_environment
fixture_batch_with_transactions
fixture_payload
make_certificates
make_certificates_with_epoch
make_consensus_store
Headers, Votes, Certificates
make_optimal_certificates
make_optimal_signed_certificates
make_signed_certificates
mock_certificate
mock_certificate_with_epoch
mock_signed_certificate
open_batch_store
random_key
Keys, Committee
random_network
temp_dir
test_network
transaction