Commit Graph
113 Commits
Author SHA1 Message Date
woodser 360ba6dec6 ready to debug transfer filtering 2019-06-18 10:02:33 -04:00
woodser cead124842 validating transfer type; ready to filter with tx filter 2019-06-18 09:50:07 -04:00
woodser f3be910e77 filter on subaddress indices and having destinations 2019-06-18 09:47:46 -04:00
woodser ad8bc77eef transfer request filtering wip (outgoing addresses) 2019-06-18 09:04:10 -04:00
woodser 313f60be2a meets criteria uses reference instead of pointer 2019-06-17 17:09:02 -04:00
woodser 6d085b5787 use shared_ptr.get() 2019-06-17 17:03:42 -04:00
woodser c611abf080 define MoneroTransferRequest meetsCriteria 2019-06-17 15:51:17 -04:00
woodser eb8bd2b68d update wallet to use derived types 2019-06-17 15:34:32 -04:00
woodser 911d3cb4d4 compiling 2019-06-17 15:10:25 -04:00
woodser e831338138 separate models from daemon and wallet classes 2019-06-16 11:54:35 -04:00
woodser d646894707 merge(self, other) with base shared_ptrs to suppoert merge inheritance 2019-06-16 09:48:44 -04:00
woodser 1179991636 ready to implement block and tx merging 2019-06-11 13:25:47 -04:00
woodser d43b2d5479 compiling with daemon model merge definition 2019-06-11 13:18:52 -04:00
woodser 3757513f62 compiling with mergeTx() impl less merge() calls 2019-06-11 13:13:02 -04:00
woodser a0a618406e implement MoneroWallet.cpp:mergeTx();
MoneroTransfer.getIsOutgoing(), MoneroTx.getHeight() accessors
2019-06-11 13:08:26 -04:00
woodser a255698b12 feature equal by returning txs without merging 2019-06-10 15:24:36 -04:00
woodser 9cd50b37af all struct references are shared_ptrs 2019-06-10 15:08:48 -04:00
woodser a4dd14b2f2 initialize incoming confirmed transfers account/subaddress index;
first part of getTransfers() test passing
2019-06-09 13:59:23 -04:00
woodser a6901d4366 model update: numSuggestedConfirmations from MoneroTxWallet to
MoneroTransfer
2019-06-09 13:38:52 -04:00
woodser 2312cf639c logging cleanup;
set numConfirmations;
set numSuggestedConfirmations but disagreement with test
2019-06-09 11:39:05 -04:00
woodser e2ffc1e21f defined MoneroTx.DEFAULT_PAYMENT_ID;
initialize incoming transfer isCoinbase, isConfirmed, isFailed,
isRelayed, inTxPool
2019-06-08 09:37:19 -04:00
woodser 42025e6139 incoming/outgoing toPropertyNode() inherits from super class 2019-06-07 22:40:36 -04:00
woodser 826a6eae90 converting more tx and transfer fields from wallet2 types 2019-06-07 19:47:44 -04:00
woodser 36285ef633 implemented block header serialization;
serializing/deserializing (incomplete) transfers
2019-06-07 18:50:41 -04:00
woodser ce86e0934a partial serialization of tx wallet and transfer 2019-06-07 14:39:37 -04:00
woodser a0001b92e4 fix pointers in wallet2ToIncomingTransfer();
ready to implement MoneroTxWallet.toPropertyTree()
2019-06-07 14:16:27 -04:00
woodser c17c3f9f1e ready to serialize txs in block 2019-06-07 13:07:21 -04:00
woodser e5fb07e2fc compiling with toPropertyTree() overrides 2019-06-07 12:35:37 -04:00
woodser 628bcf330f migrate serialization from MoneroUtils to model impls 2019-06-07 12:23:59 -04:00
woodser f5fd35be54 compiling with SerializedStruct and refactored dependencies 2019-06-07 11:51:56 -04:00
woodser d60c3aa06d blocks returning from jni as array but without txs 2019-06-06 18:45:50 -04:00
woodser dcdfddf607 poc implementation of wallet2ToIncomingTransfer() supporting tx.id;
ready to implement getTransfers() isOut
2019-06-06 17:03:54 -04:00
woodser 485ef3832b vector<shared_ptr<MoneroTx>> txs to avoid slicing, same for outputs 2019-06-06 14:50:56 -04:00
woodser c54600c263 finished switching model to boost::optional 2019-06-06 13:13:14 -04:00
woodser 5471072d2e cpp project compiling with boost::optional 2019-06-06 12:50:44 -04:00
woodser 3ac7a7af50 compiling except missing height and isOutgoing fields which require
accessors
2019-06-06 11:50:25 -04:00
woodser 1fe9d6d252 wip getTransfers();
compiling except missing txReq.height and transferReq.isOutgoing fields;
use boost::optional for struct members and accessors/mutators?
2019-06-05 18:40:17 -04:00
woodser ec7d3415ca collecting parameters to wallet2->get_payments() 2019-06-05 15:13:56 -04:00
woodser f6b0e0072b fix compile error 2019-06-05 11:57:17 -04:00
woodser 46c67cc2b4 ready to implement getTxs() 2019-06-05 11:53:22 -04:00
woodser 12fa13d3c1 define MoneroTransferRequest MoneroOutputRequest
remove deserialization since jni is only use case currently
2019-06-05 10:19:05 -04:00
woodser c2de4e7212 serializing accounts manually;
testGetAccountsWithoutSubaddresse passing
2019-06-04 23:44:46 -04:00
woodser 5751a1bf52 cleanup 2019-06-04 18:32:29 -04:00
woodser 9564393f95 defined MoneroOutputWallet;
MoneroUtils::deserialize() takes param to deserialize to
2019-06-04 12:06:57 -04:00
woodser 377d9b4eb5 MoneroSyncResult does not use pointers 2019-06-04 11:09:46 -04:00
woodser ce0179d1a9 switched structs to use shared_ptrs 2019-06-04 10:41:42 -04:00
woodser 6df3ac1a0a add MoneroUtils.serialize(vector<MoneroBlock>);
model unique_ptr -> shared_ptr;
2019-06-03 17:32:42 -04:00
woodser 25e0d2befd MoneroUtils.json_to_binary -> jsonToBinary(), etc;
MoneroTxRequest and MoneroTransferRequest do not extend struct;
use pointers in structs where appropriate, prep for custom
deserialization
2019-06-03 17:08:28 -04:00
woodser eb740de83a getTxs() prints received txRequest 2019-06-03 12:52:37 -04:00
woodser 7bafb952e8 MoneroDaemon.h imports wallet2.h so BEGIN_KV_SERIALIZE_MAP() works;
structs only use pointers pointing up the tree which are not serialized
2019-06-03 12:46:27 -04:00