Module fedimint_core::module
source · Modules§
Macros§
- Example
Structs§
- Authentication uses the hashed user password in PHC format
- Definition of an API endpoint defined by a module
M
. - State made available to all API endpoints for handling a request
- All requests from client to server contain these fields
- Api version supported by a core server or a client/server module at a given
ModuleConsensusVersion
. - Consensus version of a core server
- Consensus version of a specific module instance
- Multiple, disjoint, minimum required or maximum supported,
ApiVersion
s. - A handle passed to
ServerModuleInit::distributed_gen
- Creates a struct that can be used to make our module-decodable structs interact with
serde
-based APIs (HBBFT, jsonrpsee). It creates a wrapper that holds the data as serialized - Information about the amount represented by an input or output.
Traits§
- Logic and constant common between server side and client side modules
- Operations common to Server and Client side module gen dyn newtypes
- Interface for Module Generation
- Module associated types required by both client and server
- Trait implemented by every
*ModuleInit
(server or client side) - Module Generation trait with associated types