Commit graph

1176 commits

Author SHA1 Message Date
Eric Frias
e5a5323642 When formatting doubles as strings, use 17 digits of precision to ensure they are read back in without loss (up from 12 digits).
Add a mode to the JSON parser to parse all real numbers into strings, so we can later parse them into doubles or another fixed/floating point format to preserve as much precision as needed
2015-06-12 11:05:52 -04:00
Daniel Larimer
dde8ed9d7a update default ecc implementation 2015-06-12 09:50:56 -04:00
Daniel Larimer
5c927d5df1 Merge branch 'master' of https://github.com/cryptonomex/fc 2015-06-12 09:49:44 -04:00
Daniel Larimer
3a392eba51 adding typdefs and exta testing 2015-06-12 09:49:40 -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
8087aa66d0 removing AGPL code 2015-06-11 09:10:12 -04:00
Daniel Larimer
a824aa04a9 Mapping blinding crypto to fc ecc api 2015-06-10 18:34:19 -04:00
Daniel Larimer
969768cdd5 Merge branch 'master' of https://github.com/cryptonomex/fc 2015-06-10 12:54:13 -04:00
Daniel Larimer
68410f35fe defining new api calls 2015-06-10 12:54:12 -04:00
Nathan Hourt
80366e4346 Add missing time_point_sec operator overloads 2015-06-10 10:18:33 -04:00
Nathan Hourt
1bbb748c4e Optimize deque to/from variant 2015-06-04 10:42:59 -04:00
theoreticalbts
0ad91391c7 variant.hpp: Prettify includes 2015-06-01 17:13:51 -04:00
theoreticalbts
b391ecb4c7 deque: Add std::deque to serialization / reflection 2015-06-01 17:13:51 -04:00
Daniel Larimer
eb649ce89e Merge branch 'master' of github.com:BitShares/fc 2015-05-29 12:11:25 -04:00
Daniel Larimer
01445529f0 handle messages async 2015-05-29 12:11:21 -04:00
theoreticalbts
af636c10a2 Add data_size() member to hash classes 2015-05-28 10:23:27 -04:00
Daniel Larimer
2d5f89bd17 Merge branch 'master' of github.com:BitShares/fc 2015-05-28 08:43:47 -04:00
Daniel Larimer
994c4097fa fix build 2015-05-28 08:43:43 -04:00
Nathan Hourt
d0b4b64923 Remove log spam 2015-05-27 16:15:49 -04:00
Nathan Hourt
83d5bcb147 Mark websockets as logging to rpc 2015-05-27 15:04:34 -04:00
Nathan Hourt
8012ab4705 Fix crash on exit with websocket_client 2015-05-27 14:54:11 -04:00
Daniel Larimer
637f475e44 parse doubles as strings 2015-05-27 11:26:04 -04:00
Eric Frias
043ead5579 Fix compile with microsoft c++ which still doesn't support noexcept 2015-05-22 16:15:00 -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
Daniel Larimer
14052a8e46 Merge branch 'master' of github.com:BitShares/fc 2015-05-19 11:40:51 -04:00
Daniel Larimer
2cbb00426c adding ability to get the count of items in a static variant 2015-05-19 11:40:47 -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
71cca4559c adding quotes around large integers 2015-05-18 15:05:25 -04:00
Daniel Larimer
a3c284408e make CLI prompt configurable 2015-05-18 13:40:01 -04:00
Daniel Larimer
135949ee19 large integers are converted to strings in JSON printing 2015-05-15 15:58:47 -04:00
Daniel Larimer
e934e9a9f7 Adding missing file 2015-05-12 18:41:40 -04:00
Daniel Larimer
9ef91e2245 partial fixes to crashing on websocket client close 2015-05-12 17:15:00 -04:00
Daniel Larimer
c28ed38f1a adding support for secure websocket client 2015-05-12 16:16:10 -04:00
Daniel Larimer
fb62b6421c adding ssl support to websocket 2015-05-12 14:50:08 -04:00
Daniel Larimer
e99b4ffea5 Merge branch 'master' of github.com:BitShares/fc 2015-05-12 13:08:04 -04:00
Daniel Larimer
4894219fd6 adding bloom test 2015-05-12 13:07:56 -04:00
Nathan Hourt
be5a67763b Add new min and max methods on safe 2015-05-12 13:06:11 -04:00
Daniel Larimer
812b42dbe6 adding default 2015-05-12 12:59:14 -04:00
Daniel Larimer
4f0919c493 adding sanity checks to string->json parsing 2015-05-12 12:58:47 -04:00
Peter Conrad
d9f6b7a526 Rebase + upgrade to latest libsecp256k1 API 2015-05-07 15:59:21 +02:00
Peter Conrad
a164a55c86 Fixed move constructor + assignment 2015-05-07 14:51:03 +02:00
Peter Conrad
5782fd42af Added missing constructors + pubkey::valid 2015-05-07 14:51:03 +02: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
10897adf1e Hopefully this is more thread-safe 2015-05-07 14:51:03 +02:00
Peter Conrad
d69e67c032 Work around too deterministic nonce 2015-05-07 14:51:03 +02:00
Peter Conrad
1de9a3ba87 Bugfix 2015-05-07 14:51:03 +02:00
Peter Conrad
66e6475600 Fixed wording 2015-05-07 14:51:02 +02:00
Peter Conrad
abab7617c8 Minor fixes 2015-05-07 14:51:02 +02:00
Peter Conrad
2f383f078f More refactoring 2015-05-07 14:51:02 +02:00