Commit Graph
38 Commits
Author SHA1 Message Date
woodser ee367cc5f2 support tx request height
uint32_t -> uin64_t
2019-07-14 10:29:47 -04:00
woodser 35db1b46c0 cleanup 2019-07-09 16:18:50 -04:00
woodser db9b129d71 move deserialization to common MoneroUtils 2019-07-06 19:38:17 -04:00
woodser b48e5dbd5a add/update licenses;
fix j2string warning
2019-07-06 10:38:01 -04:00
woodser 462fc83760 impl MoneroUtils::reconcile(vector, vector) 2019-06-22 13:28:35 -04:00
woodser 6e8068a5d6 cleanup 2019-06-19 11:13:58 -04:00
woodser 37705edd2b MoneroUtils::toPropertyTree(vector<str|int>) 2019-06-19 10:37:32 -04:00
woodser 61034b12ea remove couts 2019-06-17 15:21:39 -04:00
woodser 5d118b3aef reconcile working for integrals, strs, and bools using enable_if 2019-06-12 20:32:21 -04:00
woodser 7c6c06cd8e overload default reconcile values 2019-06-12 18:06:08 -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 2312cf639c logging cleanup;
set numConfirmations;
set numSuggestedConfirmations but disagreement with test
2019-06-09 11:39:05 -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 c17c3f9f1e ready to serialize txs in block 2019-06-07 13:07:21 -04:00
woodser 628bcf330f migrate serialization from MoneroUtils to model impls 2019-06-07 12:23:59 -04:00
woodser 78eb67d4cb added SerializableStruct which defines serialize() and toPropertyTree() 2019-06-07 09:26:03 -04:00
woodser 1a0fd84872 ready to switch to OO serialization 2019-06-07 08:57:50 -04:00
woodser d60c3aa06d blocks returning from jni as array but without txs 2019-06-06 18:45:50 -04:00
woodser c54600c263 finished switching model to boost::optional 2019-06-06 13:13:14 -04:00
woodser 3ac7a7af50 compiling except missing height and isOutgoing fields which require
accessors
2019-06-06 11:50:25 -04:00
woodser 7968671a6c cleanup 2019-06-05 11:48:54 -04:00
woodser 72089314d9 cleanup 2019-06-05 11:48:35 -04:00
woodser 74a465ec14 implemented basic field serialization for all tx request fields 2019-06-05 11:47:57 -04:00
woodser 036f13697a defined tx/WalletToPropertyTree() to re-serialize given tx request 2019-06-05 11:27:04 -04:00
woodser 2ac65b3e64 fix typo 2019-06-05 10:23: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 975278f7cf defined and wip toModel(ptree&, MoneroTxRequest& req) 2019-06-05 00:57:28 -04:00
woodser 59543576a7 implement toPropertyTree(subaddress) 2019-06-04 23:50:49 -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 b348092151 define MoneroUtils::deserializeTxRequest() 2019-06-04 11:49:25 -04:00
woodser 665b8a862b defined serialize utils 2019-06-04 11:42:20 -04:00
woodser 7567609e05 temp add deserialize(txRequestStr) 2019-06-04 10:05:26 -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 9ce050bb11 add MoneroUtils .h/.cpp which includes binary utilities 2019-06-02 17:27:03 -04:00