public MinerService(BlockChainService blockChainService,
                     TransactionPoolService transactionPoolService,
                     WalletService walletService,
                     TransactionService transactionService,
                     P2PNetwork p2PNetwork)
 {
     _blockChainService      = blockChainService;
     _transactionPoolService = transactionPoolService;
     _transactionService     = transactionService;
     _walletService          = walletService;
     _p2pNetwork             = p2PNetwork;
 }
Esempio n. 2
0
 public WalletService(TransactionService transactionService, BlockchainContext dbContext, TransactionPoolService transactionPool)
 {
     _transactionService = transactionService;
     _dbContext          = dbContext;
     _transactionPool    = transactionPool;
 }