1
0
Fork 0
forked from lthn/blockchain
Commit graph

32 commits

Author SHA1 Message Date
cryptozoidberg
e4aef3f036
Implemented encryption stream 'sink' 2020-08-18 21:54:23 +02:00
sowle
1441b5b27f
seed phase improvements: 26 words + checksum + auditable wallets support 2020-05-02 23:59:37 +03:00
sowle
bb9aa4bd69
stream_cn_hash: buffer moved from the stack to the heap 2020-03-27 00:11:06 +03:00
sowle
18fa6d8d7c
stream_cn_hash introduced 2020-03-11 13:58:10 +03:00
sowle
f298afde10
crypto: ge_scalarmult_p3 implemented (scalar multiplication returning point in ge_p3 format) 2020-02-14 01:57:31 +03:00
cryptozoidberg
a5c02c7d8c
improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
sowle
d742e6ea2d
crypto: safety improvement: use PRNG manipulation from Boolberry, explicitly require USE_INSECURE_RANDOM_RPNG_ROUTINES defined for using it 2019-09-11 13:35:40 +03:00
sowle
007769124a made crypto_ops::validate_key_image exception safe 2019-05-23 05:07:59 +03:00
sowle
24b3785a44 crypto_assert introduced to ensure runtime safety 2019-05-21 21:22:30 +03:00
sowle
33a002982e formatting/whitespace fixes 2019-05-21 19:53:20 +03:00
0x914409F1
950f9c16f6 Coverity (#28)
* stratum_server: resolve CID 210144 (UNINIT_CTOR)

* stratum_server: resolve CID 210042/210085/210104 (UNCAUGHT_EXCEPT)

The potential to throw exists within the logger,
remove_blockchain_update_listener, and any paths involving the logger
(including CATCH_ENTRY_*).

* epee: misc_log_ex: create CATCH_ENTRY_NO_RETURN macro

A temporary substition for what I hope will eventually be a full-fledged
exception-dispatcher (class-based, not macro).

* stratum_server: resolve CID 210080/210084/210089 (UNCAUGHT_EXCEPT)

The potential to throw exists within the logger,
remove_protocol_handler, and any paths involving the logger
(including CATCH_ENTRY_*).

* epee: levin_protocol_handler_async: resolve CID 210140/210182/210165 (UNCAUGHT_EXCEPT)

The potential to throw exists within guarded_critical_region_t, and any
paths involving the logger (including CATCH_ENTRY_*).

* epee: levin_protocol_handler_async: resolve CID 210110/210119/210155 (UNCAUGHT_EXCEPT)

The potential to throw exists within the logger, del_connection, and any
paths involving the logger (including CATCH_ENTRY_*).

* epee: misc_log_ex: move macros to *top* of file

so they can be used *within* this file.

* daemon: resolve CID 210069/210092/210166 (UNCAUGHT_EXCEPT)

The potential to throw exists within log_space, and any paths involving
the logger (including CATCH_ENTRY_*).

* daemon: return cstdlib proper types in main

* simplewallet: resolve 6 different CIDs (UNCAUGHT_EXCEPT)

CID: 210082
CID: 210086
CID: 210096
CID: 210147
CID: 210149
CID: 210150

The potential to throw exists throughout various paths in main.

* simplewallet: return cstdlib proper types in main

* simplewallet: resolve CID 210128/210160 (UNCAUGHT_EXCEPT)

The potential to throw exists within various paths, and any paths
involving the logger (including CATCH_ENTRY_*).

* conn_tool: resolve 5 different CIDs (UNCAUGHT_EXCEPT)

CID: 210038
CID: 210047
CID: 210108
CID: 210122
CID: 210157

The potential to throw exists throughout various paths in main.

* conn_tool: return cstdlib proper types in main

* miniupnp_helper: resolve CID 210050 (UNCAUGHT_EXCEPT)

The potential to throw exists within deinit, including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: profile_tools: resolve CID 210055 (UNCAUGHT_EXCEPT)

The potential to throw exists within boost microsec_clock::localtime(),
and any paths involving the logger (including CATCH_ENTRY_*).

* db_backend_lmdb: resolve CID 210056/210133 (UNCAUGHT_EXCEPT)

The potential to throw exists within close(), including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: misc_log_ex: resolve CID 210060/210124 (UNCAUGHT_EXCEPT)

The potential to throw exists within several paths, including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: misc_language: resolve 4 CIDs (UNCAUGHT_EXCEPT)

CID: 210064
CID: 210093
CID: 210136
CID: 210139

The potential to throw exists within m_func(), including any paths
involving the logger (including CATCH_ENTRY_*).

* db_abstract_accessor: resolve 4 CIDs (UNCAUGHT_EXCEPT)

CID: 210072
CID: 210094
CID: 210116
CID: 210141

The potential to throw exists within m_cache.clear(), including any
paths involving the logger (including CATCH_ENTRY_*).

* epee: net_helper: resolve CID 210100 (UNCAUGHT_EXCEPT)

The potential to throw exists within shutdown(), including any
paths involving the logger (including CATCH_ENTRY_*).

* epee: syncobj: resolve CID 210123 (UNCAUGHT_EXCEPT)

The potential to throw exists within unlock(), including any
paths involving the logger (including CATCH_ENTRY_*).

* epee: profile_tools: resolve CID 210145/210154 (UNCAUGHT_EXCEPT)

The potential to throw exists within various paths, including any paths
involving the logger (including CATCH_ENTRY_*).

* epee: http_base: resolve CID 210176 (UNINIT_CTOR)

* p2p: net_node: resolve CID 210173 (UNINIT_CTOR)

* epee: net_helper: resolve CID 210138 (UNINIT_CTOR)

* p2p: net_peerlist: resolve CID 210137 (UNINIT_CTOR)

* currency_basic: resolve CID 210117 (UNINIT_CTOR)

* epee: abstract_tcp_server2: resolve 3 CIDs (UNINIT_CTOR)

CID: 210040
CID: 210090
CID: 210105

* simplewallet: resolve CID 210103 (UNINIT_CTOR)

* epee: levin_protocol_handler_async: resolve CID 210091 (UNINIT_CTOR)

* json_archive: resolve CID 210087 (UNINIT_CTOR)

* epee: levin_protocol_handler_async: resolve CID 210073 (UNINIT_CTOR)

* miniupnp_helper: resolve CID 210037 (UNINIT_CTOR)

* crypto: ge_frombytes_vartime: resolve CID 210142 (CHECKED_RETURN)

* wallet2: resolve CID 210041 (CHECKED_RETURN)

* epee: misc_log_ex: resolve CID 210127 (DEADCODE)

* epee: levin_protocol_handler_sync: resolve 3 CIDs (PASS_BY_VALUE)

CID: 210167
CID: 210170
CID: 210180

* p2p: net_node: resolve CID 210065 (PASS_BY_VALUE)

* epee: levin_abstract_invoke2: resolve CID 210049 (PASS_BY_VALUE)

* epee: abstract_tcp_server2: resolve CID 210045 (PASS_BY_VALUE)

* epee: misc_log_ex: add NESTED_*_ENTRY macros

* simplewallet: use NESTED_*_ENTRY in message_writer dtor

* stratum_protocol_handler_config: use NESTED_*_ENTRY in dtor

* stratum_protocol_handler: use NESTED_*_ENTRY in dtor

* lmdb_db_backend: use NESTED_*_ENTRY in dtor

* epee: abstract_tcp_server2: resolve 4 CIDs (UNCAUGHT_EXCEPT)

CID: 210088
CID: 210106
CID: 210164
CID: 210179

The potential to throw exists within various paths, including any
paths involving the logger (including CATCH_ENTRY_*).

* db_abstract_accessor: use NESTED_*_ENTRY in dtor

* miniupnp_helper: use NESTED_*_ENTRY in dtor

* epee: misc_log_ex: use NESTED_*_ENTRY in log_frame dtor

* epee: levin_protocol_handler_async: use NESTED_*_ENTRY in dtors

* epee: net_helper: use NESTED_*_ENTRY in dtor

* epee: profile_tools: use NESTED_*_ENTRY in dtors

* epee: misc_language: use NESTED_*_ENTRY in dtor

* epee: syncobj: use NESTED_*_ENTRY in dtor

* zano: license contact w/ zano.org email instead of sekreta.org email
2019-05-20 11:32:36 +02:00
sowle
b08905c1cc Merge branch 'master' into offsig
# Conflicts:
#	src/currency_core/currency_format_utils.h
#	tests/unit_tests/pow_hash_test.cpp
2019-04-08 01:37:32 +03:00
sowle
d2d1bf5d7a wallet: refactoring for cold-signing process + offline mode + watch-only mode (work in progress) 2019-04-03 12:48:09 +03:00
crypro.zoidberg
cc850cf3c3 Inital integration of progpow 2019-03-25 01:30:20 +01:00
crypro.zoidberg
ad40b37df1 fixed misprint2 2019-03-15 20:36:01 +01:00
crypro.zoidberg
85571fdda9 fixed misprint 2019-03-15 20:18:29 +01:00
crypro.zoidberg
a330901840 overloaded get_wild_keccack2 2019-03-15 19:58:47 +01:00
crypro.zoidberg
8ecde75e0d cleared up code 2019-03-11 22:03:21 +01:00
sowle
146327e2b1 compilation fixup 2019-03-04 14:02:46 +03:00
crypro.zoidberg
93831b9ab4 light scratchpad implemented 2019-02-23 23:50:17 +01:00
crypro.zoidberg
5200387d23 mesure performance 2019-02-20 20:02:43 +01:00
crypro.zoidberg
7676fc99b7 mved to 25 word seed phrase 2019-02-18 19:48:38 +01:00
alfredmox
e477762c14 unique name workaround 2019-01-22 12:43:38 -08:00
alfredmox
256ab7d0ed keccak tests 2019-01-22 03:35:07 -08:00
crypro.zoidberg
a61ed92e9e changed seeding, implemented altchain pow validating, coretests changed for new pow 2019-01-13 00:12:30 +03:00
crypro.zoidberg
020006b273 wk2 integration for main chain finished 2019-01-11 23:46:37 +03:00
crypro.zoidberg
98a8608046 inital wk2 integration code 2019-01-11 06:15:34 +03:00
crypro.zoidberg
23b64c1a66 wild keccak2 beta is prepared for integration 2019-01-10 22:45:36 +03:00
crypro.zoidberg
8da98b8146 code cleanup 2019-01-10 14:46:41 +03:00
crypro.zoidberg
079e5405e9 condidate to wild keccak2 2019-01-09 22:29:45 +03:00
crypro.zoidberg
2152d1588a wk2 sandbox 2019-01-08 18:51:57 +03:00
crypro.zoidberg
f23e97c10c Moved sources to public repo 2018-12-27 18:50:45 +03:00