Skip to main content

Module server

Module server 

Source

Modules§

handlers
types

Structs§

ServerConfig
Server configuration (auth, TLS, etc.)
TlsConfig
TLS configuration (cert + key paths).

Functions§

make_router
Build the axum Router with all 28 WalletInterface endpoints.
make_wallet_state
make_wallet_state_from_arc
Build a WalletState from an existing Arc<Wallet>.
run

Type Aliases§

SpendingLock
Lock that serializes spending operations (createAction). Non-spending endpoints (encrypt, getPublicKey, listOutputs, etc.) are unaffected.