Commit Graph

3155 Commits

Author SHA1 Message Date
Miguel Freitas
67f3cd7ba5 set/get preferred spam language 2015-04-19 13:53:48 -03:00
Miguel Freitas
374364b9d6 0.9.29 2015-04-10 08:07:42 -03:00
Miguel Freitas
06fbea6da9 update registration network with the new external IP we learned from DHT peers 2015-04-10 08:03:03 -03:00
Miguel Freitas
04384df7c4 report the two local/external addresses we know about (which should be the same)
in 'getinfo' rpc. i believe this should help debugging dht connectivity problems
when we change networks, or router gets a new ip etc.
2015-04-08 22:24:56 -03:00
Chuck LeDuc Diaz
557edad77d Use cppcheck 2015-04-01 23:01:59 +02:00
miguelfreitas
7afa7dbf05 Merge pull request #320 from AMDmi3/warning-fix
Don't return NULL as bool, fixes warning
2015-03-08 11:26:18 -03:00
Dmitry Marakasov
a403124c9e Don't return NULL as bool 2015-03-07 07:01:38 +03:00
Dmitry Marakasov
cfe8f14c91 Actually include sys/endian.h for le32enc/le32dec
While here, fix a typo
2015-03-07 06:41:53 +03:00
Michael.X
02086a0f01 fix memory size bug 2015-01-31 22:10:06 -04:00
Miguel Freitas
11cd6a47b1 fix #309 2015-01-24 16:57:03 -02:00
Miguel Freitas
1f748f78c3 be more tolerant to detect outdated blockchain.
the main problem with running libtorrent with an outdated blockchain is to
refuse posts that are signed by new users. given this is only a temporary
state (and most of users are older than a day anyway) it is better to
be more tolerant instead of freezing up everything.
2015-01-02 14:59:58 -02:00
Miguel Freitas
cbac6d7c5e different id names per platform 2014-12-26 21:57:31 -02:00
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