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/transaction signer service #282

Merged
merged 95 commits into from
May 23, 2022

Conversation

briancorbin
Copy link
Contributor

@briancorbin briancorbin commented Apr 26, 2022

This is a rather large PR that includes changes to:

  • View Only Accounts to allow them to support subaddresses and tracking txo statuses from KeyImage data.
  • Transaction Signer: a standalone stateless program that allows users to create accounts, generate subaddresses for view only accounts, sync view only accounts, and sign unsigned transactions

Motivation

This is intended to be an intermediary solution for users that wish to be able to sign transactions without requiring the ledger in the cold-wallet offline flow.

Future Work

A further refactor of the transaction signer alongside potential changes to the TransactionBuilder in the mobilecoin library.

@briancorbin briancorbin marked this pull request as ready for review May 6, 2022 20:28
@briancorbin briancorbin assigned jcape and cbeck88 and unassigned jcape and cbeck88 May 6, 2022
@briancorbin briancorbin requested review from cbeck88 and jcape May 6, 2022 20:29
Copy link
Contributor

@cbeck88 cbeck88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all looks good to me, nice work!

@briancorbin briancorbin merged commit c8647d7 into develop May 23, 2022
@briancorbin briancorbin deleted the feature/transaction-signer-service branch May 23, 2022 18:15
Copy link

@isis-mc isis-mc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! I know this is already merged but I started reviewing last week and only just got to finishing. This looks good to me, and thanks for doing this work. My only vague question was about a test that got commented out but not removed or marked at should fail.

// use diesel_migrations::{revert_latest_migration, run_pending_migrations};
// use mc_account_keys::{AccountKey, PublicAddress};
// use mc_common::logger::{test_with_logger, Logger};
// use rand::{rngs::StdRng, SeedableRng};
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we commenting out this migration test?

briancorbin added a commit that referenced this pull request Jun 2, 2022
* Latest migration tester (#281)

* feature/limit offset optional (#283)

* feature/update-ci-testing (#285)

* Feature/switch-to-github-actions (#289)

* Implement view-key management through CLI. (#290)

* Make .mobconf and rust-toolchain reference mobilecoin submodule (#318)

* Max Spendable MOB (#314)

* Feature/transaction signer service (#282)

* Add faq with precision (#324)

* Add change output for zero change (#323)

* Updating export VO package for normal accounts (#327)

* Docs/fix new updates (#330)

* Feature/vo account balance improvements (#328)

* e2e tests for view only account flow + documentation updates (#333)

* fixed bug (#334)
briancorbin added a commit that referenced this pull request Jun 13, 2022
* Latest migration tester (#281)

* feature/limit offset optional (#283)

* feature/update-ci-testing (#285)

* Feature/switch-to-github-actions (#289)

* Implement view-key management through CLI. (#290)

* Make .mobconf and rust-toolchain reference mobilecoin submodule (#318)

* Max Spendable MOB (#314)

* Feature/transaction signer service (#282)

* Add faq with precision (#324)

* Add change output for zero change (#323)

* Updating export VO package for normal accounts (#327)

* Docs/fix new updates (#330)

* Feature/vo account balance improvements (#328)

* e2e tests for view only account flow + documentation updates (#333)

* fixed bug (#334)

* Implement offline transaction signing in CLI. (#337)

* updating gitignore (#341)

* Add inputn and output validation (#340)

* new release action (#344)

* Update actions to include ARM64 build (M1 Mac) (#351)

* setting db encryption key earlier (#353)

* Fix linker errors related to openssl on Ubuntu 22.04. (#355)

* Support BlockVersion 0->2 and mc v1.2.0 (#291)

* Upgrade mobilecoin submodule to release 1.2.1. (#357)

* only log tx when Token is MOB (#358)

* Update cargo lock for mc v1.2.1 (#360)

* Get TxLogs by range of blocks (#362)

* setting flags for runners for OpenSSL (#364)

* Fix build issue with macOS runners (#365)
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

Successfully merging this pull request may close these issues.

Refactor transaction signer into full-service dir
6 participants