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§
- Scope
Duration Logger - 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.