Пример #1
0
 public TransactionBuilder Shuffle()
 {
     DefaultCoinSelector.Shuffle(_BuilderGroups, _Rand);
     foreach (var group in _BuilderGroups)
     {
         group.Shuffle();
     }
     return(this);
 }
Пример #2
0
 private void Shuffle(List <Builder> builders)
 {
     DefaultCoinSelector.Shuffle(builders, _Parent._Rand);
 }
Пример #3
0
 public TransactionBuilder(int seed)
 {
     _Rand        = new Random(seed);
     CoinSelector = new DefaultCoinSelector(seed);
     ColoredDust  = Money.Dust;
 }
Пример #4
0
		public TransactionBuilder(int seed)
		{
			_Rand = new Random(seed);
			CoinSelector = new DefaultCoinSelector(seed);
			StandardTransactionPolicy = new StandardTransactionPolicy();
			DustPrevention = true;
			InitExtensions();
		}