woodser
9c568d6dba
monero_utils building depending on monero_wallet_model instead of
...
monero_wallet, imports string_tools.h
2019-10-09 09:28:06 -04:00
woodser
ef95dc390d
move reconcile() utils from monero_utils to gen_utils
2019-10-02 18:54:06 -04:00
woodser
5eb87f9222
tx, transfer, output request -> query
2019-08-06 23:49:07 -04:00
woodser
019cc76ae6
prefix member variables with m_*
2019-08-05 17:34:03 -04:00
woodser
fd399fcda9
fix typos
2019-08-03 16:30:26 -04:00
woodser
59fb0545ac
fix deserialize camelcase
2019-08-03 16:16:54 -04:00
woodser
1482f330e7
model serialization / deserialization uses camelcase for consistency
...
with most web apis / auto deserialization in other languages
2019-08-03 14:13:35 -04:00
woodser
f2bfbc04cb
first pass converting all camelcase to underscores
2019-08-03 12:52:11 -04:00
woodser
ef5b788485
wip converting camelcase to underscores
2019-08-03 12:10:37 -04:00
woodser
dc2ad44a17
file names and methods switched from camelcase to underscores
2019-08-03 11:11:50 -04:00
woodser
e959db9709
rename coinbaseTx -> minerTx
2019-08-03 09:59:50 -04:00
woodser
b957065895
implement MoneroUtils::cnTxToTx();
...
support vins and extra in daemon model
2019-07-31 23:54:52 -04:00
woodser
a8eed01cc6
shared_ptr<MoneroTx> cnTxToTx(const cryptonote::transaction& cnTx, bool
...
initAsTxWallet = false);
2019-07-31 21:07:40 -04:00
woodser
1f33e3c6ba
start cnBlockToBlock(), cnTransactionToTx() utilities;
...
onNewBlock(uint64_t) only (no block info provided by w2);
2019-07-31 12:43:44 -04:00
woodser
242a5950ba
distinguish boost::none from false
2019-07-27 14:32:00 -04:00
woodser
aefbf5309a
blockRequest only deserializes txRequests
2019-07-27 14:27:10 -04:00
woodser
2c7ddbc4bb
replace stringToBool() utility with it->second.get_value<bool>()
2019-07-27 14:07:49 -04:00
woodser
f50cc8a62e
cleanup
2019-07-27 13:33:47 -04:00
woodser
bbff09f321
use make_shared instead of new
2019-07-26 18:43:26 -04:00
woodser
60dd56fbae
remove extra newlines from model serializes
2019-07-26 15:37:00 -04:00
woodser
c328b1cb98
convert couts to logging
2019-07-26 15:22:23 -04:00
woodser
8ff65912c2
isDoubleSpend -> isDoubleSpendSeen
2019-07-25 13:13:21 -04:00
woodser
fcf9da67a3
identify and handle bug in monero core: failed tx in pool (after
...
testUpdateLockedDifferentAccounts()) associated with non-originating
saved wallets returning duplicate incoming transfers but one has
amount/numSuggestedConfirmations of 0. Resolved by rescan_bc;
MoneroUtils::reconcile() supports optional custom error message for
debugging
2019-07-20 18:22:53 -04:00
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