Skip to content

Repo Refactor #513

@PropzSaladaz

Description

@PropzSaladaz

Description

Current state of SGXWallet is a bit messy. Lots of source files in source folder.
Ideally the project should be organized by components, each with its own folder.

Such proposed organization could be:

db/
  LevelDB.h
  LevelDB.cpp
  DBReencryptor.h
  DBReencryptor.cpp
  WalletDBKeys.h

crypto/
  BLSCrypto.*
  DKGCrypto.*
  ECDSACrypto.*
  TECrypto.*
  CryptoTools.*

server/
  SGXWalletServer.*
  SGXRegistrationServer.*
  CSRManagerServer.*
  SGXInfoServer.*

sek/
  SEKManager.*

common/
  Exception.*
  SGXException.*
  InvalidStateException.*
  InvalidArgumentException.*
  Log.*

Tests should also be split into components to avoid monolithic test file.

We should also add namespaces.

Metadata

Metadata

Assignees

No fields configured for Techdebt.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions