-
m-relay_
<mayhem69:matrix.org> Probably better to ask in
matrix.to/#/%23monero:monero.social
-
m-relay_
<edreiestrada:matrix.org> thanks I will try
-
m-relay_
<einliterflasche2:matrix.org> What is the recommended/intended way to check if a wallet is synced when using `wallet2_api.h`? The documentation on `synchronized` says it returns true if the wallet was _ever_ synchronized.
-
m-relay_
<binarybaron:matrix.org> Does a transaction ever have more than one tx_key?
-
moneromoooo
Yes. Some old ones do. It was a bug.
-
m-relay_
<binarybaron:matrix.org> As I understand it if a transaction has multiple outputs paying multiple different subaddresses, then the transaction will have a different transaction keys for each output.
-
m-relay_
<binarybaron:matrix.org> MRL-0006 states: "The use of separate transaction keys for each output allows Alice to include multiple outputs directed to
-
m-relay_
<binarybaron:matrix.org> subaddresses"
-
m-relay_
<binarybaron:matrix.org> But monero-wallet-rpc only returns a single tx_key
-
m-relay_
<binarybaron:matrix.org> Ok so if I am using the latest wallet2 then transaction will never have more than one tx_key?
-
moneromoooo
The tx extra field is pretty freeform. Someone may include whatever they like in it, and the tx will still be valid.
-
moneromoooo
(beyond a size restriction)
-
m-relay_
<binarybaron:matrix.org> Okay but assuming both parties exhibit standard behaviour?
-
m-relay_
<binarybaron:matrix.org> All I want to do is extract the tx_key from a `PendingTransaction` in wallet2
-
m-relay_
<binarybaron:matrix.org> How does this work for transfer proofs? Is any of the keys valid?
-
m-relay_
<binarybaron:matrix.org> I have seen in some places in the codebase that tx_keys get concatenated when there are multiple ones ? Is that the standard behaviour one I follow ?
-
m-relay_
<binarybaron:matrix.org> Zero to Monero also defines the OutProofV2 as having a singular tx_key. Does this mean you'd (in theory) need multiple transfer proofs for transactions with multiple tx keys?
-
m-relay_
<binarybaron:matrix.org> As far as I understand it:
-
m-relay_
<binarybaron:matrix.org> If I built a transaction and wallet2 decides to split it into multiple transactions then each transaction will get a seperate tx key and I need to construct multiple transfer proofs.
-
m-relay_
<binarybaron:matrix.org> Is this correct ?
-
moneromoooo
Yes.
-
darkwolf93
hi folks, i’m building a custodial web wallet / p2p platform, users deposit xmr to an address we assign and can withdraw to their own wallet, inside the platform; user to user transfers with zero fees would be a nice feature if possible, i guess moving balances in our database would be the right pattern?
-
darkwolf93
plan is one seed with per user subaddresses via monero wallet rpc, a view only watcher for deposits, a small hot wallet for withdrawals, and multiple wallet rpc processes if i need concurrency; any gotchas with lots of subaddresses like lookahead or wallet cache growth, and can you confirm that sending between my own subaddresses is still an on
-
darkwolf93
chain tx with a fee, or is there a better pattern you recommend for a custodial p2p platform?
-
m-relay_
<ofrnxmr:monero.social> moving own subaddresses is in fact on chain with a fee