Commit Graph
22 Commits
Author SHA1 Message Date
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