Skip to main content

Crate pubky_testnet

Crate pubky_testnet 

Source

Re-exports§

pub use pubky;
pub use pubky_common;
pub use pubky_homeserver;

Structs§

EphemeralTestnet
A simple testnet with random ports assigned for all components.
EphemeralTestnetBuilder
Builder for configuring and creating an EphemeralTestnet.
StaticTestnet
A simple testnet with
Testnet
A local test network for Pubky Core development. Can create a flexible amount of pkarr relays, http relays and homeservers.

Functions§

drop_test_databases
Drops all registered empheral test databases This must be executed AFTER the homeserver or testnet is dropped.

Attribute Macros§

test
A macro that wraps a test function and makes sure the postgres test database(s) are dropped after the test completes/panics.