Modules

  • An in-memory database to store addresses data. Being in-memory means this database is volatile, and all data is lost after the database is dropped or the process is terminated. It’s not meant to use in production, but for the integrated testing framework

Structs

  • Holds all addresses and associated transactions. We need a database with some basic methods, to store all data
  • An address inside our cache, contains all information we need to satisfy electrum’s requests
  • Every address contains zero or more associated transactions, this struct defines what data we store for those.
  • Holds some useful data about our wallet, like how many addresses we have, how many transactions we have, etc.

Enums

Traits

  • Public trait defining a common interface for databases to be used with our cache