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 |
|
woodser
|
d3badea0ff
|
define MoneroTransferRequest, MoneroTxRequest, getTxs()
|
2019-06-03 12:05:17 -04:00 |
|
woodser
|
b90d89d95e
|
cleanup
|
2019-06-03 11:16:08 -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
|
6850b64f79
|
implemented getAddressIndex()
|
2019-06-02 21:23:04 -04:00 |
|
woodser
|
f3b51a9e4f
|
implemented getAccount()
|
2019-06-02 19:04:17 -04:00 |
|
woodser
|
bea2eb9a8c
|
re-order wallet api
|
2019-06-02 13:59:01 -04:00 |
|
woodser
|
45b900f66e
|
all wallet constructors require path and password
|
2019-06-02 13:19:54 -04:00 |
|
woodser
|
66e01660b5
|
cleanup
|
2019-06-01 16:16:49 -04:00 |
|
woodser
|
5205e6fd0b
|
throwing error if store() does not throw error
|
2019-06-01 11:36:26 -04:00 |
|
woodser
|
558c387824
|
ready to implement save(path, password)
|
2019-06-01 10:57:37 -04:00 |
|
woodser
|
8aea825701
|
print cleanup
|
2019-06-01 09:19:10 -04:00 |
|
woodser
|
bb29f0c605
|
support getting all subaddresses iff no subaddress indices given
|
2019-05-31 21:07:35 -04:00 |
|
woodser
|
7caef26a65
|
ready to implement subaddress index filter in getSubaddressAux()
|
2019-05-31 17:37:02 -04:00 |
|
woodser
|
7ba1e05659
|
Merge branch 'jni24_2_destroy' into jni25_get_accounts
|
2019-05-31 15:05:11 -04:00 |
|
woodser
|
28c053aa97
|
implemented listener deconstructor
removed getWallet2() method
|
2019-05-31 15:00:52 -04:00 |
|
woodser
|
cd6a6d5e71
|
cleanup
|
2019-05-31 13:44:57 -04:00 |
|
woodser
|
193ff1f8c6
|
using iterator and map.find() to handle wallet2's balances per
subaddresses not including unused subaddresses
|
2019-05-31 12:06:04 -04:00 |
|
woodser
|
e3cc7f9aeb
|
implemented getAccounts() and getSubaddresses() using common
getSubaddressesAux(accountIdx, transferDetails)
|
2019-05-31 11:11:17 -04:00 |
|
woodser
|
88d86f61be
|
defined implementation of get/create accounts/subaddresses
|
2019-05-31 10:22:22 -04:00 |
|
woodser
|
a8b1dedd81
|
subaddresses returning by calling push_back after initialization
|
2019-05-31 09:52:58 -04:00 |
|
woodser
|
cbbe48a251
|
getAccounts() returns primaryAddress and uses common method
|
2019-05-30 21:21:46 -04:00 |
|
woodser
|
d77652768e
|
serializing subaddresses
|
2019-05-30 19:46:17 -04:00 |
|
woodser
|
0723608cf9
|
BEGIN_KV_SERIALIZE_MAP for struct MoneroAccount
|
2019-05-30 18:26:13 -04:00 |
|
woodser
|
171332e499
|
getAccounts() returns accounts with correct index
|
2019-05-30 17:35:54 -04:00 |
|
woodser
|
0ddde43970
|
defined MoneroAccount and MoneroSubaddress;
ready to implement MoneroWallet::getAccounts()
|
2019-05-30 16:21:30 -04:00 |
|
woodser
|
376764d6ee
|
wallet2 listener pointers explicitly initialized
|
2019-05-30 11:26:00 -04:00 |
|
woodser
|
b55fb192d3
|
implemented getBalances() and getUnlockedBalances()
|
2019-05-30 10:26:39 -04:00 |
|
woodser
|
639baec6b6
|
added wallet method definition placeholders
|
2019-05-30 10:09:45 -04:00 |
|
woodser
|
77f9357059
|
don't report 0% progress if no subsequent progress to report
|
2019-05-30 09:13:03 -04:00 |
|
woodser
|
16cf00ec0b
|
sync end height is height of end block which is chainHeight - 1
|
2019-05-29 19:04:24 -04:00 |
|
woodser
|
8611109d06
|
onSyncProgress calls with string& message
|
2019-05-29 17:57:25 -04:00 |
|
woodser
|
01c26fd0ec
|
call onNewBlock() iff listener registered
|
2019-05-29 17:39:11 -04:00 |
|