Commit Graph
89 Commits
Author SHA1 Message Date
woodser 5eb87f9222 tx, transfer, output request -> query 2019-08-06 23:49:07 -04:00
woodser 019cc76ae6 prefix member variables with m_* 2019-08-05 17:34:03 -04:00
woodser bbaa2e385d use camelcase for serialization / deserialization 2019-08-03 14:26:30 -04:00
woodser 1482f330e7 model serialization / deserialization uses camelcase for consistency
with most web apis / auto deserialization in other languages
2019-08-03 14:13:35 -04:00
woodser 9360e09ff0 cpp library compiling with camelcase 2019-08-03 13:38:51 -04:00
woodser f2bfbc04cb first pass converting all camelcase to underscores 2019-08-03 12:52:11 -04:00
woodser ef5b788485 wip converting camelcase to underscores 2019-08-03 12:10:37 -04:00
woodser dc2ad44a17 file names and methods switched from camelcase to underscores 2019-08-03 11:11:50 -04:00
woodser e959db9709 rename coinbaseTx -> minerTx 2019-08-03 09:59:50 -04:00
woodser b957065895 implement MoneroUtils::cnTxToTx();
support vins and extra in daemon model
2019-07-31 23:54:52 -04:00
woodser 1f33e3c6ba start cnBlockToBlock(), cnTransactionToTx() utilities;
onNewBlock(uint64_t) only (no block info provided by w2);
2019-07-31 12:43:44 -04:00
woodser 482c97d0bf testGetTxsWithConfiguration() passing;
implement model copies (wip)
2019-07-30 09:35:19 -04:00
woodser 3956ad1e6b implement tx wallet deep copy;
ready to implement tx request deep copy
2019-07-29 22:10:13 -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 ede2ba0c96 copy functions take and return shared_ptrs 2019-07-29 15:19:51 -04:00
woodser e3be3228c0 all copy implementations call copy constructor with *this;
ready to implement copy constructors
2019-07-29 13:45:42 -04:00
woodser 14dbe5d9de compiling; ready to impl MoneroTransfer copy() 2019-07-28 16:12:05 -04:00
woodser 7d33ba450b define deep copy constructors for tx, output, transfers and descendants 2019-07-28 15:36:56 -04:00
woodser c815bd728c rpc connection username/password are optional 2019-07-27 15:26:35 -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 c328b1cb98 convert couts to logging 2019-07-26 15:22:23 -04:00
woodser 8ff65912c2 isDoubleSpend -> isDoubleSpendSeen 2019-07-25 13:13:21 -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 e03b6b18bc block merge sets coinbase tx block 2019-07-16 15:11:20 -04:00
woodser cd57cab71f fix memory leak using shared_ptr references 2019-07-08 16:00:18 -04:00
woodser 74b5cbe708 cleanup 2019-07-08 11:44:27 -04:00
woodser 6c0e2cacfe merge unrelated tx blocks in MoneroWallet.cpp:mergeTx()
cleanup;
remove -g for debugger
2019-07-08 11:41:46 -04:00
woodser a811215499 refactor MoneroBlock::merge() to use mergeTx() helper;
MoneroTx::merge merges blocks if necessary
2019-07-07 21:54:59 -04:00
woodser c7af9074d2 cleanup 2019-07-06 16:21:24 -04:00
woodser b48e5dbd5a add/update licenses;
fix j2string warning
2019-07-06 10:38:01 -04:00
woodser ef24963100 implement sweepDust() 2019-07-05 21:53:32 -04:00
woodser 1a48d7ba0b transfers override merge 2019-07-03 17:25:54 -04:00
woodser c019a0c36b merge() functions are virtual to enable polymorphism 2019-07-03 17:07:49 -04:00
woodser 8f88b5d75f getOutputs collect outputs, erase if filtered 2019-06-22 20:01:21 -04:00
woodser fadc75e336 returning serialized outputs to java from jni;
MoneroTx::toPropertyTre() supports vins and vouts
2019-06-22 14:09:02 -04:00
woodser 36d1ae7507 remove couts 2019-06-22 14:04:20 -04:00
woodser 35e485c91b MoneroOutput::merge() impl 2019-06-22 13:59:04 -04:00
woodser e705aa5f21 fixed seg fault: tx merge updates vout parents to self 2019-06-22 13:42:50 -04:00
woodser aab23aef72 no otherBlock cast 2019-06-22 13:35:43 -04:00
woodser 462fc83760 impl MoneroUtils::reconcile(vector, vector) 2019-06-22 13:28:35 -04:00
woodser b27d7af8f1 output and key image impl 2019-06-21 18:28:56 -04:00
woodser f3c095ae6a define output stack;
cleanup daemon model impl
2019-06-21 17:32:51 -04:00
woodser 7590b77ec6 MoneroTxRequest::meetsCriteria() implementation 2019-06-20 10:22:37 -04:00
woodser 6d085b5787 use shared_ptr.get() 2019-06-17 17:03:42 -04:00
woodser 6c8c9ae911 use derived classes where appropriate 2019-06-17 15:17:55 -04:00