Modules

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