Skip to main content

Module server

Module server 

Source

Modules§

audit
PERMISSION AUDIT — record what a REAL wallet would have prompted the user for.
broadcast_follow_up
What the served /createAction does AFTER Wallet::create_action returns.
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.