1
0
Fork 0
forked from lthn/blockchain
Commit graph

66 commits

Author SHA1 Message Date
sowle
2ee199bcbc
wallet: WALLET_TRANSFER_DETAIL_FLAG_MINED_TRANSFER flag is now being set more correctly 2019-12-10 14:18:22 +03:00
sowle
3ccbaca823
simplewallet: --pos-mining-reward-address command-line option implemented 2019-12-10 00:50:30 +03:00
cryptozoidberg
c19ee435fc
Merge branch 'develop' into txpool_optimisation 2019-12-05 16:05:01 +01:00
cryptozoidberg
eebac8eca4
disabled unused macro 2019-12-03 02:25:02 +01:00
cryptozoidberg
91be33581a
added command to simplewallet for printing output distribution 2019-12-03 02:18:45 +01:00
cryptozoidberg
3eb68cb8fb
added log message 2019-12-03 01:54:08 +01:00
sowle
41a095dac9
wallet: more verbose logging on storing 2019-12-02 15:08:45 +03:00
cryptozoidberg
7f374eab2a
fixed missing total field in get_recent_transfers struct 2019-12-01 23:31:05 +01:00
cryptozoidberg
e82bd6b575
added new test, fixed multiple bugs 2019-11-29 21:43:17 +01:00
cryptozoidberg
821776d198
fixed wallet functions signatures 2019-11-28 23:34:24 +01:00
cryptozoidberg
d7c67b196c
added explicit transactions to blocktemplate 2019-11-28 05:28:36 +01:00
cryptozoidberg
cdfd321387
basic implementation of tx packing(in progress) 2019-11-27 03:19:10 +01:00
sowle
b043f8cc0f
wallet: getting rid of unused code 2019-11-26 12:13:56 +03:00
sowle
5db4024be9
wallet: fixed minor issue with dump_transfers() 2019-11-20 10:24:47 +03:00
sowle
f67ad76f38
1) LOCAL_FUNCTION_DEF__ made less verbose for gcc 2) fixed gcc compilation 2019-11-14 03:12:22 +03:00
sowle
506b2e57e1
wallet: more consistent and less drama logging when unable to connect to the daemon 2019-11-12 11:33:39 +03:00
sowle
e536e06cc3
wallet2: more correct work with transfers flags when daemon rejects a tx in accept_proposal() and request_cancel_contract() (related to #47) 2019-11-07 14:44:22 +03:00
sowle
3e76185988
wallet: fixed wrong contract id in send_escrow_proposal 2019-10-31 10:54:37 +03:00
sowle
633c93721e
wallet: an effort to fix #47 2019-10-31 10:52:59 +03:00
sowle
a6efee0c24
fixed compilation for macOS 2019-10-29 02:12:59 +03:00
sowle
da782cdd73
wallet: fix for #47 2019-10-28 21:07:34 +03:00
sowle
b9335fefc8
wallet: an attempt to fix #47 2019-10-24 09:40:02 +03:00
sowle
7c5202dcab
wallet: fixed a bug with removing a temp file when write fails 2019-10-24 08:13:37 +03:00
sowle
acc6d1a53b
finalized wallet integrity on store, closes #57 2019-10-24 08:12:28 +03:00
sowle
8246498d94
attempt to fix core tests 2019-10-16 12:35:35 +03:00
sowle
e3cc89846e
wallet: make sure there's enough disk space on load, store and wallet generation (simplewallet + GUI) #57 2019-10-09 16:01:33 +03:00
cryptozoidberg
9d3e2dee6b
Merge branch 'develop' into market_rpc_api 2019-10-02 21:06:50 +02:00
sowle
da79610fac
from now new passwords must consist of allowed characters only 2019-10-02 03:41:24 +03:00
cryptozoidberg
d0ea59aebc
removed more warnings, code cleanup 2019-09-24 18:30:25 +02:00
cryptozoidberg
3679c7e638
implemented marketplace api, some fixes of contract api calls 2019-08-28 22:16:15 +02:00
cryptozoidberg
95d007e3fa
implemented contracts api 2019-08-27 22:11:45 +02:00
cryptozoidberg
ee246bef43
attempt to make common publi interface for wallet 2019-08-27 17:36:53 +02:00
cryptozoidberg
74ce613bde
added test against detecting 'unpowed' stakes in pos blocks 2019-08-03 19:15:56 +02:00
cryptozoidberg
67212dab51
fixed few bugs in locked pos mining, implemeted proper test 2019-08-03 00:22:04 +02:00
cryptozoidberg
1ae2da4983
merge from develop 2019-08-01 23:22:43 +02:00
sowle
c97c0854d1
wallet2: minor improvement for cancel_offer_by_id() 2019-07-30 18:31:23 +03:00
cryptozoidberg
b740205f02
fixed offers-related tests 2019-07-26 21:51:35 +02:00
cryptozoidberg
18b7dbd132
fixed memoryleak in simplewallet 2019-07-25 19:22:43 +02:00
cryptozoidberg
8101bc4932
fixed compilation issues in wallet 2019-07-24 23:32:41 +02:00
cryptozoidberg
78dc9164e7
implemented locked coins mining on wallet side 2019-07-24 19:14:35 +02:00
cryptozoidberg
d4233ff013
fixed wallet for new PoS rules 2019-07-20 14:36:12 +02:00
sowle
2b2aebdd03 coretests: corrected gen_wallet_offers_basic, offer_lifecycle_via_tx_pool, offer_removing_and_selected_output 2019-07-19 18:59:31 +03:00
sowle
6a575c6d29 fix for contract cancellation issue with zero b pledge or zero (a pledge + amount) 276 2019-07-17 15:20:10 +03:00
sowle
22bbb59117 simplewallet: PoS mining in RPC mode made more kind to another wallet's instances (tx pool awareness, ZANO-385 2019-06-27 02:30:43 +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
6894f15e62 wallet2: minor cleaning up 2019-05-08 16:59:09 +02:00
sowle
08461683d9 wallet2: fix a minor bug with balance calculation being called from on_transfer callback 2019-05-06 20:45:27 +02:00
sowle
41e85112ff wallet2: minor improvements 2019-05-06 19:38:06 +02:00
sowle
375e9fd990 wallet2: take escrow-blocked coins into account when calculating the total balance 2019-05-02 18:46:24 +02:00