Commit Graph
236 Commits
Author SHA1 Message Date
woodser 55c5c05719 copy and normalize tx request in getTxs() 2019-07-30 10:34:35 -04:00
woodser dd8bd302a0 copy output request in getOutputs() 2019-07-30 10:20:41 -04:00
woodser 068e4e8f97 remove old code 2019-07-30 10:14:16 -04:00
woodser 482c97d0bf testGetTxsWithConfiguration() passing;
implement model copies (wip)
2019-07-30 09:35:19 -04:00
woodser dcb8407457 ready to implement tx wallet copy() 2019-07-29 21:34:16 -04:00
woodser a887772177 copy() takes src and tgt shared_ptrs like merge() 2019-07-29 21:04:24 -04:00
woodser b36873e40f copy and normalize getTransfers() request 2019-07-29 16:05:31 -04:00
woodser 7d33ba450b define deep copy constructors for tx, output, transfers and descendants 2019-07-28 15:36:56 -04:00
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 48253c2bc1 cleanup 2019-07-27 14:21:46 -04:00
woodser f50cc8a62e cleanup 2019-07-27 13:33:47 -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 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 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 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 7cfb09b20b cleanup 2019-07-11 18:38:03 -04:00
woodser 63b8a7157e correct iter comparison 2019-07-11 12:38:26 -04:00
woodser 613f3492a1 only set numBlocksToUnlock to non-zero if subaddress has balance 2019-07-11 12:37:44 -04:00
woodser 7b23684eef numBlocksToUnlock is 0 if unused 2019-07-10 17:38:07 -04:00
woodser 2252b8fcf3 sorting transfers 2019-07-10 16:29:52 -04:00
woodser 8724f7e90b sort txs by block height unless overriden by requesting tx ids 2019-07-09 16:16:53 -04:00
woodser cd57cab71f fix memory leak using shared_ptr references 2019-07-08 16:00:18 -04:00