1
0
Fork 0
forked from lthn/blockchain
Commit graph

389 commits

Author SHA1 Message Date
sowle
2b332610bb === build number: 37 -> 38 === 2019-06-05 13:48:05 +03:00
sowle
9492d2c9ea === build number: 36 -> 37 === 2019-06-04 22:53:08 +03:00
cryptozoidberg
41cc980023
fixed critical bug in altchain validation code 2019-06-04 21:47:13 +03:00
sowle
17ef2dd156 === build number: 35 -> 36 === 2019-05-31 19:22:36 +03:00
sowle
366ccb7b67 Merge branch 'develop' into release 2019-05-31 19:17:04 +03:00
sowle
7af0159f59 === build number: 34 -> 35 === 2019-05-31 19:15:31 +03:00
wildkif
0933026c2a Merge remote-tracking branch 'origin/develop' into frontend 2019-05-31 16:30:57 +03:00
wildkif
e9766aea65 reduced delay of hiding balance tooltip 2019-05-31 16:22:13 +03:00
sowle
e8df86117e === build number: 33 -> 34 === 2019-05-30 12:42:13 +03:00
wildkif
e6a8b40833 Contract notification messages update 2019-05-29 20:30:05 +03:00
wildkif
6249d80699 Enable auto-resume for staking 2019-05-29 18:16:37 +03:00
wildkif
a67869f7ec contract UI changes 2019-05-28 19:33:49 +03:00
wildkif
8cfe21421a fix error when buyer deposit is smaller than amount 2019-05-28 15:04:10 +03:00
wildkif
290460c0f3 Merge remote-tracking branch 'origin/develop' into frontend 2019-05-27 18:17:57 +03:00
wildkif
0d4d0d377b Contracts text changes part 2 2019-05-27 18:09:27 +03:00
wildkif
d69ac68bca "same amount" checkbox fix 2019-05-27 17:00:24 +03:00
sowle
2924594ea6 pch: fix for changed way of inclusion of boost/timer.hpp 2019-05-25 19:55:38 +03:00
cryptozoidberg
af4aaa87c7
made notice for simplewallet more bright 2019-05-24 19:36:22 +02:00
cryptozoidberg
5fcb0d4848
set peers for testnet 2019-05-24 18:59:47 +02:00
cryptozoidberg
e29bd0aeb6
generated genesis for testnet, added missed lib to boost 2019-05-24 18:37:27 +02:00
wildkif
0b88f1a152 Merge remote-tracking branch 'origin/develop' into frontend 2019-05-24 18:30:45 +03:00
wildkif
d441de9e9f zero amount error message in contracts 2019-05-24 17:59:51 +03:00
cryptozoidberg
8c065fd974
added notice for pos_mining in wallet, removed warnings with new boost 2019-05-24 15:51:10 +02:00
wildkif
82b9d1046a Contracts text changes && select scroll fix 2019-05-24 14:24:19 +03:00
cryptozoidberg
c4a3493b32
=== build number: 32 -> 33 === 2019-05-23 20:05:32 +02:00
wildkif
134a0dafbc Merge remote-tracking branch 'origin/develop' into develop 2019-05-23 20:18:01 +03:00
wildkif
c0742f281e Merge remote-tracking branch 'origin/develop' into frontend 2019-05-23 20:17:10 +03:00
wildkif
ce56aff876 change lock time condition 2019-05-23 20:16:54 +03:00
sowle
e676acf929 === build number: 31 -> 32 === 2019-05-23 18:56:17 +03:00
wildkif
628b3c8aa8 Merge remote-tracking branch 'origin/develop' into develop 2019-05-23 18:41:04 +03:00
wildkif
d6bf5818df disable wrong time notification && add lock time in history condition 2019-05-23 18:38:38 +03:00
sowle
007769124a made crypto_ops::validate_key_image exception safe 2019-05-23 05:07:59 +03:00
sowle
204e6054c0 === build number: 30 -> 31 === 2019-05-23 03:24:57 +03:00
cryptozoidberg
039fafe574
minimum fee set as default fee to avoid cheap transactions 2019-05-23 02:00:37 +02:00
wildkif
d77c193f62 Merge remote-tracking branch 'origin/develop' into frontend 2019-05-22 18:32:37 +03:00
wildkif
b25aacb4b5 Merge branch 'develop' into frontend 2019-05-22 18:31:53 +03:00
wildkif
ca1904b9d2 remember hide wallet option 2019-05-22 18:31:36 +03:00
sowle
b844d7b11e === build number: 29 -> 30 === 2019-05-21 21:56:09 +03:00
sowle
24b3785a44 crypto_assert introduced to ensure runtime safety 2019-05-21 21:22:30 +03:00
cryptozoidberg
74b8bfb96b
added 4 new seeds 2019-05-21 19:13:43 +02:00
cryptozoidberg
f77ca1767c
fixed unused var warning 2019-05-21 19:05:22 +02:00
sowle
33a002982e formatting/whitespace fixes 2019-05-21 19:53:20 +03:00
wildkif
6d1e38d778 Merge remote-tracking branch 'origin/frontend' into develop 2019-05-21 19:35:45 +03:00
wildkif
bf31598062 Merge remote-tracking branch 'origin/develop' into frontend 2019-05-21 19:35:00 +03:00
wildkif
8ee0ff7402 Mark locked transaction visual part & mining reward notification 2019-05-21 18:34:09 +03:00
sowle
26c26501e5 reverting commit cca48ed718 "contrib: update LMDB to 0.9.23, use submodule (#27)" 2019-05-21 18:18:20 +03:00
sowle
750247e867 fix a typo 2019-05-21 17:39:22 +03:00
0x914409F1
cca48ed718 contrib: update LMDB to 0.9.23, use submodule (#27)
Note: previous LMDB (0.9.18) is over 3 years old now.

Here is the changelog from 0.9.18 until now:

```
LMDB 0.9 Change Log

LMDB 0.9.23 Release (2018/12/19)
        ITS#8756 Fix loose pages in dirty list
        ITS#8831 Fix mdb_load flag init
        ITS#8844 Fix mdb_env_close in forked process
        Documentation
                ITS#8857 mdb_cursor_del doesn't invalidate cursor
                ITS#8908 GET_MULTIPLE etc don't change passed in key

LMDB 0.9.22 Release (2018/03/22)
        Fix MDB_DUPSORT alignment bug (ITS#8819)
        Fix regression with new db from 0.9.19 (ITS#8760)
        Fix liblmdb to build on Solaris (ITS#8612)
        Fix delete behavior with DUPSORT DB (ITS#8622)
        Fix mdb_cursor_get/mdb_cursor_del behavior (ITS#8722)

LMDB 0.9.21 Release (2017/06/01)
        Fix xcursor after cursor_del (ITS#8622)

LMDB 0.9.20 (Withdrawn)
        Fix mdb_load with escaped plaintext (ITS#8558)
        Fix mdb_cursor_last / mdb_put interaction (ITS#8557)

LMDB 0.9.19 Release (2016/12/28)
        Fix mdb_env_cwalk cursor init (ITS#8424)
        Fix robust mutexes on Solaris 10/11 (ITS#8339)
        Tweak Win32 error message buffer
        Fix MDB_GET_BOTH on non-dup record (ITS#8393)
        Optimize mdb_drop
        Fix xcursors after mdb_cursor_del (ITS#8406)
        Fix MDB_NEXT_DUP after mdb_cursor_del (ITS#8412)
        Fix mdb_cursor_put resetting C_EOF (ITS#8489)
        Fix mdb_env_copyfd2 to return EPIPE on SIGPIPE (ITS#8504)
        Fix mdb_env_copy with empty DB (ITS#8209)
        Fix behaviors with fork (ITS#8505)
        Fix mdb_dbi_open with mainDB cursors (ITS#8542)
        Fix robust mutexes on kFreeBSD (ITS#8554)
        Fix utf8_to_utf16 error checks (ITS#7992)
        Fix F_NOCACHE on MacOS, error is non-fatal (ITS#7682)
        Build
                Make shared lib suffix overridable (ITS#8481)
        Documentation
                Cleanup doxygen nits
                Note reserved vs actual mem/disk usage

LMDB 0.9.18 Release (2016/02/05)
        Fix robust mutex detection on glibc 2.10-11 (ITS#8330)
        Fix page_search_root assert on FreeDB (ITS#8336)
        Fix MDB_APPENDDUP vs. rewrite(single item) (ITS#8334)
        Fix mdb_copy of large files on Windows
        Fix subcursor move after delete (ITS#8355)
        Fix mdb_midl_shirnk off-by-one (ITS#8363)
        Check for utf8_to_utf16 failures (ITS#7992)
        Catch strdup failure in mdb_dbi_open
        Build
                Additional makefile var tweaks (ITS#8169)
        Documentation
                Add Getting Started page
                Update WRITEMAP description
```
2019-05-20 11:32:58 +02: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
0x914409F1
55d169c926 daemon: implement CLI option to disable UPnP (#26)
Enhances local network privacy by disabling UPnP (discovery (SSDP),
etc.), and also speeds up the daemon on startup if UPnP is not needed.

In other words, allows the option to completely disable the use of UPnP.
2019-05-19 03:24:41 +02:00