Commit graph

304 commits

Author SHA1 Message Date
Valera Cogut
c9d95c0c9a Safer way to handle unlock command of cli_wallet #1171 2018-10-25 00:01:43 +03:00
Peter Conrad
afcb1e3543 Moved do_parallel to fc::thread-based worker pool implementation 2018-10-03 21:25:10 +02:00
cwyy
650c0a3c62 fix hardcode of OPENSSL_CONF_SOURCE in CMakeLists.txt 2018-07-05 17:56:45 +08:00
cwyy
ac982cae2a fix compile error with vs2017 and boost 1.67 2018-06-30 14:10:38 +08:00
Alfredo Garcia
64aa56559d
Remove fc bz2 unused linkage 2018-05-30 21:59:06 -03:00
Peter Conrad
0fc569cbfc Remove unused "smaz" compression 2018-05-29 16:36:31 +02:00
Abit
51688042b0
Merge pull request #38 from jmjatlanta/Issue_727c
Add Boost::Stacktrace to Bitshares
2018-04-26 12:39:34 +02:00
Abit
000ef9a118
Merge pull request #36 from jmjatlanta/boost_1.66
Upgrade to Boost 1.65
2018-04-26 12:37:17 +02:00
lubos.ilcik
b4fac94858 fix incorrect project_editline-build path 2018-04-18 13:54:20 +02:00
John Jones
a6738e3265 Added boost stacktrace to segfault handler 2018-04-09 08:11:38 -05:00
John Jones
652389644c removed boost_1.51 and interprocess class 2018-03-28 11:38:20 -05:00
Abit
4441e14807
Merge pull request #32 from bitshares/abitmore-patch-1
Remove -std=c++14 flag from CMakeLists.txt
2018-03-27 18:51:39 +02:00
abitmore
6dc06cd598 Skip editline when building in MSVC 2018-03-27 04:08:42 -04:00
Abit
91d294feca
Remove -std=c++14 flag from CMakeLists.txt 2018-03-25 20:27:09 +02:00
Peter Conrad
fca5058464
Merge branch 'master' into sanitize 2018-03-13 21:39:40 +01:00
Abit
5f6e4d8523
Merge pull request #16 from bitshares/editline-build
Build editline
2018-03-07 20:51:30 +01:00
Abit
ebdb5eacea
Correctly set default C++ standard to c++11 2018-03-06 20:37:23 +01:00
abitmore
d33092f86c More changes on cmake file for editline 2018-03-06 13:47:45 +00:00
abitmore
4258f4f98b Update cmake file for editline 2018-03-06 13:41:40 +00:00
abitmore
ade96c1213 Build editline
TODO: the cmake script is copied from the secp256k1 part in the
      same file, may need to review/fix the MSVC and MinGW part.
