Commit Graph

4906 Commits

Author SHA1 Message Date
Denis Ryabov
dc7c4e5627 fix store/load confirmed field 2014-07-08 18:28:47 +04:00
Denis Ryabov
683f55f8d2 confirmation for local items only 2014-07-08 17:01:53 +04:00
Denis Ryabov
785d05f10c simpler expression for random diffusion 2014-07-08 15:19:56 +04:00
Denis Ryabov
847659f7dd update refresh time on confirm 2014-07-08 15:18:22 +04:00
Miguel Freitas
a358a677ab host checks from bitcoin upstream needed to cross-compile leveldb.
(OSX users must check if i didn't break anything)
2014-07-08 08:14:22 -03:00
Denis Ryabov
601e0422e4 prevent flow of unconfirmed requests after twister start 2014-07-08 15:01:48 +04:00
Denis Ryabov
1945adaddf check for empty response 2014-07-08 15:00:58 +04:00
Denis Ryabov
066435719d limit refreshes per tick to refresh_per_tick_limit=20, fix boost::ref(item) 2014-07-08 13:56:42 +04:00
Denis Ryabov
61b057175f wait 1 minute before start refreshing 2014-07-08 13:16:30 +04:00
Denis Ryabov
43c84cae6c fix logic 2014-07-08 13:03:08 +04:00
Denis Ryabov
3b0294497b now it works 2014-07-08 12:54:36 +04:00
Miguel Freitas
0c03bb2ff2 win32 has no pthread_self 2014-07-07 22:45:29 -03:00
Miguel Freitas
ec2694bf0d win32 doesn't like pid_t 2014-07-07 21:43:02 -03:00
Miguel Freitas
92ea5ff97a merge upstream patch r8983 (merged mingw build fixes from RC_0_16) 2014-07-07 21:29:00 -03:00
Denis Ryabov
dc275c0b29 fix saving of dht item 2014-07-08 01:44:27 +04:00
Denis Ryabov
8429d95dba suggestion for DHT refresh 2014-07-08 01:37:34 +04:00
Miguel Freitas
d49d5fc4e3 additional mingw libs 2014-07-07 09:22:23 -03:00
miguelfreitas
5f3bcf2d11 Merge pull request #232 from dryabov/master
faster DHT refresh
2014-07-06 19:15:00 -04:00
miguelfreitas
dc9af2802b Merge pull request #234 from djmaze/docker-fixes
Docker fixes
2014-07-06 18:29:25 -04:00
Martin Honermeyer
99cb2fa99b Fix twister-on-docker script for bash compatibility 2014-07-06 14:28:18 +02:00
Martin Honermeyer
b6ca41f833 clean up Docker documentation, add sudo to the the commandlines 2014-07-06 14:09:18 +02:00
Denis Ryabov
6c4c656be4 faster DHT refresh 2014-07-05 16:13:41 +04:00
Miguel Freitas
2d96c08f49 no boost-locale in android? at least not here. 2014-07-04 12:58:10 -03:00
Miguel Freitas
6cae25e7ab fix dht count when using proxy (fix #231) 2014-07-04 08:44:26 -03:00
Miguel Freitas
2168e34677 miniupnp dependency removed, yes! :-) fix #130
libtorrent implements a upnp client: use it to map the other twisterd port.
2014-07-04 00:03:06 -03:00
Miguel Freitas
e4267649f4 replace showmyip.com (down) with wtfismyip.com 2014-07-03 23:49:32 -03:00
miguelfreitas
3f219948da Merge pull request #229 from djmaze/change-docker-image-to-miguelfreitas
change pre-built docker image to the one from miguelfreitas
2014-07-03 14:45:04 -04:00
Martin Honermeyer
7b5bf210ac change pre-built docker image to the one from miguelfreitas 2014-07-03 20:24:55 +02:00
miguelfreitas
f68a2ed72f Merge pull request #228 from djmaze/docker-integration
Show credentials for http auth in twister-on-docker output
2014-07-03 13:44:24 -04:00
Martin Honermeyer
5f8fbe7093 show credentials for http auth in twister-on-docker output 2014-07-03 19:23:59 +02:00
miguelfreitas
e15a0b17bb Merge pull request #203 from djmaze/docker-integration
Add improved Dockerfile with wrapper script for seamless upgrades
2014-07-03 10:11:55 -04:00
Martin Honermeyer
915bebd288 [docker] Use twisterd commandline as ENTRYPOINT instead of CMD
- allows running the container with additional command line parameters
2014-07-03 00:31:49 +02:00
Martin Honermeyer
6fd09eba18 Rename docker-container script to twister-on-docker 2014-07-02 21:00:14 +02:00
Martin Honermeyer
9eaf6ebc3b Pull the newest image before running Twister from the remote docker image 2014-07-02 21:00:14 +02:00
Martin Honermeyer
2689a5af88 Add improved Dockerfile with wrapper script for seamless upgrades 2014-07-02 21:00:14 +02:00
Miguel Freitas
7f0f1a96af more consistency checks to dhtproxy (client) 2014-07-02 09:02:24 -03:00
Miguel Freitas
505e4c80d5 0.9.22 2014-07-01 23:25:32 -03:00
Miguel Freitas
aac651390f if dhtproxy is enabled we may need to manually obtain peer lists from trackers 2014-07-01 23:22:35 -03:00
Miguel Freitas
db62634635 return the peer list received from the tracker in dhtget 2014-07-01 21:44:43 -03:00
Miguel Freitas
5c203adea3 apply upstream fix by Arvid
http://sourceforge.net/p/libtorrent/code/10056/
2014-07-01 08:24:07 -03:00
Miguel Freitas
17641de17a Revert commit in order to apply the upstream fix.
Revert "don't rely on m_connection_ticket: if we have two "on_connect" in a row,"
This reverts commit 241291be70.
2014-07-01 07:59:47 -03:00
Miguel Freitas
241291be70 don't rely on m_connection_ticket: if we have two "on_connect" in a row,
without their "on_connected" in between, the shared variable doesn't work
since the first ticket is lost. the result is a pending timeout which is
never canceled (done called with -1) and libtorrent crashes.
2014-06-29 21:47:35 -03:00
Miguel Freitas
0385f0d875 this hack was wrong. lets fix it properly this time... 2014-06-29 21:43:22 -03:00
Miguel Freitas
7474196b44 require http authentication for static html pages as well.
should help browsers being less confused than just requiring it for RPC.
2014-06-28 08:26:56 -03:00
Miguel Freitas
025c061415 dhtput should have a higher cost, as it lacks active limit check. 2014-06-27 21:11:56 -03:00
Miguel Freitas
e52f2c2527 dhtproxy: tunnel DHT traffic into TCP connections 2014-06-26 16:38:43 -03:00
Miguel Freitas
068a43211a less verbose by default 2014-06-25 19:23:29 -03:00
Miguel Freitas
0bd6bc4807 remove deprecated putData function from libtorrent 2014-06-25 18:42:33 -03:00
Miguel Freitas
5af649a58a add consistency checks to node_impl::putDataSigned and a flag to mean that locally generated content should be kept for periodic refresh. 2014-06-25 17:47:44 -03:00
Miguel Freitas
7651134016 move dhtput signing to outside libtorrent.
old function (ses->dht_putData) is likely to be removed, i can't think of any use for it right now.
2014-06-25 16:28:50 -03:00