-
Notifications
You must be signed in to change notification settings - Fork 29
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
Caravan Health Package #112
Conversation
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
🦋 Changeset detectedLatest commit: b07b5a4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Let's separate this work from the frontend work. I think formalizing the "backend" functions can be merged in without having the UI fully formalized.
Take a look at the @caravan/clients package. The older client stuff is deprecated (we should probably add a notice for that...), and clients has more up to date functionality as well as some interfaces to generalize operations a bit more. |
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good! left some comments and questions. Biggest thing though is that I'd like better typescript support before anything is merged.
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
…inability Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
@@ -172,6 +194,24 @@ export class BlockchainClient extends ClientBase { | |||
} | |||
} | |||
|
|||
public async getAddressTransactions(address: string): Promise<any> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be typed? ideally use the unified client to standardize the return type
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Co-authored-by: buck <buck.perley@protonmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
- Consolidation (more than 1 input, 1 output) | ||
- CoinJoin or Mixing (more than 1 input, more than 1 output) | ||
*/ | ||
getTopologyScore(transaction: Transaction): number { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could also be used in the preview transaction view right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, We can give some degree that how it will behave privacy wise if this previewed transaction is actually made.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple final nits.
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
Co-authored-by: buck <buck.perley@protonmail.com>
Co-authored-by: buck <buck.perley@protonmail.com>
Co-authored-by: buck <buck.perley@protonmail.com>
Signed-off-by: Harshil-Jani <harshiljani2002@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me!
TODO :