Ejemplo n.º 1
0
    def setup_nodes(self):
        self.address = "tcp://127.0.0.1:%d" % zmq_port(1)

        args = []
        args.append("-zmqpubgameblocks=%s" % self.address)
        args.extend(["-trackgame=%s" % g for g in ["a", "b", "other"]])
        self.add_nodes(self.num_nodes, extra_args=[args])
        self.start_nodes()

        self.node = self.nodes[0]
Ejemplo n.º 2
0
    def setup_nodes(self):
        self.address = "tcp://127.0.0.1:%d" % zmq_port(1)

        args = []
        args.append("-zmqpubgamepending=%s" % self.address)
        args.extend(["-trackgame=%s" % g for g in ["a", "b", "other"]])
        self.add_nodes(self.num_nodes, extra_args=[args])
        self.start_nodes()
        self.import_deterministic_coinbase_privkeys()

        self.node = self.nodes[0]
Ejemplo n.º 3
0
  def setup_nodes (self):
    self.address = "tcp://127.0.0.1:%d" % zmq_port (1)

    args = []
    args.append ("-zmqpubgameblocks=%s" % self.address)
    args.append ("-maxgameblockattaches=10")
    args.append ("-acceptnonstdtxn=1")
    args.extend (["-trackgame=%s" % g for g in ["a", "b", "other"]])
    self.add_nodes (self.num_nodes, extra_args=[args])
    self.start_nodes ()
    self.import_deterministic_coinbase_privkeys ()

    self.node = self.nodes[0]