Commit Graph
107 Commits
Author SHA1 Message Date
woodser 710b16d1ca get_daemon_connection() returns boost::optional;
monero_rpc_connection extends serializable_struct
2020-01-13 08:38:03 -05:00
woodser b433df746b cleanup 2019-12-10 07:53:27 -05:00
woodser 387cf902d7 don't log warning for unrecognized fields which is expected until list
maintained
2019-12-10 07:36:13 -05:00
woodser 2f6e0a5a3a vins, vouts -> inputs -> outputs 2019-12-09 15:22:15 -05:00
woodser 2aa790e7b5 txIds -> txHashes 2019-12-09 13:46:49 -05:00
woodser 901213947d rename tx and block "id" to "hash" 2019-12-09 06:08:33 -05:00
woodser ece9b8f55a versionNumber -> number 2019-12-03 19:38:24 -05:00
woodser 22cdc4c9b6 m_version_number -> m_number 2019-12-03 19:33:42 -05:00
woodser 3c4f68911e cleanup 2019-11-30 18:06:35 -05:00
woodser 78e8f60e60 remove rapidjson serialization template 2019-11-30 17:33:56 -05:00
woodser 2db2b209f5 remove old property tree serialization code;
rename to_json_val -> to_rapidjson_val
2019-11-30 17:24:11 -05:00
woodser c3bc05d979 move deserialization utils from monero_utils to model methods 2019-11-30 17:13:29 -05:00
woodser 2aef5a65f4 merge updates from latest wasm branch, mostly serializing using
rapidjson instead of boost::property_tree
2019-11-29 16:21:34 -05:00
woodser 8a80775344 replace mixin with ring size 2019-11-29 11:42:32 -05:00
woodser ff0f0574a7 add monero_version daemon model and wallet get_version() w/o impl 2019-11-23 13:13:19 -05:00
woodser ef95dc390d move reconcile() utils from monero_utils to gen_utils 2019-10-02 18:54:06 -04:00
woodser c6cc470710 update uints 2019-09-04 15:14:08 -04:00
woodser 837cbfa312 merge vouts by output indices if present, then key images, then position 2019-08-22 17:23:03 -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 bbaa2e385d use camelcase for serialization / deserialization 2019-08-03 14:26:30 -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 9360e09ff0 cpp library compiling with camelcase 2019-08-03 13:38:51 -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 1f33e3c6ba start cnBlockToBlock(), cnTransactionToTx() utilities;
onNewBlock(uint64_t) only (no block info provided by w2);
2019-07-31 12:43:44 -04:00
woodser 482c97d0bf testGetTxsWithConfiguration() passing;
implement model copies (wip)
2019-07-30 09:35:19 -04:00
woodser 3956ad1e6b implement tx wallet deep copy;
ready to implement tx request deep copy
2019-07-29 22:10:13 -04:00
woodser dcb8407457 ready to implement tx wallet copy() 2019-07-29 21:34:16 -04:00
woodser a887772177 copy() takes src and tgt shared_ptrs like merge() 2019-07-29 21:04:24 -04:00
woodser ede2ba0c96 copy functions take and return shared_ptrs 2019-07-29 15:19:51 -04:00
woodser e3be3228c0 all copy implementations call copy constructor with *this;
ready to implement copy constructors
2019-07-29 13:45:42 -04:00
woodser 14dbe5d9de compiling; ready to impl MoneroTransfer copy() 2019-07-28 16:12:05 -04:00
woodser 7d33ba450b define deep copy constructors for tx, output, transfers and descendants 2019-07-28 15:36:56 -04:00
woodser c815bd728c rpc connection username/password are optional 2019-07-27 15:26:35 -04:00
woodser 5c451dbae2 output index is uint64_t 2019-07-27 10:22:13 -04:00
woodser ee42aa1fca ported merger->tx = self to Java and JS 2019-07-27 10:15:45 -04:00
woodser 35b7c6e50a block toPropertyTree() serializes txIds 2019-07-27 10:12:01 -04:00
woodser 7c01174857 cleanup 2019-07-27 07:59:58 -04:00
woodser bbff09f321 use make_shared instead of new 2019-07-26 18:43:26 -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 e03b6b18bc block merge sets coinbase tx block 2019-07-16 15:11:20 -04:00
woodser cd57cab71f fix memory leak using shared_ptr references 2019-07-08 16:00:18 -04:00
woodser 74b5cbe708 cleanup 2019-07-08 11:44:27 -04:00
woodser 6c0e2cacfe merge unrelated tx blocks in MoneroWallet.cpp:mergeTx()
cleanup;
remove -g for debugger
2019-07-08 11:41:46 -04:00