Esempio n. 1
0
        public IEnumerable <IKey> GetStorageNodeKeys(ITransactionKeyProvider transactionKeyProvider)
        {
            IKey key = transactionKeyProvider.GetKey();

            //TODO: implement logic of recognizing storage nodes basing on MurMur Hash value of transaction content
            return(_storageLayerNodeAddresses.Keys);
        }
Esempio n. 2
0
        public IEnumerable <IKey> GetStorageNodeKeys(ITransactionKeyProvider transactionKeyProvider)
        {
            //TODO: need to understand logic of distribution of transactions between storage nodes
            //IKey key = transactionKeyProvider.GetKey();

            //TODO: implement logic of recognizing storage nodes basing on MurMur Hash value of transaction content
            return(_storageLayerNodeAddresses.Keys);
        }