public Task <List <TransactionBlock> > FindAllVotesByDaoAsync(string daoid, bool openOnly) { return(StopWatcher.Track(() => _store.FindAllVotesByDaoAsync(daoid, openOnly), "FindAllVotesByDaoAsync")); }
public async Task <SendTransferBlock> FindUnsettledSendBlockAsync(string AccountId) => await StopWatcher.Track(_store.FindUnsettledSendBlockAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.FindUnsettledSendBlockAsync(AccountId); public async Task <TransactionBlock> FindBlockByPreviousBlockHashAsync(string previousBlockHash) => await StopWatcher.Track(_store.FindBlockByPreviousBlockHashAsync(previousBlockHash), StopWatcher.GetCurrentMethod()); //_store.FindBlockByPreviousBlockHashAsync(previousBlockHash);
internal async Task <ConsolidationBlock> GetLastConsolidationBlockAsync() => await StopWatcher.Track(_store.GetLastConsolidationBlockAsync(), StopWatcher.GetCurrentMethod()); //_store.GetSyncBlockAsync();
public async Task <ReceiveTransferBlock> FindBlockBySourceHashAsync(string hash) => await StopWatcher.Track(_store.FindBlockBySourceHashAsync(hash), StopWatcher.GetCurrentMethod()); //_store.FindBlockBySourceHashAsync(hash); public async Task <long> GetBlockCountAsync() => await StopWatcher.Track(_store.GetBlockCountAsync(), StopWatcher.GetCurrentMethod()); //_store.GetBlockCountAsync();
public async Task <TransactionBlock> FindBlockByIndexAsync(string AccountId, long index) => await StopWatcher.Track(_store.FindBlockByIndexAsync(AccountId, index), StopWatcher.GetCurrentMethod()); //_store.FindBlockByIndexAsync(AccountId, index); public async Task <List <NonFungibleToken> > GetNonFungibleTokensAsync(string AccountId) => await StopWatcher.Track(_store.GetNonFungibleTokensAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.GetNonFungibleTokensAsync(AccountId);
public async Task <Block> FindBlockByHashAsync(string hash) => await StopWatcher.Track(_store.FindBlockByHashAsync(hash), StopWatcher.GetCurrentMethod()); //_store.FindBlockByHashAsync(hash); public async Task <Block> FindBlockByHashAsync(string AccountId, string hash) => await StopWatcher.Track(_store.FindBlockByHashAsync(AccountId, hash), StopWatcher.GetCurrentMethod()); //_store.FindBlockByHashAsync(AccountId, hash);
public async Task <List <TokenGenesisBlock> > FindTokenGenesisBlocksAsync(string keyword) => await StopWatcher.Track(_store.FindTokenGenesisBlocksAsync(keyword), StopWatcher.GetCurrentMethod()); //_store.FindTokenGenesisBlocksAsync(keyword); public async Task <TokenGenesisBlock> FindTokenGenesisBlockAsync(string Hash, string Ticker) => await StopWatcher.Track(_store.FindTokenGenesisBlockAsync(Hash, Ticker), StopWatcher.GetCurrentMethod()); //_store.FindTokenGenesisBlockAsync(Hash, Ticker);
public Task <List <TransactionBlock> > FindOtcTradeAsync(string accountId, bool onlyOpenTrade, int page, int pageSize) { return(StopWatcher.Track(() => _store.FindOtcTradeAsync(accountId, onlyOpenTrade, page, pageSize), "FindOtcTradeAsync")); }
public Task <List <TransactionBlock> > FindOtcTradeByStatusAsync(string daoid, OTCTradeStatus status, int page, int pageSize) { return(StopWatcher.Track(() => _store.FindOtcTradeByStatusAsync(daoid, status, page, pageSize), "FindOtcTradeByStatus")); }
public Task <List <Block> > GetOtcOrdersByOwnerAsync(string accountId) { return(StopWatcher.Track(() => _store.GetOtcOrdersByOwnerAsync(accountId), "GetOtcOrdersByOwner")); }
public Task <Dictionary <string, List <TransactionBlock> > > FindTradableOtcAsync() { return(StopWatcher.Track(() => _store.FindTradableOtcAsync(), "FindTradableOtcAsync")); }
public Task <TransactionBlock> FindExecForVoteAsync(string voteid) { return(StopWatcher.Track(() => _store.FindExecForVoteAsync(voteid), "FindExecForVoteAsync")); }
public Task <VotingSummary> GetVoteSummaryAsync(string voteid) { return(StopWatcher.Track(() => _store.GetVoteSummaryAsync(voteid), "GetVoteSummaryAsync")); }
public Task <List <TransactionBlock> > FindAllVoteForTradeAsync(string tradeid) { return(StopWatcher.Track(() => _store.FindAllVoteForTradeAsync(tradeid), "FindAllVoteForTradeAsync")); }
public async Task <Block> FindLatestBlockAsync() => await StopWatcher.Track(_store.FindLatestBlockAsync(), StopWatcher.GetCurrentMethod()); //_store.FindLatestBlockAsync(); public async Task <Block> FindLatestBlockAsync(string AccountId) => await StopWatcher.Track(_store.FindLatestBlockAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.FindLatestBlockAsync(AccountId);
public Task <List <TransactionBlock> > FindOtcTradeForOrderAsync(string orderid) { return(StopWatcher.Track(() => _store.FindOtcTradeForOrderAsync(orderid), "FindOtcTradeForOrder")); }
public async Task <Block> FindLatestBlockAsync(string AccountId) => await StopWatcher.Track(_store.FindLatestBlockAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.FindLatestBlockAsync(AccountId); public async Task <NullTransactionBlock> FindNullTransBlockByHashAsync(string hash) => await StopWatcher.Track(_store.FindNullTransBlockByHashAsync(hash), StopWatcher.GetCurrentMethod()); //_store.FindNullTransBlockByHashAsync(hash);
public TransactionBlock FindFirstBlock(string AccountId) { return(StopWatcher.Track(() => _store.FindFirstBlock(AccountId), "FindFirstBlock")); }
public async Task <Block> FindBlockByHashAsync(string AccountId, string hash) => await StopWatcher.Track(_store.FindBlockByHashAsync(AccountId, hash), StopWatcher.GetCurrentMethod()); //_store.FindBlockByHashAsync(AccountId, hash); public async Task <List <TokenGenesisBlock> > FindTokenGenesisBlocksAsync(string keyword) => await StopWatcher.Track(_store.FindTokenGenesisBlocksAsync(keyword), StopWatcher.GetCurrentMethod()); //_store.FindTokenGenesisBlocksAsync(keyword);
public Block FindBlockByHash(string hash) { return(StopWatcher.Track(() => _store.FindBlockByHash(hash), "FindBlockByHash")); }
public async Task <TokenGenesisBlock> FindTokenGenesisBlockAsync(string Hash, string Ticker) => await StopWatcher.Track(_store.FindTokenGenesisBlockAsync(Hash, Ticker), StopWatcher.GetCurrentMethod()); //_store.FindTokenGenesisBlockAsync(Hash, Ticker); public async Task <ReceiveTransferBlock> FindBlockBySourceHashAsync(string hash) => await StopWatcher.Track(_store.FindBlockBySourceHashAsync(hash), StopWatcher.GetCurrentMethod()); //_store.FindBlockBySourceHashAsync(hash);
internal async Task <ServiceBlock> GetLastServiceBlockAsync() => await StopWatcher.Track(_store.GetLastServiceBlockAsync(), StopWatcher.GetCurrentMethod()); //_store.GetLastServiceBlockAsync();
public async Task <long> GetBlockCountAsync() => await StopWatcher.Track(_store.GetBlockCountAsync(), StopWatcher.GetCurrentMethod()); //_store.GetBlockCountAsync(); public async Task <TransactionBlock> FindBlockByIndexAsync(string AccountId, long index) => await StopWatcher.Track(_store.FindBlockByIndexAsync(AccountId, index), StopWatcher.GetCurrentMethod()); //_store.FindBlockByIndexAsync(AccountId, index);
internal async Task <ServiceBlock> GetLastServiceBlockAsync() => await StopWatcher.Track(_store.GetLastServiceBlockAsync(), StopWatcher.GetCurrentMethod()); //_store.GetLastServiceBlockAsync(); // forward api. should have more control here. public async Task <bool> AddBlockAsync(Block block) => await StopWatcher.Track(AddBlockImplAsync(block), StopWatcher.GetCurrentMethod());
public async Task <List <NonFungibleToken> > GetNonFungibleTokensAsync(string AccountId) => await StopWatcher.Track(_store.GetNonFungibleTokensAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.GetNonFungibleTokensAsync(AccountId); public async Task <SendTransferBlock> FindUnsettledSendBlockAsync(string AccountId) => await StopWatcher.Track(_store.FindUnsettledSendBlockAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.FindUnsettledSendBlockAsync(AccountId);
//public async Task AddBlockAsync(ServiceBlock serviceBlock) => await StopWatcher.Track(_store.AddBlockAsync(serviceBlock), StopWatcher.GetCurrentMethod());//_store.AddBlockAsync(serviceBlock); // bellow readonly access public async Task <bool> AccountExistsAsync(string AccountId) => await StopWatcher.Track(_store.AccountExistsAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.AccountExistsAsync(AccountId);
public async Task <IEnumerable <string> > GetAllUnConsolidatedBlocksAsync() => await StopWatcher.Track(_store.GetAllUnConsolidatedBlocks(), StopWatcher.GetCurrentMethod());
public async Task <bool> AccountExistsAsync(string AccountId) => await StopWatcher.Track(_store.AccountExistsAsync(AccountId), StopWatcher.GetCurrentMethod()); //_store.AccountExistsAsync(AccountId); public async Task <Block> FindLatestBlockAsync() => await StopWatcher.Track(_store.FindLatestBlockAsync(), StopWatcher.GetCurrentMethod()); //_store.FindLatestBlockAsync();
internal async Task <ConsolidationBlock> GetLastConsolidationBlockAsync() => await StopWatcher.Track(_store.GetLastConsolidationBlockAsync(), StopWatcher.GetCurrentMethod()); //_store.GetSyncBlockAsync(); public async Task <List <ConsolidationBlock> > GetConsolidationBlocksAsync(long startHeight) => await StopWatcher.Track(_store.GetConsolidationBlocksAsync(startHeight), StopWatcher.GetCurrentMethod());
public Block GetDealerByAccountId(string accountId) { return(StopWatcher.Track(() => _store.GetDealerByAccountId(accountId), "GetDealerByAccountId")); }