/// <summary> Recompute transaction limits and prices. </summary> /// /// <remarks> Paul, 02/02/2015. </remarks> protected override void RecomputeTransactionLimitsAndPrices() { base.RecomputeTransactionLimitsAndPrices(); StatsRow stats = m_database.Query <StatsRow>("SELECT * FROM stats;").FirstOrDefault(); m_bidPrice = stats.bid_price; m_askPrice = stats.ask_price; }
protected override uint GetLastBitsharesBlock() { StatsRow stats = m_database.Query <StatsRow>("SELECT * FROM stats;").First(); return(stats.last_bitshares_block); }