Merge pull request #24 from Atheros1/master

updated defaultKnownNodes
This commit is contained in:
Jonathan Warren 2013-01-14 14:56:27 -08:00
commit f2ec2f3250
2 changed files with 3 additions and 3 deletions

View File

@ -248,7 +248,7 @@ if __name__ == "__main__":
#print len(ripe.digest()) #print len(ripe.digest())
#prepend the version number and stream number #prepend the version number and stream number
a = '\x05' + '\x08' + ripe.digest() a = '\x01' + '\x08' + ripe.digest()
#print 'lengh of a at beginning = ', len(a) #print 'lengh of a at beginning = ', len(a)
print 'This is the data to be encoded in the address: ', a.encode('hex') print 'This is the data to be encoded in the address: ', a.encode('hex')

View File

@ -11,8 +11,8 @@ def createDefaultKnownNodes(appdata):
stream1 = {} stream1 = {}
stream1['75.186.58.44'] = (8080,int(time.time())) stream1['75.186.58.44'] = (8080,int(time.time()))
stream1['66.108.170.195'] = (8080,int(time.time())) stream1['74.66.249.244'] = (8080,int(time.time()))
stream1['91.201.118.59'] = (8444,int(time.time())) stream1['76.113.50.103'] = (8444,int(time.time()))
stream1['188.122.235.58'] = (8444,int(time.time())) stream1['188.122.235.58'] = (8444,int(time.time()))
############# Stream 2 ################# ############# Stream 2 #################