Exemple #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);
        }
Exemple #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);
        }