Пример #1
0
        public AElfKeyStore(INodeEnvironmentService nodeEnvironmentService)
        {
            _nodeEnvironmentService = nodeEnvironmentService;
            _unlockedAccounts       = new List <Account>();
            _keyStoreService        = new KeyStoreService();

            Logger = NullLogger <AElfKeyStore> .Instance;
        }
Пример #2
0
 public NodeEnvironmentServiceTests()
 {
     _nodeEnvironmentService = GetRequiredService <INodeEnvironmentService>();
 }
Пример #3
0
 public AElfKeyStoreTests()
 {
     _keyStore = GetRequiredService <AElfKeyStore>();
     _nodeEnvironmentService = GetRequiredService <INodeEnvironmentService>();
 }
Пример #4
0
 public AElfKeyStore(INodeEnvironmentService nodeEnvironmentService)
 {
     _nodeEnvironmentService = nodeEnvironmentService;
     _unlockedAccounts       = new List <Account>();
     _keyStoreService        = new KeyStoreService();
 }