Eric Frias
bc4361bf64
Merge branch 'phoenix' into tcp_rate_limiting
...
Conflicts:
include/fc/network/tcp_socket.hpp
src/network/tcp_socket.cpp
2014-05-08 09:04:45 -04:00
Eric Frias
b8a7531eab
Fix error message printed when unable to deserialize a json object, improve
...
logging of return values and add logging of exceptional returns from
json function calls. Continue my endless quest to break the mac build.
2014-05-06 17:20:04 -04:00
Daniel Larimer
3ac07ddbf5
updates
2014-05-04 14:26:36 -04:00
Daniel Larimer
6532839938
fix apple build
2014-05-02 14:09:29 -04:00
Eric Frias
aa111510f3
Expose enough functions in tcp_socket and tcp_server to allow listening and originating connections on the same port. So far, this seems to work on win32, other platforms untested.
...
Add a local_endpoint() function so we can find out which local interface a socket is bound to
2014-05-01 14:02:49 -04:00
Eric Frias
00edd3958c
Remove accidentally-committed garbage
2014-04-30 10:56:51 -04:00
Eric Frias
19f2869490
Disable keepalives on old clang compiler used for nightly
...
until we can upgrade it
2014-04-30 10:52:16 -04:00
dnotestein
7672754c51
add some minor comments
2014-04-26 18:02:31 -04:00
Daniel Larimer
07affde1f2
Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
2014-04-25 15:17:10 -04:00
Daniel Larimer
9301771405
enhance error message in variant
2014-04-25 15:17:06 -04:00
Eric Frias
9731fac9f3
Fix error parsing a numeric constant at the end of file
2014-04-22 18:35:36 -04:00
Eric Frias
c3ea6cc62c
Assert to warn when calling unimplemented functions
2014-04-22 18:35:36 -04:00
Eric Frias
cd34f696ce
- Add four-argument version of json-rpc call function
...
- fix bug in json parser that prevented correct parsing of
a true/false/null at the end of input
- prevent infinite recursion in a json helper function
2014-04-21 14:34:46 -04:00
Eric Frias
06df18c690
More work towards rate-limited TCP sockets
2014-04-17 19:39:15 -04:00
Eric Frias
f0633f8022
Merge branch 'phoenix' into tcp_rate_limiting
2014-04-17 16:18:22 -04:00
Eric Frias
ce7139c073
Start of work towards throttling TCP connections
2014-04-17 12:00:52 -04:00
Eric Frias
7849cc7ada
Get keepalive code building on os x
2014-04-15 13:40:19 -04:00
Eric Frias
c63e598497
Fix a race that occurred when notifying a thread that was blocked on a
...
promise to wake up, but that thread simultaneously awoke for another
reason (probably a timeout)
2014-04-14 16:27:08 -04:00
Daniel Larimer
ac0f01843f
fix build on osx by disabling some keepalive params
2014-04-11 17:06:57 -04:00
Eric Frias
85a9da6f27
Add to tcp_socket to enable TCP keepalives
2014-04-09 18:38:52 -04:00
Eric Frias
07c861cca9
Add missing includes for VC12
2014-04-07 16:46:27 -04:00
Eric Frias
8bdc6fd219
Colorize fc log messages on win32
2014-04-06 18:06:43 -04:00
Eric Frias
3d02e3bc00
Wrap OpenSSL's random number generator in fc clothing
2014-04-02 08:54:13 -04:00
Eric Frias
2e5fdf952c
Add a new version of tcp_socket::connect_to() that allows you to set the source port
...
(working, but not yet useful because we'll need to set SO_REUSEADDR)
2014-04-02 08:54:13 -04:00
Eric Frias
061007ee29
In debug builds, set the thread name in the debugger to match the name given to fc::thread ctor
2014-04-01 16:56:11 -04:00
Eric Frias
f791cba36b
Fix Keyhotee hang when setting system clock back bug
2014-04-01 15:22:53 -04:00
Eric Frias
5543044bd3
Collect time of git commit for display in Keyhotee, add function for pretty-printing times
2014-03-31 16:10:52 -04:00
dnotestein
10127a854c
Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
...
Conflicts:
src/crypto/elliptic.cpp
2014-03-30 18:32:20 -04:00
dnotestein
f09c91f878
added hash64 function that uses sha256 to replace city_hash in blockchain and message protocol-related hashing
2014-03-30 14:16:33 -04:00
Daniel Larimer
5f9dfa9a42
update http code
2014-03-27 19:53:40 -04:00
Daniel Larimer
3c59eebe92
Update HTTP server api to specify network interface
2014-03-27 01:55:52 -04:00
Daniel Larimer
987568e31b
update apis
2014-03-27 01:09:08 -04:00
Daniel Larimer
e2fb6eb5be
Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
2014-03-21 01:14:12 -04:00
Daniel Larimer
51a3d1126f
fix console
2014-03-21 01:14:01 -04:00
alt
7506790bee
filesystem::rename() can handle file from cross device
2014-03-20 09:27:32 +08:00
Daniel Larimer
b83a49298e
adding extra to_string
2014-03-11 11:29:29 -04:00
Eric Frias
e04d544016
Remove erroneous assert in fc::thread_d::check_for_timeouts()
...
I believe this assert was being triggered when the only task on
a thread did a fc::usleep (it might only have been when the
sleep was of very short duration).
2014-03-10 17:37:38 -04:00
Eric Frias
fdbaf88e5e
Provide a way to intercept Win32 structured exceptions in async tasks
...
Something about the stacks created by boost::context prevents global structured exception handlers
from being called. This allows the user to register a handler which will be called when there
is an unhandled structured exception in async task.
2014-03-08 18:48:19 -05:00
vogel76
163be8a6d0
[BW]: [NIP] Added public_key::to_base58 text conversion to simplify contact display_name generation at bts side.
2014-03-03 11:31:08 +01:00
Daniel Larimer
ecba7c5076
Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
2014-02-27 23:35:27 -05:00
Daniel Larimer
4b2d221c05
fix ecc point seralization
2014-02-27 23:35:24 -05:00
dnotestein
503b9033e8
fix infinite loop in windows when trying to read json variant from empty file
2014-02-27 21:56:46 -05:00
BrownBear
46bfcfe74d
added missing files: romix.[hc]pp
2014-02-27 12:37:23 +01:00
BrownBear2
49ff83922b
added romix kdf and cfb for aes
2014-02-26 12:05:17 +01:00
Tzadik Vanderhoof
0761d32d01
safer sha256 binary constructor
2014-02-24 02:08:48 -05:00
Tzadik Vanderhoof
57769e4df9
BSX-21 Import Bitcoin Private Key from String
2014-02-24 00:47:00 -05:00
Daniel Larimer
c7baf276a1
scrypt code does not compile with clang
2014-02-21 15:10:34 -05:00
batmaninpink
1b8b4da925
fix scrypt-jane OS X compile
2014-02-21 20:57:04 +01:00
Daniel Larimer
cfb2356ab2
remove script which doesn't build on OS X
2014-02-20 22:00:10 -05:00
batmaninpink
1e509fa1a9
added support for scrypt key derivation needed for multibit wallet support
2014-02-18 08:59:17 +01:00