Commit Graph
46 Commits
Author SHA1 Message Date
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
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 9b181df21c returning from block.merge() 2019-06-13 08:05:56 -04:00
woodser 8cbd262ee4 finish tx.merge() impl less merging collection fields 2019-06-13 07:54:43 -04:00
woodser 18a50fa59e implemented tx merge vouts 2019-06-13 07:50:22 -04:00
woodser 0527f59293 cleanup 2019-06-12 22:44:27 -04:00
woodser 78d2e8dd2f add merge vins impl to MoneroTx()::merge();
define output / key image merge()
2019-06-12 22:43:27 -04:00
woodser b8a6f79c7d started MoneroTx::merge() (simple fields) 2019-06-12 22:28:30 -04:00
woodser 8571d4131f implemented MoneroBlock::merge() except txIds 2019-06-12 22:17:37 -04:00
woodser 5d118b3aef reconcile working for integrals, strs, and bools using enable_if 2019-06-12 20:32:21 -04:00
woodser adfa617837 reconcile overloaded to handle boost::optional<bool> 2019-06-12 18:03:39 -04:00
woodser 0f2bd4b164 started implementation of MoneroUtils::reconcile(val1, val2) 2019-06-11 14:34:19 -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 a0a618406e implement MoneroWallet.cpp:mergeTx();
MoneroTransfer.getIsOutgoing(), MoneroTx.getHeight() accessors
2019-06-11 13:08:26 -04:00
woodser 9cd50b37af all struct references are shared_ptrs 2019-06-10 15:08:48 -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 36285ef633 implemented block header serialization;
serializing/deserializing (incomplete) transfers
2019-06-07 18:50:41 -04:00
woodser c4a0bfcb9c MoneroUtils toPropertyTree(vector<T> || vector<shared_pr<T>>) with
template restriction (duck typing?)
2019-06-07 13:28:57 -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 78eb67d4cb added SerializableStruct which defines serialize() and toPropertyTree() 2019-06-07 09:26:03 -04:00
woodser 485ef3832b vector<shared_ptr<MoneroTx>> txs to avoid slicing, same for outputs 2019-06-06 14:50:56 -04:00
woodser 3ac7a7af50 compiling except missing height and isOutgoing fields which require
accessors
2019-06-06 11:50:25 -04:00
woodser 5751a1bf52 cleanup 2019-06-04 18:32:29 -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 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
woodser 64542cb201 extra is vector<uint32_t> 2019-06-03 12:07:58 -04:00
woodser 3f498c56fa model structs compiling using pointers and forward declarations 2019-06-03 10:49:08 -04:00
woodser 8f903bdbc6 added structs: MoneroTx, MoneroOutput, MoneroKeyImage, MoneroBlock,
MoneroBlockHeader, MoneroDestination, MoneroTransfer,
MoneroIncomingTransfer, MoneroOutgoingTransfer, MoneroTxWallet;
not compiling due incomplete types / circular struct references
2019-06-03 10:42:33 -04:00
woodser 75ada2efec defined MoneroSyncResult, MoneroSyncListener, and sync() methods 2019-05-28 14:16:27 -04:00
woodser 69f4420011 remove wipeable_strings;
implemented getDaemonConnection()
2019-05-27 15:10:14 -04:00
woodser d71ad76e50 use redefined MoneroNetworkType;
implement getMnemonic()
2019-05-27 13:08:15 -04:00
woodser 2024a1a9f4 defined MoneroDaemon.h;
defined MoneroNetworkType, MoneroRpcConnection structs;
implement random mnemonic constructor with rpc connection struct
2019-05-27 12:47:47 -04:00