Skip to content

Investigate pool bootstrap and rebalancing behavior #102

@eike-hass

Description

@eike-hass
  • Effect on Gas Station operation during scheduled rebalancing
  • Analyze possible ways to improve performance of coin splits:
    • transaction batching into PTBs during follow-up coin splitting (when after an initial split into up to 2k coins these are broken down into more coins, each follow-up break down currently in a separate tx)
    • breaking coins into more or less exact target sizes, iterating until a single coin is used up
    • similar, but we could also check if we could improve performance by trying to split the coins more "intelligent", e.g.:
      • assuming that an example expected coin count is 4k
      • currently
        • we'd split them into 2000 coins, splitable again, into 2 coins each
        • that would be 1 initial split, plus 2k tx, so 2001 transactions
      • could we flip this, to
        • initially split them into 2 coins
        • then split these into 2000 coins each
        • and do the same as before in 3 transactions? (initial coin, then the 2 child coins)
      • my assumption is, that this would be difficult for a top-up, but might be possible for the initial split
    • collecting coins before breaking them down
    • maybe a combination of the current behavior and a new approach, depending on if we're in initial splitting phase or breaking down top-ups

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Product Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions