コード例 #1
0
        public Blockchain()
        {
            var connectionString = Environment.GetEnvironmentVariable("DATABASE_URL");

            _blockRepository     = new BlockRepository(connectionString);
            Chain                = _blockRepository.GetAll().Result;
            _pendingTransactions = new List <Transaction>();
        }