2018-03-05 00:48:11 +00:00
John Jones
abb4b9b0ab Added editline as submodule 2018-02-20 15:18:47 -05:00
Anton Autushka
7d7872cb7b some minor fixes 2018-02-06 15:37:14 +03:00
Vikram Rajkumar
cb627980a5 Remove unused CyoEncode and Base32
5c466150ec
2017-06-04 18:13:13 -05:00
Vikram Rajkumar
680731ef1b Remove equihash 2017-06-01 16:11:35 -05:00
Vikram Rajkumar
453b3de77e Better fix for Clang 4+ 2017-04-26 12:20:58 -05:00
Vikram Rajkumar
91af0e7edb Fix compilation on Clang 4+ 2017-04-26 11:58:32 -05:00
Vikram Rajkumar
1f41494f36 Merge branch 'master' of github.com:steemit/fc 2017-03-18 11:38:57 -05:00
Vikram Rajkumar
0d0b485f3a Remove GNTP (unrelated to NTP) 2017-03-16 12:33:30 -05:00
Vikram Rajkumar
fe82998021 Remove NTP 2017-03-16 12:29:57 -05:00
Michael Vandeberg
c1a0dca92f Refactor to use cmake build options #9 2017-01-25 11:16:52 -05:00
Nathan Hourt
ca9a6977d9 Add cryptonomex's custom secp256k1 to install on non-Windows
This should be done on Windows too, but I don't know how and I don't
have a Windows test box anyways.
2017-01-04 15:09:56 -06:00
Nathan Hourt
159daffb25 Fix installation
FC now installs properly with a `make install`
2017-01-04 15:09:50 -06:00
Nathan Hourt
5e83b581c0 Prevent websocketpp from polluting installs
When clients of fc (such as graphene) do an install (via `make install` or similar), websocketpp was installing as well. This commit prevents this from happening.
2017-01-04 15:09:46 -06:00
Daniel Larimer
b07f429556 remove udt and make websocketpp includes public 2017-01-03 15:13:22 -05:00
Michael Vandeberg
50dbc2b139 Add equihash 2016-11-16 11:23:33 -05:00
Michael Vandeberg
0e5a4fea68 Remove rapid JSON dependency 2016-10-27 12:52:44 -04:00
Daniel Larimer
ee6ee27290 clean up tests and add some utility methods 2016-10-24 17:44:53 -04:00
Daniel Larimer
0ace4298c5 adding interprocess lock 2016-10-10 17:16:57 -04:00
theoreticalbts
0d7916b7c2 Handle zlib / bzip2 not found 2016-09-29 14:55:09 -04:00
theoreticalbts
b28e998a84 Allow CPP_STANDARD to be overridden 2016-09-29 14:43:18 -04:00
theoreticalbts
86e1cb83db Link with zlib and bzip2 libraries, if found
These libraries are not required by FC. However, the only way I've found to get CMake to pass them to the linker
in an order which will allow steemd to successfully link, is to put them in FC's CMakeLists.txt.
2016-09-28 14:37:35 -04:00
theoreticalbts
f3e69d81a9 sha256: Implement and test clz(), approx_log_32() 2016-08-11 12:10:14 -04:00
Daniel Larimer
de9a29c33e Progress toward binary RPC" 2016-07-30 19:24:15 -04:00
arhag
67fe2cfe16 Changes to secp256k1 build that should speed up hash rate on Windows 2016-05-26 15:45:51 -04:00
arhag
66d4b0841d Changes to fc to get MinGW cross-compilation working 2016-05-22 01:33:19 -04:00
theoreticalbts
56e36bed8f Revert "Update the websocketpp library and change the configuration options we pass"
This reverts commit d5370fc2ea.
2016-04-19 22:58:39 -04:00
Eric Frias
d5370fc2ea Update the websocketpp library and change the configuration options we pass
when creating the websocket servers to enable deflate compression on
websocket frames.  This is relevant to cryptonomex/graphene#540 because
the spammed data is higly compressible.  In my tests, it reduces bandwidth
for a single idle node by a factor of ~16, from 577kbps down to 36kbps.
This doesn't require any changes to the wallets, simply upgrading the
public servers will begin sending compressed data to all clients that
support it.
Note: this commit adds a dependency on zlib for non-apple platforms
(it was already required on apple)
2016-03-03 16:53:43 -05:00
theoreticalbts
9128edb0d6 websocketpp: Define BOOST_ASIO_HAS_STD_CHRONO to fix clang compile 2016-01-12 15:34:36 -05:00
theoreticalbts
ad7ecbf061 Build with WEBSOCKETPP_STRICT_MASKING 2015-12-04 11:41:33 -05:00
Eric Frias
2b2dfc62fc Win32 compile fixes (replace nonstandard runtime-sized auto arrays with alloca) 2015-10-05 12:09:35 -04:00
Daniel Larimer
7e32df4978 Merge pull request #46 from pmconrad/blinding
Blinding a la Oleg Andreev
2015-10-01 09:55:28 -04:00
Peter Conrad
a9364db96b Refactored + extended websocket test 2015-08-30 22:15:20 +02:00
Peter Conrad
899a5c489b Added tests for UTF-8 2015-08-23 22:15:47 +02:00
Peter Conrad
9b37e72140 Added simple randomness test (Wald–Wolfowitz runs) 2015-07-30 18:37:44 +02:00
Peter Conrad
bfa1433cdd Added test for diffie-hellmann key exchange 2015-07-30 17:42:20 +02:00
Peter Conrad
d67c18f6c3 Fixed shift in hashes + more tests 2015-07-29 23:22:34 +02:00
Peter Conrad
0f67ca751e Implemented extended keys 2015-07-29 20:59:32 +02:00
Peter Conrad
31437bd248 Started with SHA test cases 2015-07-27 23:05:39 +02:00
Peter Conrad
8e514128b6 Added blowfish tests 2015-07-27 21:23:15 +02:00
Peter Conrad
0b9066ae48 Added bigint test cases 2015-07-27 21:23:15 +02:00
Peter Conrad
0e681dfb1c Added tests for base_n encodings, fixed base32 + base36 2015-07-27 21:23:15 +02:00
Peter Conrad
19b6de0e24 Created tests/* subfolders 2015-07-27 21:23:15 +02:00
Peter Conrad
ca896b2c85 More refactoring 2015-07-27 21:23:15 +02:00
Peter Conrad
5f4ff1aa21 More tests refactored 2015-07-27 21:23:15 +02:00
Peter Conrad
dda63f4fc8 Refactored tests, fixed AES test 2015-07-27 21:23:15 +02:00
Peter Conrad
39b47c36f0 Re-enabled + refactored compress test, added zlib test case 2015-07-27 21:23:15 +02:00
theoreticalbts
7bd47af88e rpc: Move many method implementations from headers to cpp files 2015-06-30 15:54:29 -04:00
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