Crate neptune_cash

Source

Modules§

config_models
connect_to_peers
database
job_queue
This module implements a prioritized, heterogenous job queue that sends completed job results to the initiator/caller.
locks
Provides simplified lock types for sharing data between threads
macros
main_loop
mine_loop
models
peer_loop
prelude
Re-exports the most commonly-needed APIs of neptune-core.
rpc_auth
This module contains types related to authentication for the RPC methods.
rpc_server
implements an RPC server and client based on tarpc
util_types

Structs§

ScopeDurationLogger
for logging how long a scope takes to execute.

Constants§

COMPOSITION_FAILED_EXIT_CODE
MAGIC_STRING_REQUEST
Magic string to ensure other program is Neptune Core
MAGIC_STRING_RESPONSE
SUCCESS_EXIT_CODE

Functions§

initialize
time_fn_call
Time a fn call. Duration is returned as a float in seconds.
time_fn_call_async
Time an async fn call. Duration is returned as a float in seconds.
utc_timestamp_to_localtime
Converts a UTC millisecond timestamp (millis since 1970 UTC) into a DateTime<Local>, ie local-time.
OSZAR »