Beispiel #1
0
        public DaemonMySql(RpcConfig bitsharesConfig, RpcConfig bitcoinConfig, 
							string bitsharesAccount, string adminUsernames,
							string databaseName, string databaseUser, string databasePassword)
            : base(bitsharesConfig, bitcoinConfig, bitsharesAccount, adminUsernames)
        {
            m_dataAccess = new MySqlData(databaseName, databaseUser, databasePassword);
        }
Beispiel #2
0
 /// <summary>	Constructor. </summary>
 ///
 /// <remarks>	Paul, 16/03/2015. </remarks>
 ///
 /// <param name="database">	The database. </param>
 public SharedApi(MySqlData database)
 {
     m_database = database;
 }
 //MySqlData m_database;
 public BestPriceMarketOrders(Dictionary<int, BitsharesAsset> allAssets, List<BitsharesMarket> allMarkets, MySqlData database)
 {
     m_allAssets = allAssets;
     m_allMarkets = allMarkets;
 }