3193 Commits

Author SHA1 Message Date
Miguel Freitas
f199d3bde4 use $HOME in android build recipe 2014-12-26 21:56:42 -02:00
Miguel Freitas
6115190f44 new rpc dhtputraw 2014-12-22 19:33:48 -02:00
Miguel Freitas
fa74424399 fix #303 2014-12-20 11:23:31 -02:00
Miguel Freitas
da21c0a2e4 rpc for development only - generates crypto testvector 2014-12-19 19:41:02 -02:00
Miguel Freitas
aeafa6ec15 new dns seeder 2014-12-05 19:02:37 -02:00
Miguel Freitas
0f5ea415a2 params update 2014-12-04 17:25:18 -02:00
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
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
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
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
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
Denis Ryabov
c5c7cde4a0 Update twister.cpp
More checks to be sure DM is in new format
2014-10-30 14:09:07 +03: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
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
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
Miguel Freitas
4d43c08a5b ignore far-future message in getposts 2014-09-21 11:35:52 -03:00
miguelfreitas
00b67caea4 Merge pull request #260 from dryabov/search
add search method
2014-09-21 09:47:26 -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
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
Denis Ryabov
4e47b5666e filter directmsgs by age 2014-09-02 13:20:18 +04:00
Denis Ryabov
2706e713a0 fix case-insensitive search 2014-09-02 12:50:15 +04:00
Denis Ryabov
0a25bdead9 fix description 2014-09-02 11:55:43 +04:00
Denis Ryabov
ecb13bbd0e fix access to stack var 2014-09-02 11:49:19 +04:00
Denis Ryabov
ace69ca57e ;;->; 2014-09-02 02:07:46 +04:00
Denis Ryabov
080ac30468 improve search 2014-09-02 02:07:27 +04:00
Denis Ryabov
c500409517 future-friendly filter ("not dm" instead of unclear "rt AND NORMAL") 2014-08-27 01:05:15 +04:00
Denis Ryabov
ab48764e38 add search method 2014-08-27 01:03:37 +04:00
Denis Ryabov
171fef62c5 add aging for hashtags 2014-08-21 13:24:55 +04:00
Miguel Freitas
c7e35d86a2 dont assume the DHT item storage is confirmed just because we got some results back,
compare the contents instead. should improve reliability of mentions.
2014-08-18 19:37:32 -03:00
Miguel Freitas
38052af55d handle block db inconsistency more nicely 2014-07-28 15:58:33 -03:00
Miguel Freitas
3b0633fad4 global dht traffic seems too high: implement probabilistic refresh for users that post too much.
this should reduce the traffic for now but me may want to tweak these settings later.
the most recent posts are priorized regardless of how much the user posts.
2014-07-19 12:38:04 -03:00