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

Feature/track build signed submitted for tx log #626

Merged

Conversation

briancorbin
Copy link
Contributor

@briancorbin briancorbin commented Dec 7, 2022

Motivation

Previously, we haven't been tracking transactions that were built but not signed. In order to support view only accounts with the offline signer and hardware wallet better, this adds that so we can track which inputs and outputs are for the built, but unsigned, transaction.

In this PR

  • Adding logging for built but unsigned transactions
  • fixing bug where tombstone_block_index wasn't updated correctly if transaction log exists when submitting
  • Changing how TransactionId is derived to allow it to be the same from UnsignedTx -> Tx (Using TxPrefix now)

Future Work

Continued changes to support hardware wallet and offline transaction signing

Moving TransactionId, TxoId, and AccountId to the mobilecoin library to provide a central source of truth for these

@briancorbin briancorbin requested a review from a team December 7, 2022 18:09
@cxloe
Copy link
Contributor

cxloe commented Dec 7, 2022

Should this logging be configurable / disableable?

And why the change of TransactionId' to TransactionID` ?

@briancorbin briancorbin added the enhancement New feature or request label Dec 7, 2022
@briancorbin briancorbin merged commit 72eb79b into develop Dec 7, 2022
@briancorbin briancorbin deleted the feature/track-build-signed-submitted-for-tx-log branch December 7, 2022 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants