Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Make GTTA api call faster #1776

Open
GalRogozinski opened this issue Mar 2, 2020 · 0 comments
Open

Make GTTA api call faster #1776

GalRogozinski opened this issue Mar 2, 2020 · 0 comments
Labels
C-API Component - API C-Tip Selection On A Subset L-Groom This issue needs to be groomed

Comments

@GalRogozinski
Copy link
Contributor

Description

Make Get Transasctions To Approve faster by utilizing scores.
We will do a weighted random pick from the tip set according to the score.

Motivation

Super fast tip-select

Requirements

  1. Make the current (old) GTTA logic still accessible to compass
  2. Return two tips by performing a weighted random selection on the tip set.
  3. First returned tip should reference the last milestone, the other may or may not.

Open Questions (optional)

  1. For requirement 1, we can make a seperate API call that compass will use?
  2. For requirement 3, we can make a the second tip always be something that doesn't approve the last milestone to merge left behinds
@GalRogozinski GalRogozinski added C-API Component - API L-Groom This issue needs to be groomed C-Tip Selection On A Subset labels Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-API Component - API C-Tip Selection On A Subset L-Groom This issue needs to be groomed
Projects
None yet
Development

No branches or pull requests

1 participant