예제 #1
0
    presenter.run()

if __name__ == '__main__':
    # testnet faucet: mhFwRrjRNt8hYeWtm9LwqCpCgXjF38RJqn
    # old peer : 88.114.198.141:18333
    mode = 1
    if mode == 1:
        runmode=TESTNET3
        data_directory = r"C:\dev\data\data_testnet_3" 
        seeds=[]
        #seeds = [SockAddr("96.241.176.56", 18333)]
        #seeds = [SockAddr("69.64.46.74", 18333)]
        
        findpeers = True
    if mode == 2:
        runmode=TESTNET
        data_directory = "C:\\dev\\data\\data_testnet" 
        #seeds = [SockAddr("96.241.176.56", 18333)]
        seeds=[]
        findpeers = True
         
        
    params = ClientParams(runmode=runmode, 
                          port=2000, #BITCOIN_PORT[runmode],
                          data_directory=data_directory,
                          findpeers=findpeers,
                          #seeds = [SockAddr("178.79.163.96", 18333)])
                          seeds=seeds) #SockAddr("127.0.0.1", 18333)
    coinpy_gui_client(get_config_params(params))

예제 #2
0
    presenter.run()


if __name__ == '__main__':
    # testnet faucet: mhFwRrjRNt8hYeWtm9LwqCpCgXjF38RJqn
    # old peer : 88.114.198.141:18333
    mode = 1
    if mode == 1:
        runmode = TESTNET3
        data_directory = r"C:\dev\data\data_testnet_3"
        seeds = []
        #seeds = [SockAddr("96.241.176.56", 18333)]
        #seeds = [SockAddr("69.64.46.74", 18333)]

        findpeers = True
    if mode == 2:
        runmode = TESTNET
        data_directory = "C:\\dev\\data\\data_testnet"
        #seeds = [SockAddr("96.241.176.56", 18333)]
        seeds = []
        findpeers = True

    params = ClientParams(
        runmode=runmode,
        port=2000,  #BITCOIN_PORT[runmode],
        data_directory=data_directory,
        findpeers=findpeers,
        #seeds = [SockAddr("178.79.163.96", 18333)])
        seeds=seeds)  #SockAddr("127.0.0.1", 18333)
    coinpy_gui_client(get_config_params(params))
예제 #3
0
파일: main.py 프로젝트: sirk390/coinpy
def main(params=None):
    coinpy_gui_client(get_config_params(params))
예제 #4
0
def main(params=None):
    coinpy_gui_client(get_config_params(params))