Commit Graph
372 Commits
Author SHA1 Message Date
woodser b9fd83e19d getSubaddresses() uses overloaded impl;
const correctness on getSubaddresses() given indices
2019-07-28 11:58:03 -04:00
woodser 1ecc53aec2 wallet listener is not const 2019-07-28 11:46:27 -04:00
woodser 4b5eb33361 check if wallet is connected and throw exception on syncs() and
rescanBlockchain()
2019-07-28 10:27:14 -04:00
woodser 090fab31b1 wallet documentation 2019-07-27 19:30:21 -04:00
woodser c815bd728c rpc connection username/password are optional 2019-07-27 15:26:35 -04:00
woodser 242a5950ba distinguish boost::none from false 2019-07-27 14:32:00 -04:00
woodser aefbf5309a blockRequest only deserializes txRequests 2019-07-27 14:27:10 -04:00
woodser 48253c2bc1 cleanup 2019-07-27 14:21:46 -04:00
woodser d38052a8d4 remove unused namespaces 2019-07-27 14:14:15 -04:00
woodser f7b1faad3f cleanup 2019-07-27 14:07:57 -04:00
woodser 2c7ddbc4bb replace stringToBool() utility with it->second.get_value<bool>() 2019-07-27 14:07:49 -04:00
woodser f50cc8a62e cleanup 2019-07-27 13:33:47 -04:00
woodser 5c451dbae2 output index is uint64_t 2019-07-27 10:22:13 -04:00
woodser ee42aa1fca ported merger->tx = self to Java and JS 2019-07-27 10:15:45 -04:00
woodser 35b7c6e50a block toPropertyTree() serializes txIds 2019-07-27 10:12:01 -04:00
woodser 7c01174857 cleanup 2019-07-27 07:59:58 -04:00
woodser bbff09f321 use make_shared instead of new 2019-07-26 18:43:26 -04:00
woodser 1bef735e8e switch wallet creation from constructors to static utilities 2019-07-26 16:49:29 -04:00
woodser 60dd56fbae remove extra newlines from model serializes 2019-07-26 15:37:00 -04:00
woodser c328b1cb98 convert couts to logging 2019-07-26 15:22:23 -04:00
woodser a2b2ec2091 start wallet trace statements 2019-07-26 13:06:49 -04:00
woodser b60d8da400 setAutoSync() -> startSyncing() stopSyncing() 2019-07-26 12:19:47 -04:00
woodser 8ff65912c2 isDoubleSpend -> isDoubleSpendSeen 2019-07-25 13:13:21 -04:00
woodser 64d68d7cf1 fix cached isConnected; auto sync checks isConnected 2019-07-25 12:02:26 -04:00
woodser f0131be176 lockAndSync() on rescanBlockchain() 2019-07-20 19:07:49 -04:00
woodser 6cf09e25c8 cleanup 2019-07-20 19:02:29 -04:00
woodser fcf9da67a3 identify and handle bug in monero core: failed tx in pool (after
testUpdateLockedDifferentAccounts()) associated with non-originating
saved wallets returning duplicate incoming transfers but one has
amount/numSuggestedConfirmations of 0.  Resolved by rescan_bc;
MoneroUtils::reconcile() supports optional custom error message for
debugging
2019-07-20 18:22:53 -04:00
woodser 26ea3fa2b7 separate lockAndSync() from syncAux() 2019-07-19 23:24:56 -04:00
woodser b571522a60 implement rescanBlockchain();
confirmations computed using wallet height instead of deamon height;
2019-07-19 22:21:35 -04:00
woodser a8e8f2e919 remove syncAux() end height 2019-07-19 17:34:56 -04:00
woodser 284e25463b wallet2->deinit() on wallet.close() 2019-07-19 07:20:26 -04:00
woodser 49c9bd27b9 init("") on wallet load;
set sync interval
2019-07-18 22:19:40 -04:00
woodser ff5247b26c auto sync loop running 2019-07-18 21:53:43 -04:00
woodser 68e9e73d39 auto sync implemented but need to merge with syncAux() 2019-07-18 11:58:42 -04:00
woodser dc1e8b0a86 implement getIsConnected(), getDaemonHeight(), getDaemonTargetHeight(),
getIsDaemonSynced(), getIsSynced()
2019-07-18 10:58:08 -04:00
woodser 3b6e5e8eb0 implement getIsConnected() 2019-07-18 10:41:48 -04:00
woodser 30c92decc2 manually adjust restore height if startHeight < restoreHeight because
wallet2 does not process from start height
2019-07-18 07:44:21 -04:00
woodser 5fb2acaa8b ready to implement autoSyncThreadFunc() 2019-07-17 18:52:46 -04:00
woodser 95dea54afe define setAutoSync() 2019-07-17 18:09:47 -04:00
woodser 547b618598 disable received notification runtime error for now 2019-07-17 11:21:41 -04:00
woodser 0307d0faf0 internal wallet listener on_money_received() placeholder 2019-07-17 09:45:22 -04:00
woodser b9a0aea3f5 check if request cannot be fulfilled due to splitting 2019-07-16 17:55:09 -04:00
woodser e03b6b18bc block merge sets coinbase tx block 2019-07-16 15:11:20 -04:00
woodser 06f0289514 account does not have label 2019-07-16 07:41:40 -04:00
woodser 73d24f4c47 output wallet merge placeholder 2019-07-15 22:09:21 -04:00
woodser 7bb7f78349 manually offset wallet2.get_payments() min_height by -1 per #5751, #5598 2019-07-15 15:24:22 -04:00
woodser 48aaa26083 offset wallet2 get_payments() min_height by -1 because it's exclusive 2019-07-14 10:44:56 -04:00
woodser ee367cc5f2 support tx request height
uint32_t -> uin64_t
2019-07-14 10:29:47 -04:00
woodser 7cfb09b20b cleanup 2019-07-11 18:38:03 -04:00
woodser 63b8a7157e correct iter comparison 2019-07-11 12:38:26 -04:00