Commit Graph

5096 Commits

Author SHA1 Message Date
Miguel Freitas
b8e264f4d1 0.9.28: better enforcement of DHT upload rate limit for non-locally generated requests.
the limit applies to: DHT replies, refreshes of stored items, checking for status/tracker and proxy server.
local requests (eg. dhtgets from the UI) are excluded from this limit, so user experience is not affected.
in other words: we limit only the band contributed back to twister network for maintenance tasks.

this should improve resilience against some sorts of denial-of-service attacks and also
prevents saturating the uplink as observed recently.
2014-12-04 16:45:43 -02:00
Miguel Freitas
9d3b0744ff 0.9.27 new 'getmentions' api. return known mentions from users we follow.
never miss a mention from your friends anymore! :-)
(twister-html support pending)
2014-11-29 13:20:43 -02:00
miguelfreitas
4019d5cfba Merge pull request #300 from dryabov/bitcoin-ndebug
Fix support of NDEBUG
2014-11-28 16:42:23 -02:00
miguelfreitas
6e86ec1fa0 Merge pull request #299 from dryabov/patch-8
Process "Connection: close" header in non-JSON requests
2014-11-28 16:41:28 -02:00
miguelfreitas
da7a099f04 Merge pull request #298 from dryabov/patch-7
Support double hashtags (and double mentions) in newpostmsg
2014-11-28 16:40:59 -02:00
Denis Ryabov
07c47b59cc enable NDEBUG define 2014-11-20 20:33:53 +03:00
Denis Ryabov
6de0e2036d fix asserts to support NDEBUG 2014-11-20 19:09:53 +03:00
Denis Ryabov
724d32c852 Process "Connection: close" header in non-JSON requests 2014-11-20 14:20:54 +03:00
Denis Ryabov
23a684f765 Update twister.cpp 2014-11-20 01:30:28 +03:00
Denis Ryabov
5809846532 Support double hashtags (and double mentions) in newpostmsg
See 706f17869b (https://github.com/miguelfreitas/twister-html/pull/202) and 07edcd08a9 (https://github.com/miguelfreitas/twister-core/pull/295)
2014-11-20 01:29:40 +03:00
Miguel Freitas
5379d2a7de Merge branch 'dryabov-libtorrent-status' 2014-11-13 17:08:50 -02:00
Miguel Freitas
3d30b164f0 Merge branch 'libtorrent-status' of github.com:dryabov/twister-core into dryabov-libtorrent-status
Conflicts:
	src/twister.cpp
2014-11-13 17:06:30 -02:00
Denis Ryabov
41cc8385c1 fix type 2014-11-13 19:17:18 +03:00
Denis Ryabov
7271692310 add libtorrent's session status data to getinfo output 2014-11-13 19:08:02 +03:00
miguelfreitas
10eb6abfe0 Merge pull request #295 from dryabov/patch-6
Sync with twister-html/pull/202 (double hashtags)
2014-11-11 17:54:30 -02:00
miguelfreitas
ce897c884d Merge pull request #296 from dryabov/patch-4
Faster shutdown
2014-11-11 17:49:20 -02:00
Denis Ryabov
07edcd08a9 Sync with twister-html/pull/202 (double hashtags)
Sync with https://github.com/miguelfreitas/twister-html/pull/202
2014-11-11 17:42:11 +03:00
Denis Ryabov
5de0706c12 Faster shutdown 2014-11-11 03:17:06 +03:00
miguelfreitas
80a0ffb525 Merge pull request #293 from dryabov/patch-3
Remove NDEBUG option
2014-11-10 20:07:48 -02:00
Denis Ryabov
d473dd482b Remove NDEBUG option
Bitcoin code is crashed (SEGFAULT) being compiled with `-DNDEBUG` option (see https://github.com/bitcoin/bitcoin/blob/master/src/main.cpp#L32)
2014-11-10 23:36:38 +03:00
miguelfreitas
5e85af73fb Merge pull request #291 from TongG/master
Fixed some typos.
2014-11-07 15:24:08 -02:00
Tong Guo
c60855d2a4 Fixed some typo. 2014-11-07 16:22:48 +08:00
Miguel Freitas
fd4bdff636 new seeder 2014-11-06 16:25:05 -02:00
Miguel Freitas
bd49c9fe2a another dns seeder, thanks! 2014-11-05 13:16:21 -02:00
Miguel Freitas
c77c015ef0 more voters 2014-11-05 10:21:38 -02:00
Miguel Freitas
dd9c05e918 updating softcheckpoint voters 2014-11-04 17:24:14 -02:00
miguelfreitas
82f305403c Merge pull request #290 from dryabov/patch-2
More checks to be sure DM is in new format
2014-10-30 09:37:07 -02:00
Denis Ryabov
c5c7cde4a0 Update twister.cpp
More checks to be sure DM is in new format
2014-10-30 14:09:07 +03:00
miguelfreitas
69ad1d73c9 Merge pull request #289 from dryabov/patch-1
Fix Issue #285
2014-10-30 07:56:49 -02:00
Denis Ryabov
85c380ca6e Fix Issue #285
Fix case of msg is successfully "bdecoded", but it is not lazy_entry dictionary actually.
2014-10-30 12:48:56 +03:00
miguelfreitas
94d29f8409 Merge pull request #284 from gubatron/unnecessary-if-statement
unnecessary if statement
2014-10-16 14:20:43 -03:00
gubatron
861e5d8d20 unnecessary if statement 2014-10-16 01:53:53 -04:00
Miguel Freitas
377870f92e trying some new chainparams 2014-09-27 11:08:09 -03:00
Miguel Freitas
8a89202952 0.9.26 2014-09-27 10:58:42 -03:00
Miguel Freitas
6a15c24f6a add padding and random order to DMs copy-to-self 2014-09-27 10:50:15 -03:00
Miguel Freitas
4a0a21550b implement directmessage's copy-to-self to sync DMs between twister instances.
based upon @dryabov patches and long discussion in PR#258, see:
https://github.com/miguelfreitas/twister-core/pull/258/files
2014-09-27 10:29:22 -03:00
miguelfreitas
c1274dcb20 Merge pull request #272 from dryabov/fix_path_utf8_convert
Fix path utf8 convert
2014-09-21 11:54:36 -03:00
miguelfreitas
146a93212c Merge pull request #270 from iShift/patch-3
fix os x path
2014-09-21 11:49:30 -03:00
miguelfreitas
966513220f Merge pull request #267 from catap/hmac_0.9.9
Compability with OpenSSL < 0.9.9
2014-09-21 11:44:58 -03:00
miguelfreitas
f62eae199a Merge pull request #265 from himynameismartin/patch-1
Added C++ syntax highlighting
2014-09-21 11:43:54 -03:00
Miguel Freitas
4d43c08a5b ignore far-future message in getposts 2014-09-21 11:35:52 -03:00
Miguel Freitas
a7e9b67e37 don't accept DHT posts with time in far-future.
(timeline still need to be fixed though)
2014-09-21 11:10:59 -03:00
miguelfreitas
00b67caea4 Merge pull request #260 from dryabov/search
add search method
2014-09-21 09:47:26 -03:00
miguelfreitas
e147c80d9e Merge pull request #262 from dryabov/dht_putdata_size
increase allowed size of putData request
2014-09-21 08:32:51 -03:00
miguelfreitas
f8e92b7302 Merge pull request #257 from dryabov/top_hashtags
add aging for hashtags
2014-09-20 18:57:48 -03:00
Denis Ryabov
edbc39f32f print error messages 2014-09-19 10:54:22 +04:00
Denis Ryabov
261219d30f Windows: fix wrong convertion of path from utf8 to ansi in libtorrent's create_directory (GetDataDir() returns string in correct code page) 2014-09-18 22:36:35 +04:00
iShift
866c993f86 fix os x path 2014-09-15 14:48:52 +04:00
Denis Ryabov
7bdfbdec95 fix time of far-future messages 2014-09-08 02:36:43 +04:00
Kirill A. Korinskiy
606bc30522 Compability with OpenSSL < 0.9.9
HMAC_* don't return error code before 0.9.9. See details here:
87d52468aa
2014-09-07 18:14:19 +02:00