Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to FAQ - Could a wallet pull a transaction history from an archive node? #77

Open
MCM-Mike opened this issue Dec 1, 2022 · 0 comments

Comments

@MCM-Mike
Copy link
Member

MCM-Mike commented Dec 1, 2022

https://forum.grin.mw/t/could-a-wallet-pull-a-transaction-history-from-an-archive-node/10201

Could a wallet pull a transaction history from an archive node?

Not fully. A block is a set of inputs, a set of outputs and a set of kernels. First, if you lose a payment proof you can’t prove a payment even with all the history because a payment proof is an offchain statement referencing onchain data. Second, if you see a block and scan 1 input and 1 output to be yours, then you can’t tell what the construction of your transaction was. It could be that you sent the funds to one of the outputs and created a change output, but you can’t tell to whom. It could even be a self-spend transaction or a payjoin. Moreover, if you see 2 inputs and 2 outputs that you own, you can’t tell how many transactions you did unless there’s a single kernel in the block. Users need to protect transaction data because of the automatic transaction aggregation that happens at the block level. However, if someone was paying attention to the mempool and retained deaggregated txs, they’d be able to prove this and convince us of the transaction structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant