Exemplo n.º 1
0
 public bool Contains(OutPoint outPoint)
 {
     if (outPoint == null)
     {
         throw new ArgumentNullException("outPoint");
     }
     return(Contains(outPoint.ToBytes()));
 }
Exemplo n.º 2
0
 public void Insert(OutPoint outPoint)
 {
     if (outPoint == null)
     {
         throw new ArgumentNullException("outPoint");
     }
     Insert(outPoint.ToBytes());
 }
Exemplo n.º 3
0
        /// <summary>
        /// Adds an outpoint to the list of elements that will be used for building the filter.
        /// </summary>
        /// <param name="outpoint">The outpoint.</param>
        /// <returns>The updated filter builder instance.</returns>
        public GolombRiceFilterBuilder AddOutPoint(OutPoint outpoint)
        {
            if (outpoint == null)
            {
                throw new ArgumentNullException(nameof(outpoint));
            }

            _values.Add(outpoint.ToBytes());
            return(this);
        }
Exemplo n.º 4
0
 public OutPoint(OutPoint outpoint)
 {
     this.FromBytes(outpoint.ToBytes());
 }
Exemplo n.º 5
0
		public void Insert(OutPoint outPoint)
		{
			if (outPoint == null) throw new ArgumentNullException("outPoint");
			Insert(outPoint.ToBytes());
		}
Exemplo n.º 6
0
 public OutPoint(OutPoint outpoint)
 {
     this.FromBytes(outpoint.ToBytes());
 }
Exemplo n.º 7
0
		public bool Contains(OutPoint outPoint)
		{
			if (outPoint == null) throw new ArgumentNullException("outPoint");
			return Contains(outPoint.ToBytes());
		}
Exemplo n.º 8
0
 public bool Contains(OutPoint outPoint)
 {
     return(Contains(outPoint.ToBytes()));
 }
Exemplo n.º 9
0
 public void Insert(OutPoint outPoint)
 {
     Insert(outPoint.ToBytes());
 }
Exemplo n.º 10
0
 public bool Contains(OutPoint outPoint)
 {
     return Contains(outPoint.ToBytes());
 }
Exemplo n.º 11
0
 public void Insert(OutPoint outPoint)
 {
     Insert(outPoint.ToBytes());
 }