Dionysis Zindros, National Technical University of Athens dionyziz@gmail.com
pseudonymous anonymous web-of-trust identity trust bitcoin namecoin proof-of-burn timelock decentralized anonymous marketplace openbazaar
''' | |
Run this script inside of src/ and it will look for all the files | |
that were changed this year that still have the last year in the | |
copyright headers, and it will fix the headers on that file using | |
a perl regex one liner. | |
For example: if it finds something like this and we're in 2014 | |
// Copyright (c) 2009-2013 The Bitcoin developers |
Dionysis Zindros, National Technical University of Athens dionyziz@gmail.com
pseudonymous anonymous web-of-trust identity trust bitcoin namecoin proof-of-burn timelock decentralized anonymous marketplace openbazaar
#My theory is that if ioloop.instance() is to be called for every request the websocket might receive | |
#this is costly as the instance() method has a dictionary lookup in there. | |
#Plus there's also the cost of allocating memory for the stack of the instance() method and then returning back to | |
#the method which invokes it, vs just keeping the reference once and reusing it. | |
#So here's some test code | |
import cProfile | |
from zmq.eventloop import ioloop | |
ioloop.install() |
@hoffmabc i hope you have the patience to read this, at least it'll be a nice trip back | |
through the code, a refresher, or perhaps you can clear any missunderstandings I have | |
made as I read the p2p code. | |
I see the following chain of events: | |
from the Genesis, start_node() (tornadoloop.py) may or may not have a list of peers to | |
boostrap the p2p connections, when it creates MarketApplication (still in tornadoloop.py), | |
which is the one listening. |
Classes to look at when porting this to frostwire-jlibtorrent: | |
TorrentInfoManipulator - goes to TOTOrrentImpl and temporarily makes the field "additional_info_properties" accesible, and creates a reference to it that can be used from FrostWire's code base. | |
Azureus uses this "additional_info_properties" Map, at the end of torrent bencoding serialization and whatever is in it gets added to the info map. | |
With TorrentInfoManipulator we can add whatever we want to a torrent's info map. | |
CreateTorrentDialog: here is where it all ties up, after all the data has been gathered from the different complex ui tabs, this uses TorrentInfoManipulator to add the new properties. |
A million thanks to our donors, we really appreciate it! | |
Thanks to your support we've been able to do a lot of work, specially on android, your donations have | |
gone towards more hardware for testing, if you haven't upgraded we strongly suggest you do, here | |
are some of the fixes for Android: | |
FrostWire 1.3.4, 1.3.5, 1.3.6 - AUGUST/12/2014 | |
- Improved cloud search results. |
Just compiled libtorrent 1.0.2 for development purposes.
$ ./configure --enable-tests --enable-examples --enable-python-binding --enable-debug
$ make
$ sudo make install
python bindings are there, but when I try to import libtorrent
or run the simple_client.py, I get the following error:
export CC=clang | |
export CXX=clang | |
export CFLAGS="-O3 -DTORRENT_USE_IPV6=1" | |
export CXXFLAGS=-O3 | |
./configure \ | |
--enable-shared \ | |
--enable-static \ | |
--enable-debug \ | |
--enable-tests \ |
#!/usr/bin/perl | |
#fetch Gravatars | |
use strict; | |
use warnings; | |
use LWP::Simple; | |
use Digest::MD5 qw(md5_hex); | |
my $size = 90; |