Ignore:
Timestamp:
Jun 18, 2010, 11:18:47 AM (12 years ago)
Author:
Paul Lelgemann
Message:

o Work on the distributed KeySearcher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/P2P/Nodes/Node.cs

    r1665 r1671  
    11using System.Numerics;
    22using KeySearcher.Helper;
     3using KeySearcher.P2P.Exceptions;
    34
    45namespace KeySearcher.P2P.Nodes
     
    5859            _leftChild = null;
    5960            _rightChild = null;
     61            LeftChildFinished = false;
     62            RightChildFinished = false;
    6063        }
    6164
     
    6871            {
    6972                return _leftChild.CalculatableLeaf(useReservedNodes);
     73            }
     74
     75            if (_rightChild == null)
     76            {
     77                throw new AlreadyCalculatedException();
    7078            }
    7179
Note: See TracChangeset for help on using the changeset viewer.