private void InitTestData()
 {
     this.h2utxo      = null;
     this.h3tx        = null;
     this.bobVerified = false;
     this.miners      = new List <IWallet>();
     this.alice       = new SimpleWallet("Alice");
     this.bob         = new SimpleWallet("Bob");
     this.nodes       = new List <Node>();
     this.center      = new InMemoryConnectionCenter();
     this.nodeNumber  = 2;
     this.clientData  = new ClientEntity {
         IsRunning = true
     };
 }
Пример #2
0
 public ActiveInMemoryPeer(InMemoryConnectionCenter center, string address) : base(center)
 {
     this.BaseAddress = address;
 }
 public InMemoryPeerFactory(InMemoryConnectionCenter center, InMemoryListener server)
 {
     this.center = center;
     this.server = server;
 }