Commit graph

187 commits

Author SHA1 Message Date
Vikram Rajkumar
fe7eed6beb Fix building with Ninja 2015-06-26 11:14:02 -04:00
Scott Howard
1c43f79b16
simplify secp256k1 install and portabillity 2015-06-25 19:34:25 -04:00
Eric Frias
593a32d12a Don't install secp256k1 when building in-source.
The install will refuse to overwrite its own files
and fail, terminating the build.
2015-06-25 14:57:19 -04:00
Eric Frias
9117b724c2 Prevent secp256k1 from autodetecting gmp
If we do allow gmp, we will need to change our CMakeLists.txt files to
detect whether secp256k1's configure detected gmp, and if so, link
gmp into all programs that use fc.  For now I just disabled it entirely,
I don't know whether there's any noticable performance benefit to using
it.
2015-06-25 14:28:01 -04:00
Eric Frias
c3e50476af Don't use the autoconf build system for secp256k1 on Windows 2015-06-25 13:57:10 -04:00
Scott Howard
d2b9e6017f
add include directories for secp256k1 2015-06-24 13:26:06 -04:00
Scott Howard
f6bd3274c4
build secp256k1 seperately 2015-06-24 02:08:17 -04:00
Vikram Rajkumar
701b9ac00c Remove problematic easylzma 2015-06-23 16:19:36 -04:00
Vikram Rajkumar
943fe5150e Remove unused salsa20
See https://github.com/bitshares/bitshares/issues/1089
2015-06-23 15:43:36 -04:00
Vikram Rajkumar
43f3aff577 Remove unused scrypt-jane
See https://github.com/bitshares/bitshares/issues/1016
2015-06-23 15:34:28 -04:00
Eric Frias
dd1c77b327 Fix websocketpp build error on win32 2015-06-17 11:07:09 -04:00
Eric Frias
10e747409c Fix FC win32 compiling (secp256k1 related errors) 2015-06-15 14:38:33 -04:00
Vikram Rajkumar
f7cf9abe55 Add secp256k1-zkp submodule 2015-06-13 15:28:40 -04:00
Daniel Larimer
dde8ed9d7a update default ecc implementation 2015-06-12 09:50:56 -04:00
Vikram Rajkumar
a86608bb9c Disable building broken test 2015-06-11 20:34:24 -04:00
Daniel Larimer
d93744cf79 removing AGPL code 2015-06-11 09:10:38 -04:00
Daniel Larimer
a824aa04a9 Mapping blinding crypto to fc ecc api 2015-06-10 18:34:19 -04:00
Daniel Larimer
637f475e44 parse doubles as strings 2015-05-27 11:26:04 -04:00
Daniel Larimer
ccd14c7260 Merge pull request #4 from pmconrad/libsecp256k1
fc::ecc implementations based on libsecp256k1
2015-05-20 10:30:05 -04:00
Eric Frias
3508e0c034 Add overloads of comparison operators to allow comparison of safe/uint128 and native integer classes 2015-05-19 10:03:03 -04:00
Daniel Larimer
4f0919c493 adding sanity checks to string->json parsing 2015-05-12 12:58:47 -04:00
Peter Conrad
05dee8669f Much refactoring
Fixed Move semantics in openssl impl
Use in-place construction for secp256k1
Swapped implementations in mixed - sign with libsecp256k1, verify with openssl
2015-05-07 14:51:03 +02:00
Peter Conrad
bab3864437 Added mixed implementation, fixed interop test script 2015-05-07 14:51:02 +02:00
Peter Conrad
55c5773a46 Started refactoring 2015-05-07 14:51:02 +02:00
Peter Conrad
20230b761e Added documentation + automated interop test 2015-05-07 14:51:02 +02:00
Peter Conrad
34af5d98ec Intermediate version 2015-05-07 14:49:52 +02:00
Peter Conrad
f17444d90b Added ECC_IMPL switch + interop test 2015-05-07 14:48:00 +02:00
theoreticalbts
80de0987d7 Add readline support to fc::rpc::cli 2015-04-29 16:37:54 -04:00
Peter Conrad
b8341a006e Set Boost_USE_STATIC_LIBS to previous default ON but configurable 2015-04-27 14:57:45 +02:00
Peter Conrad
8e8dd9265a Handle .lib on windows 2015-04-23 21:09:36 +02:00
Peter Conrad
3e7b554f65 Fixed variable case 2015-04-23 21:09:36 +02:00
Peter Conrad
381a1258d1 Disable boost static linking, workaround for BOOST_TEST_DYN_LINK 2015-04-23 21:09:36 +02:00
Daniel Larimer
74b707999c fix bugs with websocket and integrate API support 2015-03-27 16:29:33 -04:00
Daniel Larimer
b8d7d3012d abstracting rpc state 2015-03-26 18:17:47 -04:00
Daniel Larimer
4ce26f068f implement simple websocket wrapper ontop of websocketpp 2015-03-26 16:51:10 -04:00
Daniel Larimer
ee9c2ac4ed api progess 2015-03-09 18:50:20 -04:00
SynaptiCAD User
30e52b6b01 Fix GELF logging to split long messages, use compression 2015-02-22 14:07:05 -05:00
HackFisher
5cfb9fb75c Fix CMake on OSX 10.10 (Can not find ZLIB)
6ddf1639c5

Become ok after revert the position, any comment on this?


```
-- Found OpenSSL: /usr/local/Cellar/openssl/1.0.1i/lib/libssl.a;/usr/local/Cellar/openssl/1.0.1i/lib/libcrypto.a (found version "1.0.1i")
CMake Error at /usr/local/Cellar/cmake/3.1.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.5")
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.1.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:374 (_FPHSA_FAILURE_MESSAGE)
  /usr/local/Cellar/cmake/3.1.0/share/cmake/Modules/FindZLIB.cmake:110 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  libraries/fc/CMakeLists.txt:94 (find_package)
```
2015-01-23 16:37:18 +08:00
Eric Frias
f3065b367e Add log appender that sends logs in GrayLog Extended Log Format 2015-01-20 16:13:26 -05:00
Eric Frias
6ddf1639c5 Relocate zlib detection for fc 2014-12-22 17:54:05 -05:00
Daniel Larimer
cb66666edd Merge branch 'master' of github.com:BitShares/fc 2014-12-10 22:58:53 -08:00
Daniel Larimer
a4a90fac05 Update to elliptic curve signature verification 2014-12-10 22:43:37 -08:00
valzav
0e4aeb135a links zlib on mac if found 2014-11-26 10:34:31 -05:00
Vikram Rajkumar
5dbab6ba11 Disable scrypt-jane compilation due to problems with Clang 2014-11-19 14:40:02 -05:00
Nathan Hourt
c3a6b40188 Test and bugfix real128 2014-10-15 17:53:50 -04:00
Daniel Larimer
b55ae3431a adding real 128 for fixed point 64.64 math 2014-10-15 17:00:49 -04:00
Eric Frias
6cddd42cfe On windows, change the method we use for getting the home directory and app data directory to get it in unicode form. Partial fix for BitShares/bitshares_toolkit#791 2014-09-20 19:15:28 -04:00
Eric Frias
751777e754 Fix more locations where we were making boost::asio calls with buffers declared on the stack which could cause problems when the calling tasks were canceled. 2014-09-11 16:30:03 -04:00
Eric Frias
8841f5e271 Import thread/task_specific variables 2014-08-27 12:20:19 -04:00
Eric Frias
362884fc52 Import GNTP notification code 2014-08-21 15:21:48 -04:00